Skip to content

EVM/Node: fix eth_getLogs [address] parameter

Antonio Locascio requested to merge alocascio@evm-fix-getLogs-address into master

Context

Closes #6937 (closed)

The Ethereum JSON RPC spec https://ethereum.org/en/developers/docs/apis/json-rpc#eth_getlogs allows to specify a list of addresses for the eth_getLogs service. Up to now, we were only accepting one address as parameter. This MR fixes that.

Manually testing the MR

dune exec -- etherlink/tezt/tests/main.exe --file evm_rollup.ml get_logs --verbose

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

Merge request reports