execrpc: 0.3.21's two callers classified (igneum_getRecentBlocks gated, eth_getBalance safe)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
26574c32d0
commit
e78ace39bc
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ use std::time::Duration;
|
|||
/// Methods that index nothing on an empty exec state (read from the 0.3.17 node's rpc.rs): safe at any time.
|
||||
pub const SAFE_ON_EMPTY: &[&str] = &[
|
||||
"eth_chainId", "eth_blockNumber", "eth_syncing", "igneum_getExecStatus", "igneum_getProvingStatus", "igneum_getNodeInfo",
|
||||
// the engine's balance read (0.3.21): an account lookup at the latest state, nothing indexed by block number
|
||||
"eth_getBalance",
|
||||
];
|
||||
|
||||
/// Methods the app sends that resolve a block number, index or slice the record vector, or simulate at a block: held until
|
||||
|
|
@ -24,6 +26,8 @@ pub const GATED: &[&str] = &[
|
|||
"eth_getBlockByNumber", "igneum_getAssignedShards", "igneum_getProofRecords", "igneum_getSegmentRecords", "igneum_getSegmentStatement",
|
||||
"igneum_getProofBytes", "igneum_getSegmentProofBytes", "igneum_exportSegments", "igneum_submitProofRecord", "igneum_submitSegmentRecord",
|
||||
"igneum_getFinalityWeights",
|
||||
// 0.3.21's live page reads recent blocks by number through the same path (src/live.rs); held like the rest
|
||||
"igneum_getRecentBlocks",
|
||||
];
|
||||
|
||||
/// One JSON-RPC POST to 127.0.0.1:<evm_port> through curl (the engine carries no HTTP client); the body goes through a file
|
||||
|
|
|
|||
Loading…
Reference in a new issue