From a1b2988e9b6e94e6f7e6739cddc7592b6e4a5604 Mon Sep 17 00:00:00 2001 From: Sergej Date: Sat, 27 Apr 2024 18:56:50 +0200 Subject: [PATCH] tests working --- e2e_tests/governance.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e_tests/governance.js b/e2e_tests/governance.js index a0fc493e..015c036a 100644 --- a/e2e_tests/governance.js +++ b/e2e_tests/governance.js @@ -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 },