[go: up one dir, main page]

Etherlink/Node/Tx queue: abstract Ethereum types

This MR is stacked on !17777 (merged).

What

This MR abstracts in the Tx_queue module the following Ethereum-specific types: transaction_object, legacy_transaction_object, and address.

Why

To enable instantiating the Tx_queue module with Tezlink types, which is needed to integrate the Tx_queue with Tezlink.

How

  • First commit introduces a module interface where these three types are abstract and instantiates this interface with Ethereum types.
  • Second commit makes the Tx_queue module use this Etherlink instance
  • Third commit abstracts the Etherlink instance in the Tx_queue functors
  • Fourth commit modifies the Tx_container interface to abstract the three types (transaction_object, legacy_transaction_object, and address)

Manually testing the MR

This MR introduces no new feature.

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 Raphaël Cauderlier

Merge request reports

Loading