Skip to content

Commit

Permalink
example for offline proposal added
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtlofgren committed Feb 9, 2024
1 parent a50b815 commit 104b65f
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion packages/docs/pages/users/governance/off-chain-governance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,29 @@ If for any reason issuing an on-chain proposal is not adequate to your needs, yo

## Create proposal

Create the same json file as in the on-chain proposal and use the following command:
### The proposal file

For offline proposals, the structure of the `proposal.json` file is as follows:

```json
"content": {
"title": "<Title>",
"authors": "<email>",
"discussions-to": "<forum-link>",
"created": "<Timestamp in format YYYY-MM-DDTHH:MM:SSZ>",
"license": "<Licences>",
"abstract": "<Abstract>",
"motivation": "<Motivation>",
"details": "<Details>",
"requires": "<preceding-proposal-id-that-must-pass>",
},
"author": "<author-address>",
"tally_epoch": 1337,
```

<Callout>
The `tally_epoch` is the block height at which the tally will be computed. This is any integer after the current epoch.
</Callout>

```shell copy
namada client init-proposal \
Expand Down

0 comments on commit 104b65f

Please sign in to comment.