Skip to content

EIP-2718: Typed Transaction Envelope support#165

Merged
birchmd merged 2 commits intodevelopfrom
eip-2718-suport
Jun 29, 2021
Merged

EIP-2718: Typed Transaction Envelope support#165
birchmd merged 2 commits intodevelopfrom
eip-2718-suport

Conversation

@birchmd
Copy link
Copy Markdown
Member

@birchmd birchmd commented Jun 28, 2021

EIP-2718 is required for the Berlin HardFork.

Spec: https://eips.ethereum.org/EIPS/eip-2718

This change is pretty minimal because it doesn't specify any new transaction types, only the format that new types will use. For example, when we add EIP-2930 support then we will add a new variant to the EthTransaction enum introduced in this PR.

@birchmd birchmd added the C-enhancement Category: New feature or request label Jun 28, 2021
@birchmd birchmd requested review from artob, joshuajbouw and sept-en June 28, 2021 19:30
Copy link
Copy Markdown
Contributor

@sept-en sept-en left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread src/lib.rs Outdated
@joshuajbouw
Copy link
Copy Markdown
Contributor

joshuajbouw commented Jun 29, 2021

This can be improved, I think. I'll play around with it based on the idea that I had.

EDIT: Ah ok, I see then we can add the new tx type afterwards.

Copy link
Copy Markdown
Contributor

@joshuajbouw joshuajbouw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine, but from what I understand is that we would need a hard fork enum of some sort perhaps. If we push it in as now and it makes it into the engine, we need to change all tx if I'm not mistakened.

Perhaps a precursor PR is required that will link up other parts such as the precompiles.

Copy link
Copy Markdown
Contributor

@joshuajbouw joshuajbouw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is ok. Thanks for the clarification.

@birchmd birchmd merged commit 8ebcafc into develop Jun 29, 2021
@birchmd birchmd deleted the eip-2718-suport branch June 29, 2021 15:40
@joshuajbouw joshuajbouw mentioned this pull request Jul 7, 2021
4 tasks
artob added a commit that referenced this pull request Jul 8, 2021
* Fix scheduled nightly clippy. (#160)
* Always compile tests with the `mainnet` feature. (#162)
* Move eth-connector tests to under `src/tests`. (#164)
* EIP-2718: Support typed transaction envelopes. (#165)
* Remove deprecated EIP-712 prover implementation. (#168)
* ERC-20: Allow admin to change token metadata. (#171)

Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev>
Co-authored-by: Kirill <kirill@aurora.dev>
Co-authored-by: Michael Birch <michael@aurora.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: New feature or request P-high Pririoty: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants