Replies: 4 comments
-
Hey @piersy! Thanks for opening a conversation here. Do you mind sharing some more information about these transaction types? A few thoughts:
Curious to hear what you think |
Beta Was this translation helpful? Give feedback.
-
Hi @tynes, thanks for sharing your thoughts! These transaction types are transactions that allow users of the celo chain to pay for gas in currencies other than the base token. We have two transaction types that support this. They have types (124) and (123). Most importantly they add a field We are aware of the difficulty in garnering support for extra transactions in associated tooling, however the ability to pay gas in non native currencies was a feature that celo launched with and will need to be maintained in the move to the Op Stack. It seems to me that one of the main ways that L2's can differentiate themselves would be through the addition of new transaction types, the explosion of L2s coupled with the EIP-2718 typed transactions and the fact that some tooling (such as viem) is starting add support for additional features from non-eth chains makes me think that we'll see usage of custom transaction types accelerating as we move forward. We'll have to think more about the possibility of using AA, it would be a large undertaking but definitely has potential. The subtypes idea is interesting, we hadn't considered that! Thanks for the heads up on the near term plan regarding new OP Stack transaction types! We would also love to hear the perspectives of other teams building on the Op Stack. |
Beta Was this translation helpful? Give feedback.
-
Hey @piersy thanks for the follow up I don't see any particular problems with some transaction types being reserved for you. It would be an even easier yes if you used a subtyping scheme, then you can add an arbitrary number of types without needing to ask for additional coordination :) Can you clearly state which version bytes you would like? If you are deprecating a type, then is there a need to reserve that one? You haven't gone to mainnet yet correct? I highly recommend checking out coinbase smart wallet - the 4337 infrastructure is getting good and it should be possible to allow arbitrary |
Beta Was this translation helpful? Give feedback.
-
Related to this, we should also watch https://github.com/ethereum/EIPs/pull/9020/files |
Beta Was this translation helpful? Give feedback.
-
This is a discussion to help coordinate an approach for managing the EIP-2718 transaction type space such that conflicts in transaction types between Ethereum, Optimism and OP Stack chains are minimized.
cLabs is currently looking into how they can transition the existing Celo L1 to be an L2 built on the Op Stack.
We noticed that the op stack adds an extra transaction type, the deposit transaction with type value 0x7e (126). It seems likely (based on EIP-2718 ) that Optimism will work backward from there for extra transaction types, so the next transaction would have type 125.
On the celo chain we started adding new types at 124 and are working backwards, currently we have extra transactions with types 123 & 124.
If op were to add 2 more new transactions we'd end up with a clash at type 124. So it would be great if we could co-ordinate a "safe" space for Op stack based chains to use for their own custom transaction types so that we don't run into any clashes.
An initial suggestion would be to assume that Ethereum would continue to work up from 3 and that Optimism would continue to work down from 126 so Op Stack chains could start in the middle at 64 and work outwards (e.g. 65, 63, 66, 62 ... etc). Alternatively a safe range could be defined, but it might be difficult to guarantee the safety of the range, so still could make sense to start in the middle and work outward.
Beta Was this translation helpful? Give feedback.
All reactions