Blocks
+State commitment
+Block states are not committed in a Merke-Patricia trie or a similar tree-like structure. Block roots are therefore set to 0.
Genesis block
By default, Devnet starts with a genesis block labelled with number zero. In forking mode, the genesis block number is equal to the forked block number plus one.
Limits
@@ -51,6 +53,6 @@Request
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_abortBlocks",
"params": {
"starting_block_id": BLOCK_ID
}
}
JSON-RPC
{
"jsonrpc": "2.0",
"id": "1",
"method": "devnet_abortBlocks",
"params": {
"starting_block_id": BLOCK_ID
}
}
Response:
{
"aborted": [BLOCK_HASH_0, BLOCK_HASH_1, ...]
}
Note: When aborting block with tag pending
, block is mined and aborted as latest.