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

feat: publicActionsL1 decorator for zkSync #2190

Merged
merged 20 commits into from
May 20, 2024

Conversation

kiriyaga-txfusion
Copy link
Contributor

@kiriyaga-txfusion kiriyaga-txfusion commented Apr 26, 2024

PR-Codex overview

This PR focuses on adding functionalities related to L1 public actions in the zkSync Extension.

Detailed summary

  • Added publicActionsL1 suite for L1 public actions.
  • Introduced TokenIsEthError class for token validation.
  • Implemented getL1Allowance and getL1TokenBalance functions for L1 token operations.
  • Updated getRawBlockTransaction to getRawBlockTransactions.
  • Updated getL1TokenBalance to handle ETH token validation.
  • Updated documentation for getL1TokenBalance.

The following files were skipped due to too many changes: site/pages/zksync/actions/getL1TokenBalance.md, src/zksync/actions/getL1Balance.ts, src/zksync/decorators/publicL1.test.ts, site/pages/zksync/actions/getL1Balance.md, site/pages/zksync/actions/getL1Allowance.md, src/zksync/actions/getL1Allowance.test.ts, src/zksync/actions/getL1Balance.test.ts, src/zksync/actions/getL1TokenBalance.test.ts, site/sidebar.ts, src/zksync/decorators/publicL2.ts, src/zksync/decorators/publicL1.ts

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

Copy link

changeset-bot bot commented Apr 26, 2024

🦋 Changeset detected

Latest commit: cf85fcb

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

This PR includes changesets to release 1 package
Name Type
viem Minor

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

Copy link

vercel bot commented Apr 26, 2024

@kiriyaga is attempting to deploy a commit to the wevm Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this change

@jxom jxom force-pushed the main branch 2 times, most recently from f4447d7 to 1a0731f Compare May 8, 2024 01:51
@jxom jxom merged commit 698f922 into wevm:main May 20, 2024
6 of 14 checks passed
@jxom jxom deleted the kiriyaga-txfusion-publicl1-decorator-zksync branch May 20, 2024 00:53
@github-actions github-actions bot mentioned this pull request May 20, 2024
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.

None yet

5 participants