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: remove sign typed data #548

Merged
merged 2 commits into from
Aug 8, 2024
Merged

fix: remove sign typed data #548

merged 2 commits into from
Aug 8, 2024

Conversation

VGabriel45
Copy link
Collaborator

@VGabriel45 VGabriel45 commented Jul 29, 2024

Removing signTypedData as Biconomy Smart Account V2 is not compatible with ERC 712.
The assumption made at integration time of this feature was incorrect and can be confusing if not removed.


PR-Codex overview

This PR updates the codebase to remove the functionality of signing typed data in smart accounts and adds error handling for unsupported operations.

Detailed summary

  • Removed signing typed data functionality in smart accounts
  • Added error handling for unsupported signTypedData operations
  • Updated test cases to reflect changes in signing typed data operations

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

Copy link

size-limit report 📦

Path Size
core (esm) 54.95 KB (+0.04% 🔺)
core (cjs) 60.15 KB (+0.01% 🔺)
account (tree-shaking) 52.52 KB (+0.08% 🔺)
bundler (tree-shaking) 2.54 KB (0%)
paymaster (tree-shaking) 2.23 KB (0%)
modules (tree-shaking) 40.32 KB (0%)

@VGabriel45 VGabriel45 changed the title Fix/remove sign typed data fix: remove sign typed data Jul 29, 2024
this.isAccountDeployed(),
this.signTypedData(params)
])
throw new Error("signTypedDataWith6492 not supported")
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this commented out?
should we remove this method all together since it is custom name

@VGabriel45 VGabriel45 merged commit 41140a7 into develop Aug 8, 2024
6 of 9 checks passed
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.

3 participants