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

fix: use erc6492 lib and remove dedicated ERC-1271 verification logic #80

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

chris13524
Copy link
Member

@chris13524 chris13524 commented Apr 28, 2024

Description

Refactors the ERC-6492 and ERC-1271 logic into the dedicated erc6492 library. Removes all the Foundry logic and unnecessary dependencies.

EOA verification remains as it was already written and it saves on an RPC request. This dedicated case likely only works due to old SDK versions who didn't support ERC-6492 anyway.

Also updates GetProvider to accept a Provider rather than a Url. Updates BlockchainApiProvider to re-use the reqwest client for all invocations.

Remaining work:

  • Remove default cacao feature

How Has This Been Tested?

Existing tests

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@chris13524 chris13524 self-assigned this Apr 28, 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.

2 participants