viem icon indicating copy to clipboard operation
viem copied to clipboard

Remove CIP-42 support

Open shazarre opened this issue 2 months ago • 3 comments

This PR removes deprecated CIP-42 transaction type support for Celo in favour of CIP-64.

It still keeps functionality to parse and format existing CIP-42 transactions that can be retrieved directly from the blockchain.


PR-Codex overview

This PR removes support for CIP-42 and treats all transactions with a feeCurrency field as CIP-64.

Detailed summary

  • Removed CIP-42 support
  • Transactions with feeCurrency are treated as CIP-64
  • Updated transaction types and formatters

The following files were skipped due to too many changes: src/celo/types.ts, src/celo/parsers.test.ts, src/celo/getTransaction.test.ts, src/celo/formatters.test.ts, src/celo/serializers.test.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

shazarre avatar Apr 26 '24 08:04 shazarre