[go: up one dir, main page]

EVM: produce and read transaction object

Context

Closes #5617 (closed)

When you deploy a smart contract on remix, it uses the RPC getTransactionByHash so we need to support it with real values.

The implementation I've made in this merge request is quiet stupid, mainly because this code should not exist in the kernel. It should be handled by the EVM node when it's ready.

Manually testing the MR

It lacks of unit tests for sure, but you can play with https://remix.ethereum.org and deploy your own contract.

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 Valentin Chaboche

Merge request reports

Loading