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(contracts): add selectors to error file and update erc20 unimplemented #505

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

koloz193
Copy link
Contributor

@koloz193 koloz193 commented Jun 4, 2024

What ❔

remove custom errors from unimplemented l2 erc 20 implementation and add selectors to custom error files

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@koloz193 koloz193 changed the base branch from dev to protocol-defense June 7, 2024 18:08
@@ -1,20 +1,35 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

// 0xcbd9d2e0
Copy link
Member

Choose a reason for hiding this comment

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

I don't see value in hardcoding it, how to check that is indeed a correct one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hardcoding just allows devs to quickly grep through the code and check when doing local dev

@koloz193 koloz193 merged commit c01f69e into protocol-defense Jun 10, 2024
21 checks passed
@koloz193 koloz193 deleted the zk-l2-sys-solhint branch June 10, 2024 01:20
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