-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/eip 7702 #1262
base: v2
Are you sure you want to change the base?
Feature/eip 7702 #1262
Conversation
… and verifyMessage
…7702 main.ts implementation
…n into feature/eip-7702
…which doesn't; a function to check whether the user has authrorized a network
…ate; bettet detection for 7702
@@ -33,6 +33,7 @@ | |||
"bip44-constants": "^128.0.0", | |||
"ethereumjs-util": "^7.1.3", | |||
"react": "^18.1.0", | |||
"secp256k1": "^5.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this package is used in ambire-common (src/libs/keystoreSigner/keystoreSigner.ts), shouldn't we put this package as a "dependency" here? And then - the extension should not have this package installed separately?
canSwitch(bundlerError: Error | null): boolean { | ||
canSwitch(acc: Account, bundlerError: Error | null): boolean { | ||
// no fallbacks for EOAs | ||
if (!acc.creation) return false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe isBasicAccount(acc, state)
?
So far so good 👏 |
…de properties correct if 7702 eoa (no state override needed there); fix nonce in account state for 7702 eoas
…n into feature/eip-7702
Everything necessary to enable eip-7702