You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should do this some time after we have migrated all celo chains to be L2s.
In celo_transaction_marshaling.go the function celoTransactionUnmarshal has the following code, we simply need to replace if dec.EthCompatible == nil || *dec.EthCompatible == true { with if dec.EthCompatible == nil {
funcceloTransactionUnmarshal(dectxJSON, inner*TxData) (bool, error) {
switchdec.Type {
caseLegacyTxType:
// EthCompatible is only set to false for celo legacy transactions in the op-geth codebase, otherwise its not// set. So not set means it is ethCompatible. However in order to support correct unmarshaling of a celo legacy// transaction, retrieved from a celo node (for the purposes of running our api compatibility test) we also need to// handle the case where EthCompatible is set to true. ifdec.EthCompatible==nil||*dec.EthCompatible==true {
returnfalse, nil
}