inkdevhub / swanky-cli

The all-in-one developer environment for Parity pallet-contracts based smart contracts!
https://docs.astar.network/docs/build/wasm/swanky-suite/cli/
MIT License
70 stars 29 forks source link

Block number manipulation #155

Open shunsukew opened 1 year ago

shunsukew commented 1 year ago

Overview (What and Why)

Part of https://github.com/AstarNetwork/swanky-node/issues/49

swanky-node has manual block sealing feature via RPC engine_createBlock and engine_finalizeBlock. Allowing users to forward/finalize blocks manually using swanky-cli command or library inside a script. Similar to what hardhat has https://hardhat.org/hardhat-network-helpers/docs/reference#mine([blocks],-[options]).

How

{Describe what needs to be done.}

Definition of Done

{Write definition of done, how to verify}

Open Issues and Blockers

{Dependencies issue or PR or some other blocker.}