[go: up one dir, main page]

EVM Node: Generalize the `--finalized-view` CLI argument

In a previous episode, we’ve added --finalized-view to the proxy mode to provide a lightweight node whose main purpose would be to only expose to its users the “finalized” block of an Etherlink instance.

With this changeset, we generalize this mode to make it work with all the EVM node modes. In such a mode and as far as RPC are concerned, the latest block parameter becomes a synonym for finalized. We deprecate the previous option, add a warning to make it clear it will be removed in a future release, and we update the existing test.

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.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Thomas Letan

Merge request reports

Loading