Skip to content
This repository was archived by the owner on Aug 20, 2022. It is now read-only.

core: remove deposit-tx sub-type (a.k.a. deposit version byte)#33

Merged
protolambda merged 1 commit intooptimism-prototypefrom
rm-deposit-version-byte
Jul 15, 2022
Merged

core: remove deposit-tx sub-type (a.k.a. deposit version byte)#33
protolambda merged 1 commit intooptimism-prototypefrom
rm-deposit-version-byte

Conversation

@protolambda
Copy link
Contributor

This removes the deposit tx sub-byte, in favor of reduced diff, higher compatibility with the expectation of 1 byte + RLP, and no RPC/receipt/tx changes.

If we have to extend the deposit tx with new data we can do so either by adding an optional RLP field, or with a new regular tx type. And deposit behavior can already be hardforked by modifying the rollup-node that creates the tx, or hardforking the geth processing code.

@tynes
Copy link

tynes commented Jul 14, 2022

PR in the monorepo: ethereum-optimism/optimism#3036
For JS + solidity. This should be merged at the same time

@protolambda protolambda merged commit d8e6997 into optimism-prototype Jul 15, 2022
@protolambda protolambda deleted the rm-deposit-version-byte branch July 16, 2022 00:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants