celo-org / op-geth

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Plan CIP-64 to CIP-66 switch #112

Open karlb opened 6 months ago

karlb commented 6 months ago
aaronmgdr commented 5 months ago

ah i have been assuming that 66 will be supported from day 1 on cel2. if not we need to re do how we are implementing rpc caller libraries

karlb commented 4 months ago

The basic plan is:

karlb commented 3 months ago

When will client libraries start using CIP-66? How do they know when it is supported by the blockchain client?

Suggestion: client libraries will default to CIP-64 for now and provide a way to explicitly request CIP-66 txs. Once CIP-66 is available on all Celo networks, new releases of client libraries will default to using CIP-66.

Does that sound good @aaronmgdr?

aaronmgdr commented 3 months ago

to be honest because of the new field im not sure if we will be able to get all libraries to default to 66. specifically viem. because while they do have a custom fees modules, it only is for calculating maxFeePerGas maxPriorityFeePerGas. they would need the function to be allowed to return arbitrary fields / data which they might do but you know...

karlb commented 3 months ago

That's a good point. Then let's only settle on the "client libraries will default to CIP-64 for now and provide a way to explicitly request CIP-66 txs." part now and investigate the other questions later as part of this issue.