EVM/Proxy: implement the `txpool_content` RPC
Context
txpool is basically Geth mempool. This MR implements the encoding and the RPC. I suggest to have a look at https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool to understand the encoding itself (it is also documented).
This txpool RPC will be used in the future for the delayed inbox.
Manually testing the MR
The content of the txpool is not relevant for now, but I've added a test that checks the format of the RPC:
dune exec tezt/tests/main.exe -- --file evm_rollup.ml --match "txpool"
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
Edited by Pierrick Couderc