No JSON/RPC endpoint exists to determine which EVM version a permissioned chain is using
matthew1001 opened this issue · comments
Description
The admin_nodeInfo
JSON/RPC method returns the configuration of a node which includes its fork schedule, but you have to manually derive which schedule is in use by correlating it with the chain's block height and/or timestamp.
It would be useful to have a JSON/RPC method that returned the EVM version in use for the latest
block.
One additional enhancement would be the ability to specify a block number and get back the EVM version in use at that block height, but the use-case for that is less clear than for latest
Acceptance Criteria
A JSON/RPC method exists to determine the EVM version in use on the current/latest block height.