Open karlb opened 6 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
The basic plan is:
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?
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...
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.