Skip to content

Commit

Permalink
Fixes Chopsticks Block Produciton Syntax (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertov19 authored Nov 29, 2023
1 parent fefce98 commit f3991e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/fast-execute-chopstick-proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const main = async () => {
(await api.rpc.chain.getHeader()).number.toNumber() + 1
)}`
);
await api.rpc("dev_newBlock", 1);
await api.rpc("dev_newBlock", { count: 1 });

// Fast forward the scheduled proposal
console.log(
Expand All @@ -214,7 +214,7 @@ const main = async () => {
(await api.rpc.chain.getHeader()).number.toNumber() + 1
)}`
);
await api.rpc("dev_newBlock", 1);
await api.rpc("dev_newBlock", { count: 1 });
await api.disconnect();
process.exit(0);
};
Expand Down

0 comments on commit f3991e1

Please sign in to comment.