Skip to content

Commit

Permalink
more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Jan 31, 2024
1 parent 85b71bd commit bc92e84
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions tests/e2e/gov/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,41 @@ func (s *E2ETestSuite) TestCmdParams() {
{
"json output",
[]string{fmt.Sprintf("--%s=json", flags.FlagOutput)},
`{"voting_params":{"voting_period":"172800s"},"deposit_params":{"min_deposit":[{"denom":"stake","amount":"10000000"}],"max_deposit_period":"172800s"},"tally_params":{"quorum":"0.334000000000000000","threshold":"0.500000000000000000","veto_threshold":"0.334000000000000000"},"params":{"min_deposit":[{"denom":"stake","amount":"10000000"}],"max_deposit_period":"172800s","voting_period":"172800s","quorum":"0.334000000000000000","threshold":"0.500000000000000000","veto_threshold":"0.334000000000000000","min_initial_deposit_ratio":"0.000000000000000000","proposal_cancel_ratio":"0.500000000000000000","proposal_cancel_dest":"","expedited_voting_period":"86400s","expedited_threshold":"0.667000000000000000","expedited_min_deposit":[{"denom":"stake","amount":"50000000"}]}}`,
`{\"voting_params\":{\"voting_period\":\"172800s\"},\"deposit_params\":{\"min_deposit\":[{\"denom\":\"stake\",\"amount\":\"10000000\"}],\"max_deposit_period\":\"172800s\"},\"tally_params\":{\"quorum\":\"0.334000000000000000\",\"threshold\":\"0.500000000000000000\",\"veto_threshold\":\"0.334000000000000000\"},\"params\":{\"min_deposit\":[{\"denom\":\"stake\",\"amount\":\"10000000\"}],\"max_deposit_period\":\"172800s\",\"voting_period\":\"172800s\",\"quorum\":\"0.334000000000000000\",\"threshold\":\"0.500000000000000000\",\"veto_threshold\":\"0.334000000000000000\",\"min_initial_deposit_ratio\":\"0.000000000000000000\",\"expedited_voting_period\":\"86400s\",\"expedited_threshold\":\"0.667000000000000000\",\"expedited_min_deposit\":[{\"denom\":\"stake\",\"amount\":\"50000000\"}],\"burn_vote_quorum\":false,\"burn_proposal_deposit_prevote\":false,\"burn_vote_veto\":true}}`,
},
{
"text output",
[]string{},
`
deposit_params:
max_deposit_period: 172800s
min_deposit:
- amount: "10000000"
denom: stake
max_deposit_period: 172800s
min_deposit:
- amount: "10000000"
denom: stake
params:
expedited_min_deposit:
- amount: "50000000"
denom: stake
expedited_threshold: "0.667000000000000000"
expedited_voting_period: 86400s
max_deposit_period: 172800s
min_deposit:
- amount: "10000000"
denom: stake
min_initial_deposit_ratio: "0.000000000000000000"
quorum: "0.334000000000000000"
threshold: "0.500000000000000000"
veto_threshold: "0.334000000000000000"
voting_period: 172800s
burn_proposal_deposit_prevote: false
burn_vote_quorum: false
burn_vote_veto: true
expedited_min_deposit:
- amount: "50000000"
denom: stake
expedited_threshold: "0.667000000000000000"
expedited_voting_period: 86400s
max_deposit_period: 172800s
min_deposit:
- amount: "10000000"
denom: stake
min_initial_deposit_ratio: "0.000000000000000000"
quorum: "0.334000000000000000"
threshold: "0.500000000000000000"
veto_threshold: "0.334000000000000000"
voting_period: 172800s
tally_params:
quorum: "0.334000000000000000"
threshold: "0.500000000000000000"
veto_threshold: "0.334000000000000000"
quorum: "0.334000000000000000"
threshold: "0.500000000000000000"
veto_threshold: "0.334000000000000000"
voting_params:
voting_period: 172800s
voting_period: 172800s
`,
},
}
Expand Down

0 comments on commit bc92e84

Please sign in to comment.