Major Changes
- #239
66972eb
Thanks @nicolasbrugneaux! - Remove support for celo-legacy and cip42 transaction serialization and signing. These were the transaction types that supported gatewayFee. Transactions that specify feeCurrency and gasPrice togther will now throw. Users should migrate these to either ethereum type 0, eip1559 and cip64 style transactions depending on their need.
Minor Changes
-
#264
59f4b42
Thanks @nicolasbrugneaux! - Add support for serializing, sending, parsing and deserializing cip66 transactions. This tx type is preffered over cip64 when paying for gas with tokens. Like eip1559 maxFeePerGass and maxPriorityFeePerGas are denominated in CELO. To create an cip66 transaction with Contractkit call thekit.populateMaxFeeInToken
method with your transaction and then send it. -
#235
7b93642
Thanks @shazarre! - Adds isCel2 util function to check for L1/L2 context
Patch Changes
-
#266
182bf73
Thanks @aaronmgdr! - signTypedData now defaults to eth_signTypedDataV4 pass null for the previous behavior. this is due to v4 being the recommended way to use signTypedData and the only version supported by anvil. -
Updated dependencies [
38b2631
,38b2631
]:- @celo/[email protected]
- @celo/[email protected]