Skip to content

Commit

Permalink
tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Apr 27, 2024
1 parent 9584d1a commit a1b2988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e_tests/governance.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ async function run(nodeName, networkInfo, _jsArgs) {
);
await submitExtrinsic(anna, submitProposal, {});

const placeDeposit = api.tx.referenda.placeDecisionDeposit(1);
const placeDeposit = api.tx.referenda.placeDecisionDeposit(0);
await submitExtrinsic(anna, placeDeposit, {});

const voteCall = api.tx.convictionVoting.vote(1, {
const voteCall = api.tx.convictionVoting.vote(0, {
// Voting with relay chain tokens. We know this is true; otherwise, this call
// would fail, given that Anna doesn't have 10^16 RegionX tokens.
Standard: { vote: { aye: true, conviction: "None" }, balance: 10n ** 16n },
Expand Down

0 comments on commit a1b2988

Please sign in to comment.