Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to parse celo specific tx type #1035

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

aaronmgdr
Copy link
Contributor

@aaronmgdr aaronmgdr commented Aug 18, 2023

add parseTransactionCelo for parsing out serialized transaction types specific to celo chain.

replaces #897


PR-Codex overview

Detailed summary

  • Added parseTransactionCelo function to the viem/chains/utils entrypoint.
  • Exported parseTransactionCelo function from src/chains/utils.ts.
  • Added toTransactionArray and parseAccessList functions to src/utils/transaction/parseTransaction.ts.
  • Updated serializeTransactionCelo function in src/chains/celo/serializers.ts.
  • Added assertTransactionCIP42 function to src/chains/celo/serializers.ts.
  • Added parseTransactionCelo function to src/chains/celo/parsers.ts.
  • Updated type definitions in src/chains/celo/types.ts.

The following files were skipped due to too many changes: src/chains/celo/parsers.ts, src/chains/celo/parsers.test.ts

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

@vercel
Copy link

vercel bot commented Aug 18, 2023

Someone is attempting to deploy a commit to the wagmi Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link

changeset-bot bot commented Aug 18, 2023

🦋 Changeset detected

Latest commit: 3bf85d6

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aaronmgdr
Copy link
Contributor Author

test failure appears to be from a public rpc node being rate limted

@jxom jxom merged commit 7981fa9 into wevm:main Aug 21, 2023
5 of 13 checks passed
@jxom jxom deleted the aaronmgdr/cip42-parsing branch August 21, 2023 03:32
@github-actions github-actions bot mentioned this pull request Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants