-
Notifications
You must be signed in to change notification settings - Fork 196
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(protocol-kit): Add deployment functionality to Safe class + Viem #948
Closed
Closed
Changes from all commits
Commits
Show all changes
209 commits
Select commit
Hold shift + click to select a range
061321e
Add passkey support
DaniSomoza 55e24a6
update createAddOwnerTx to receive passkey param
DaniSomoza 6702b3d
fix init issue in relay-kit
DaniSomoza a74b809
fix issue in BaseContract
DaniSomoza 33fd454
PasskeyArgType type as Uppercase
DaniSomoza d20dc53
remove Safe Proxy Factory mentions in the SafeWebAuthnSignerFactoryCo…
DaniSomoza dac782f
fix getSafeWebAuthnSignerFactoryContract params
DaniSomoza f1ef57e
remove left-hand side condition
DaniSomoza a61e70c
Add support for passkeys to 4337
DaniSomoza a547b98
verificationGasLimit adjustment
DaniSomoza b2ac8df
Added createSafeProvider util function
DaniSomoza eff8ab5
added createSafeProvider in relay-kit
DaniSomoza 3d524ef
use createSafeProvider in SafeFactory
DaniSomoza 3aa0fdd
feat(protocol-kit): Tests for passkey (#838)
tmjssz 06cdedf
fix isTypedDataSigner to return false if it is passkey signer
DaniSomoza f3cf8ab
Merge branch 'passkey-support' into passkey-4337-support
DaniSomoza 694488b
refactor createSafeProvider into a static async init method in SafePr…
DaniSomoza 94cb8a0
flatten signingMethod ifs
DaniSomoza dd0dddc
removed getSafeWebAuthnSignerFactoryContract from Contract Manager
DaniSomoza 625b668
Merge branch 'development' into passkey-support
DaniSomoza 801f8f2
fix types in SafeFactory signer param
DaniSomoza 7ba2e47
updated docs
DaniSomoza 378c03e
Add FIXME comment to use the production deployment packages instead o…
DaniSomoza 70e09af
Add Passkeys as an experimental feature only available on the Sepolia…
DaniSomoza 4977cf6
Merge pull request #841 from safe-global/passkey-4337-support
dasanra 2e284eb
Set alpha.0 version
dasanra 7d58f60
add version compatibility check for passkeys
DaniSomoza 200c6b2
Merge branch 'development' into passkey-support
dasanra a4a45de
Merge branch 'development' into passkey-support
dasanra 6cbd3f6
feat(protocol-kit): Restrict passkeys tests according to safe version…
leonardotc d5f32ec
feat(relay-kit): add dummy signature as a passkey signature (#857)
DaniSomoza 61a1280
feat(relay-kit): Tests for using passkey with 4337 (#846)
tmjssz 102c3b6
Update passkey type (#859)
DaniSomoza 9ff82fc
Set alpha.1 version
dasanra a51e837
feat(protocol-kit): Tests for swap and remove passkey owners (#861)
leonardotc 22354d2
relay-kit: Add viem dependency
tmjssz 2666171
relay-kit: Migrate 4337 related components to viem
tmjssz b3d329e
playground: Use `generateTransferCallData` function from relay-kit in…
tmjssz e2be4ea
relay-kit: Fix hex string conversion for nonce
tmjssz 6a5278c
relay-kit: Migrate 4337 bundler client to viem
tmjssz c040317
relay-kit: Remove `ethers` dependency
tmjssz 7e0bd8e
fix(api-kit): Adjust e1e tests to 4337 bundler client changes
tmjssz e693167
fix(api-kit): e2e test
tmjssz 92a62b7
Revert uses of `Hash`, `Hex` + `Address` types from viem in interfaces
tmjssz f554a93
api-kit: Migrate `signDelegate` to viem
tmjssz d008d4f
auth-kit: Migrate to viem
tmjssz 56b294c
auth-kit: Rename file to `jest.setup.ts`
tmjssz da2b096
onramp-kit: Migrate to viem
tmjssz 7704121
api-kit: Use WalletClient type with local account for `signDelegate` …
tmjssz bc494f5
api-kit: Improve Safe Delegates response types
tmjssz 563ccce
api-kit: Fix `getSafeDelegates` e2e tests
tmjssz 3dd6595
[Passkeys] Detect Shared Signer owner (#875)
DaniSomoza ee039ec
Merge branch 'development' into feat/viem-migration
tmjssz f1fc1f0
Merge branch 'development' into feat/viem-migration
tmjssz 5129709
PR fixes
leonardotc 8d32d23
remove SafeFactory
DaniSomoza 1b91381
Merge branch 'development' into passkey-support
dasanra 64cd846
Merge branch 'development' into passkey-support
dasanra 1ba3833
add getSafeAddressFromDeploymentTx util fn
DaniSomoza d89831c
remove throw in getAddress
DaniSomoza 8fbbded
Fix `safe-kit` reconnections
dasanra d214e9e
Add getProxyCreationEvent util fn
DaniSomoza 2d56a2a
Add comment for TextEncoder polyfill
tmjssz 8af26ef
Feat/viem migration tests (#894)
leonardotc de3ccc8
Fix onramp kit
leonardotc 82d4512
Fix build
leonardotc 4d91289
Api kit fixes
leonardotc 4320cfa
Fix import
leonardotc 65bda3a
Remove heap-size parameter
leonardotc e95fc3c
Remove ethers from onramp kit
leonardotc 1fcc9eb
Add comment on global polyfill
leonardotc 435ae4d
Change encode type conversion
leonardotc 57f7219
Merge remote-tracking branch 'origin/development' into feat/viem-migr…
leonardotc 6bc1f12
Fix build after merge
leonardotc ade9077
Merge remote-tracking branch 'origin/development' into feat/viem-migr…
leonardotc 330f05c
api-kit: Move `viem` from devDependencies to dependencies
tmjssz eaca089
api-kit: Add `ethers` to devDependencies because it's still needed fo…
tmjssz ed70a38
api-kit: Fix import
tmjssz 65127b4
api-kit: Fix tests for `addSafeOperation`
tmjssz 4ff0dd8
api-kit: Fix e2e tests for `addSafeOperation`
tmjssz 096ac25
api-kit: Add `@safe-global/relay-kit` to devDependencies because it's…
tmjssz a570ceb
api-kit: Fix `BrowserProvider` import
tmjssz f7cc1cd
Fix transaction encode test
leonardotc 78979ed
Changed paymasterAndData
leonardotc 9ae5384
Remove only on tests
leonardotc ec89e7a
api-kit: Fix `confirmSafeOperation` tests
tmjssz 25e54f7
Fix (or maybe not) paymaster estimation on sponsored transaction
leonardotc 8d29d3c
Merge remote-tracking branch 'origin/feat/viem-migration' into feat/v…
leonardotc a04a860
Fix gas estimation issue
leonardotc 9e16f42
chore: remove deprecated ethereum utils lib (#884)
dasanra 4f074f2
Remove ethers from safe-kit
leonardotc e926eba
Minor PR changes
leonardotc 35c7cf6
Remove ethers dependency
leonardotc e966c67
Fix coverall file
leonardotc e553890
Re-add ethers but as dev deps
leonardotc 93062e0
First clean up
leonardotc c5303af
Minor type changes and comments
leonardotc 1adea41
Remove throws
leonardotc c2b2942
playground: Migrate scripts to viem
tmjssz 32a6da4
Pre-pr changes
leonardotc 47d4e1d
onramp-kit: Remove ethers from example app
tmjssz ee88653
Fix contracts
leonardotc 6b0853c
Merge remote-tracking branch 'origin/development' into feat/viem-migr…
leonardotc 3f0b7b5
Merge branch 'development' into feat/viem-migration
tmjssz 1a52333
Add chain to the external signer
leonardotc e3ec4d8
Fix parsing of SafeTxGas estimation from viem error object
tmjssz a7c5bc1
relay-kit: Fix getNonce call in Safe4337Pack
tmjssz 03907fd
Use different RPC endpoint
tmjssz 17e149c
Merge branch 'development' into feat/viem-migration
tmjssz cc6589c
fix(api-kit): Fix confirmSafeOperation e2e test by making test transa…
tmjssz 360d997
remove public schema from bundler
leonardotc 3795719
refactor: Improve API Kit interoperability playground
tmjssz 90157d0
refactor: Improve relay-kit playground scripts
tmjssz 3000003
refactor: Fix wait for transaction being executed in api-kit playgrou…
tmjssz d20167c
refactor: Update playground scripts to use viem/accounts for private …
tmjssz dd6e775
refactor: Use `Account` type instead of LocalAccount in api-kit
tmjssz dca351a
Revert protocol kit playground
leonardotc 124f931
refactor: Use `(await signer.getAddresses())[0]` instead of `signer.a…
tmjssz 403e842
Fix wait for receipt in transaction result
leonardotc 1d58ce8
Add comment for import from relay-kit dist folder
tmjssz 3796ce4
Merge branch 'feat/viem-migration' of github.com:safe-global/safe-cor…
tmjssz 4f9400e
refactor: Move `asBlockId` function to utils
tmjssz 3648d94
refactor: Simplify SafeProvider constructor logic
tmjssz 8e9391c
Add explanation for conversion
leonardotc 0b940bb
Remove residual code
leonardotc 128987f
Remove duplicate
leonardotc 4475b88
Fix custom chain support
leonardotc 8cd7e96
Depromisify getAddress
leonardotc 658b9a8
Fix onramp
leonardotc 00a292e
feat: Extend SafeProviders externalClient type (#928)
tmjssz af4a598
Merge branch 'development' into passkey-support
leonardotc 4565be6
Fix build post-merge
leonardotc 090bf04
Merge branch 'feat/viem-migration' into passkey-support-viem
leonardotc 9853b12
chore: align api-kit tests
dasanra 48d4902
fix: delegator address not checksummed
dasanra 19d7910
Add further comments
leonardotc 8aeb43b
Fix build
leonardotc 8b5c2c5
Soft correction on passkey tests
leonardotc 2dcb731
Fix overall address issue
leonardotc 32e7893
Fix passkey ownership logic
leonardotc 34ec5c4
Fix passkey deployment
leonardotc 74f10e2
Fix getCode call
leonardotc 2ba32fa
Fixed isSharedSignerPasskey usage
leonardotc 4d60792
Fix a couple more tests on protocol kit
leonardotc a70cf83
Fix racing condition on modules test
leonardotc c91c8dc
Fix api kit
leonardotc 7d3c11c
Add ethers to dev deps on api-kit
leonardotc 5377c13
Update deployment information
leonardotc 0296851
Fix pending deployment info
leonardotc e0a10ed
Fix test evaluation
leonardotc 4f109ee
Fix passkey callee on non-paymaster test
leonardotc e0e9755
Fix sponsored transaction rates
leonardotc c682afa
Fix test amount to approve
leonardotc 3295108
Change more estimations
leonardotc a9449b4
Update signature on signing test
leonardotc 86871bd
Change base address type
leonardotc a8569e9
Possibly? fix passkey tests whole
leonardotc 991317c
Checkout adjustEstimation
leonardotc 701f7e3
Fix estimations
leonardotc eeeeb84
remove Viem dependency from @safe-global/safe-core-sdk-types
dasanra 3d85ef2
Re-add from env
leonardotc 4dc89f1
revert unnecessary Viem changes in api-kit playground
dasanra 9d92313
fix: types in tests
dasanra aab6c6a
Swap private keys
leonardotc ff2e2dc
Restore fixture address
leonardotc 03b1cb0
Update signatures with the rollback estimation values
leonardotc 473367a
Merge branch 'feat/viem-migration' into added-deployment-safe-class
leonardotc 1ba2989
Prepare passkeys release (#937)
DaniSomoza b875321
Merge branch 'development' into passkey-support
dasanra 0597db8
Fix build
leonardotc 5d7f329
Fix addresses and non-named event parameters
leonardotc eb1ce1a
fix(protocol-kit): build not finishing because of breaking change in …
dasanra ea8a753
Fix transaction type conversion
leonardotc 36ef47f
Set alpha.2 version
dasanra 13c8ef5
add comment to use external util
dasanra 5490043
Merge remote-tracking branch 'origin/passkey-support' into passkey-su…
leonardotc 55a5475
Merge remote-tracking branch 'origin/feat/viem-migration' into passke…
leonardotc 00169e3
Fix build
leonardotc a875568
Fix some passkey tests
leonardotc cc08b4d
Remove only
leonardotc c31b351
Merge branch 'development' into passkey-support
dasanra 2f11963
Fix the last tests
leonardotc 46e2947
Remove timeout
leonardotc 39702fb
Remove only
leonardotc e4d8e97
Fix 4337 test
leonardotc cfd46f6
Merge remote-tracking branch 'origin/passkey-support' into passkey-su…
leonardotc a789c5a
Merge branch 'passkey-support-viem' into added-deployment-safe-class-…
leonardotc 569b074
Fix build
leonardotc d40e489
use contract addresses from safe-modules-deployments (#950)
DaniSomoza 2081134
Merge branch 'development' into passkey-support
DaniSomoza d3da1e0
chore: remove bytecode from webauthn ABIs
dasanra 1c22d9c
update passkeys contract names from v1_4_1 to v0.2.1 (#953)
DaniSomoza 0c6f84b
Merge branch 'passkey-support' into rebase/passkey-support-viem
dasanra 1e86e98
Merge branch 'passkey-support' into passkey-support-viem
dasanra 6bfa278
Merge branch 'development' of https://github.com/safe-global/safe-cor…
yagopv c60c3a5
chore: remove alpha dependency
dasanra 7f46683
Revert "chore: remove alpha dependency"
dasanra 1917262
chore: remove alpha from package.json
dasanra 0df4b6c
chore: remove unnecessary awaits
dasanra e868922
chore: cleanup api-kit tests
dasanra c391ee6
chore: cleanup unnecessary awaits
dasanra 28cd737
fix: set ExternalClient instead of PublicClient type
dasanra d58f9ee
chore: fix wrong routes
dasanra ff2c0df
chore: fix some type casts and import routes
dasanra 6b190db
fix: restore predictSafe util
dasanra 1be83ac
fix: restore predictSafe tests
dasanra bf7a9f1
chore: add missing return type
dasanra 053fecb
Merge branch 'passkey-support-viem' into added-deployment-safe-class-…
dasanra d2ef18f
Merge branch 'development' into added-deployment-safe-class-viem
dasanra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is removed in several places but not sure why