Skip to content

Commit

Permalink
Merge pull request #1889 from lavanet/PRT-fix-eth-trace-archive
Browse files Browse the repository at this point in the history
fix: PRT - Fix ETH trace archive
  • Loading branch information
Yaroms authored Jan 6, 2025
2 parents 5e34c4a + e51b0a0 commit 5431ee0
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion specs/mainnet-1/specs/ethereum.json
Original file line number Diff line number Diff line change
Expand Up @@ -1693,9 +1693,42 @@
"expected_value": "*"
}
]
},
{
"name": "pruning",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBlockByNumber\",\"params\":[\"earliest\", false],\"id\":1}",
"function_tag": "VERIFICATION",
"result_parsing": {
"parser_arg": [
"0",
"number"
],
"parser_func": "PARSE_CANONICAL",
"encoding": "hex"
},
"api_name": "eth_getBlockByNumber"
},
"values": [
{
"latest_distance": 6646
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
],
"extensions": []
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 6554
}
}
]
}
]
},
Expand Down

0 comments on commit 5431ee0

Please sign in to comment.