anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy

Home Page:https://namada.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to submit a proposal

aarambh-audits opened this issue · comments

I tried submitted a proposal and it didn't work. Kindly check

root@vmi1485350:~# namadac init-proposal --pgf-stewards --data-path proposal.json --memo tpknam1qq3cendjxrrshv4uphgw4ncgm90h4tl4pjf599qqtsmn5xp3xq3e5af4mgx --node https://namada.acethelight.xyz
Last committed epoch: 84
Error: 
   0: Failed to deserialize the proposal data: Error decoding from Bech32m: missing human-readable separator, "1" at line 14 column 37
   1: Failed to deserialize the proposal data: Error decoding from Bech32m: missing human-readable separator, "1" at line 14 column 37

Location:
   /root/namada/crates/apps/src/lib/cli/client.rs:178

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
commented

this is not a bug
check your JSON file you made some mistakes there
the error saying itself missing human-readable separator,

Please check my json @zaki9501 @brentstone

{
    "proposal" :{
        "id": 1,
        "content": {
            "title": "Stewie for Steward 2024",
            "authors": "stewie@heliax.dev",
            "discussions-to": "forum.namada.net/t/stewies-manifesto/1",
            "created": "2024-01-01T00:00:01Z",
            "license": "MIT",
            "abstract": "Stewie is running for steward, with a focus on technical research. The technical research I will be focused on will definitely not be for weapons of mass destruction. There is some possibility however that I may be focusing somewhat on open source software for weapons of mass destruction.",
            "motivation": "Nobody knows technical research better than me. Trust me. I know it. I have the best technical research. I will be the best steward. Last night, Namada called me and said, Stewie, thank you. I will make public goods funding great again",
            "details": "As a genius baby, I possess an unmatched level of intelligence and a visionary mindset. I will utilize these qualities to solve the most complex problems, and direct public goods funding towards weapons of mass destruction ... i mean open source software for weapons of mass destruction"
        },
        "author": "stewie",
        "voting_start_epoch": 86,
        "voting_end_epoch": 96,
        "grace_epoch": 100
    },
    "data" : {
        "add" : "tpknam1qq3cendjxrrshv4uphgw4ncgm90h4tl4pjf599qqtsmn5xp3xq3e5af4mgx",
        "remove": []
    }
}

I'm getting the below error

Last committed epoch: 90
Error: 
   0: Failed to deserialize the proposal data: Error decoding from Bech32m: invalid length at line 14 column 26
   1: Failed to deserialize the proposal data: Error decoding from Bech32m: invalid length at line 14 column 26

Location:
   /root/namada/crates/apps/src/lib/cli/client.rs:178

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.