-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map home dir of validator from host machine to container instead of l…
…et the data inside container + Sample of proposal (#26) * add sample gov proposal to change min gov proposal deposit amt * Mapping home dir of each validator to their own container (#25)
- Loading branch information
1 parent
da0de44
commit d119949
Showing
10 changed files
with
112 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
blockchain-in-docker/gov-sample-proposals/evmos/1-gov_min_deposit_change.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"title": "Decrease the minimum deposit amount for governance proposals and maximum deposit period", | ||
"description": "If successful, this parameter-change governance proposal that will change the minimum deposit from 64 EVMOS to 100000 aevmos and max deposit period changes from 14 days to 7 days", | ||
"changes": [ | ||
{ | ||
"subspace": "gov", | ||
"key": "depositparams", | ||
"value": { | ||
"min_deposit": [ | ||
{ | ||
"denom": "aevmos", | ||
"amount": "100000" | ||
} | ||
], | ||
"max_deposit_period": "604800000000000" | ||
} | ||
} | ||
], | ||
"deposit": "65000000000000000000aevmos" | ||
} |
41 changes: 41 additions & 0 deletions
41
blockchain-in-docker/gov-sample-proposals/evmos/1-sample.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
### Decrease the minimum deposit amount for governance proposals and maximum deposit period | ||
#### If successful, this parameter-change governance proposal that will change the minimum deposit from 64 EVMOS to 100000 aevmos and max deposit period changes from 14 days to 7 days | ||
1. Remote into container and move to sample directory | ||
> docker exec -it vtevmos20 bash | ||
> cd /gov-sample-proposals/evmos/ | ||
2. Submit proposal | ||
> evmosd tx gov submit-proposal param-change "./1-gov_min_deposit_change.json" --from val1 --node tcp://127.0.0.1:26657 --home /.evmosd2 --gas 300000 | ||
3. Vote | ||
> docker exec -it vtevmos20 bash | ||
> evmosd tx gov vote `[proposal id eg 1]` yes --gas auto --from val1 --home /.evmosd2 | ||
> docker exec -it vtevmos21 bash | ||
> evmosd tx gov vote `[proposal id eg 1]` yes --gas auto --from val2 --home /.evmosd2 | ||
> docker exec -it vtevmos22 bash | ||
> evmosd tx gov vote `[proposal id eg 1]` yes --gas auto --from val3 --home /.evmosd2 | ||
4. Result: | ||
- Previous: | ||
> evmosd q params subspace gov depositparams --chain-id evmos_9007-1 --node tcp://127.0.0.1:36657 | ||
> key: depositparams | ||
> subspace: gov | ||
> value: '{"min_deposit":[{"denom":"aevmos","amount":"64000000000000000000"}],"max_deposit_period":"172800000000000"}' | ||
- Later: | ||
> evmosd q params subspace gov depositparams --chain-id evmos_9007-1 --node tcp://127.0.0.1:36657 | ||
> key: depositparams | ||
> subspace: gov | ||
> value: '{"min_deposit":[{"denom":"aevmos","amount":"100000"}],"max_deposit_period":"604800000000000"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters