EVM Node: Fix the `octez_evm_node_head` metrics for the RPC node
Prior the this changeset, the metrics is only set in the apply_blueprint
routine, something the RPC mode never calls. We propose to add it to the main
event loop of the RPC mode as well. We don’t fix its companion
octez_evm_node_confirmed_head for now, as it’s less interesting for the RPC
mode (it does not influence the behavior of the RPC mode).
Manually testing the MR
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR