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(protocol-kit): Add deployment functionality to Safe class #980

Merged
merged 217 commits into from
Sep 27, 2024

Commits on May 16, 2024

  1. Add passkey support

    DaniSomoza authored and dasanra committed May 16, 2024
    Configuration menu
    Copy the full SHA
    061321e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55e24a6 View commit details
    Browse the repository at this point in the history
  3. fix init issue in relay-kit

    DaniSomoza authored and dasanra committed May 16, 2024
    Configuration menu
    Copy the full SHA
    6702b3d View commit details
    Browse the repository at this point in the history
  4. fix issue in BaseContract

    DaniSomoza authored and dasanra committed May 16, 2024
    Configuration menu
    Copy the full SHA
    a74b809 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    33fd454 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d20dc53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dac782f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1ef57e View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Add support for passkeys to 4337

    DaniSomoza authored and dasanra committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    a61e70c View commit details
    Browse the repository at this point in the history
  2. verificationGasLimit adjustment

    DaniSomoza authored and dasanra committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    a547b98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2ac8df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eff8ab5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d524ef View commit details
    Browse the repository at this point in the history
  6. feat(protocol-kit): Tests for passkey (#838)

    * Add `SafeWebAuthnSignerFactory` contract
    
    * Add tests for passkey flow in `isOwner` function
    
    * Add tests for signTransaction + createAddOwnerTx (wip)
    
    * Add webauthnShim to emulate the Web Authentication API implemented in browsers
    
    Copied from [safe-modules repo](https://github.com/safe-global/safe-modules/blob/main/modules/passkey/test/utils/webauthnShim.ts)
    
    * Use webauthnShim for passkey mocks
    
    * Deploy `FCLP256Verifier` in local hardhat environment and use it as as WebAuthnContract
    
    * Run passkey tests only for contract versions 1.3.0 + 1.4.1
    
    ---------
    
    Co-authored-by: Daniel Somoza <[email protected]>
    tmjssz and DaniSomoza authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    3aa0fdd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    06cdedf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f3cf8ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    694488b View commit details
    Browse the repository at this point in the history
  10. flatten signingMethod ifs

    DaniSomoza committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    94cb8a0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dd0dddc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    625b668 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    801f8f2 View commit details
    Browse the repository at this point in the history
  14. updated docs

    DaniSomoza committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    7ba2e47 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    378c03e View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    70e09af View commit details
    Browse the repository at this point in the history
  2. Merge pull request #841 from safe-global/passkey-4337-support

    Passkey 4337 support
    dasanra authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    4977cf6 View commit details
    Browse the repository at this point in the history
  3. Set alpha.0 version

    dasanra committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    2e284eb View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    7d58f60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    200c6b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    a4a45de View commit details
    Browse the repository at this point in the history
  2. feat(protocol-kit): Restrict passkeys tests according to safe version (

    …#855)
    
    * Add test on the provider level
    leonardotc authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    6cbd3f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5f32ec View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. feat(relay-kit): Tests for using passkey with 4337 (#846)

    * Fix existing unit tests
    
    * Test case for initializing Safe4337Pack with a passkey signer
    
    * Tests for signing a SafeOperation with passkey + sending to bundler
    
    * Extend webauthnShim to initialize with a static private key
    * Passkey private key must be specified via env variable
    * Move logic to create a mocked passkey object to utils folder in protocol-kit
    
    * Fix passkey tests in protocol-kit and use `createMockPasskey` function from utils
    
    * Remove `.only` from test
    
    * Add comment
    
    * Add env variable `PASSKEY_PRIVATE_KEY`
    
    * Fix `createMockPasskey` function JSDoc
    
    * Allow to create mocked passkeys with a static private key
    
    * Fix test for latest changes
    
    Passkey signer is not being added to the owners of a 4337 Safe, but only the SafeWebAuthnSharedSigner address.
    
    * Fix tests
    
    * Remove duplicated file for passkey test utils
    
    * Remove unnecessary `await`
    
    * Fix account-abstraction-kit test
    
    ---------
    
    Co-authored-by: Daniel <[email protected]>
    tmjssz and dasanra authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    61a1280 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Update passkey type (#859)

    * Added SAFE_WEBAUTHN_SHARED_SIGNER_ADDRESS as parameter in the addDummySignature
    DaniSomoza authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    102c3b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Set alpha.1 version

    dasanra committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    9ff82fc View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. feat(protocol-kit): Tests for swap and remove passkey owners (#861)

    * Add createSwapOwnerTx passkey tests
    
    * Add remove owner tests
    leonardotc authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    a51e837 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    22354d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2666171 View commit details
    Browse the repository at this point in the history
  3. playground: Use generateTransferCallData function from relay-kit in…

    …stead of re-implementing it
    tmjssz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    b3d329e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e2be4ea View commit details
    Browse the repository at this point in the history
  5. relay-kit: Migrate 4337 bundler client to viem

    Use viem's `PublicClient` instead of ether's `JsonRpcProvider`
    tmjssz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6a5278c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c040317 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e0bd8e View commit details
    Browse the repository at this point in the history
  8. fix(api-kit): e2e test

    tmjssz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    e693167 View commit details
    Browse the repository at this point in the history
  9. Revert uses of Hash, Hex + Address types from viem in interfaces

    To avoid breaking changes we keep regular `string` types for now and do type casting whenever necessary for calling viem's functions.
    tmjssz committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    92a62b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    f554a93 View commit details
    Browse the repository at this point in the history
  2. auth-kit: Migrate to viem

    tmjssz committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    d008d4f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56b294c View commit details
    Browse the repository at this point in the history
  4. onramp-kit: Migrate to viem

    tmjssz committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    da2b096 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. api-kit: Use WalletClient type with local account for signDelegate

    …function
    
    Fix tests for refactored signDelegate function
    tmjssz committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7704121 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    bc494f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    563ccce View commit details
    Browse the repository at this point in the history
  3. [Passkeys] Detect Shared Signer owner (#875)

    * add SafeWebAuthnSharedSigner Contract
    
    * added passkey shared signer support to signHash
    
    * Added unit tests
    DaniSomoza authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3dd6595 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee039ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1fc1f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. PR fixes

    leonardotc committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5129709 View commit details
    Browse the repository at this point in the history
  2. remove SafeFactory

    DaniSomoza committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    8d32d23 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    1b91381 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64cd846 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ba3833 View commit details
    Browse the repository at this point in the history
  4. remove throw in getAddress

    DaniSomoza committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d89831c View commit details
    Browse the repository at this point in the history
  5. Fix safe-kit reconnections

    dasanra committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8fbbded View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d214e9e View commit details
    Browse the repository at this point in the history
  7. Add comment for TextEncoder polyfill

    Also remove unnecessary TextDecoder polyfill
    tmjssz committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2d56a2a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Feat/viem migration tests (#894)

    * relay-kit: Add viem dependency
    
    * relay-kit: Migrate 4337 related components to viem
    
    * playground: Use `generateTransferCallData` function from relay-kit instead of re-implementing it
    
    * Update contracts tests
    
    * relay-kit: Fix hex string conversion for nonce
    
    * Initial draft setup contracts
    
    * Solved some compilations errors
    
    * Minor type corrections
    
    * Resolved conflict and changed some more types
    
    * Wip
    
    * Change txResult function
    
    * Update contracts
    
    * Multiple contract fixes
    
    * Change bytes contract type
    
    * Multiple minor fixes
    
    * Fix multiple contract structures
    
    * Fix general transaction simulation
    
    * Fix build
    
    * Remove ethers
    
    * Removed typed data usage
    
    * Fix build
    
    * Change provider test
    
    * Remove the least ethers from protocol-kit
    
    * Fix some tests
    
    * Fix types
    
    * Fix more types
    
    * Multiple fixes
    
    * Fix build
    
    * Fix protocol kit unit tests
    
    * Enable e2e tests
    
    * Fix protocol-kit tests setup
    
    * Fix external signer function
    
    * Fix encoder types mismatch
    
    * Fix modules manager getAddress
    
    * Fix multiple getAddress tests
    
    * Fix erc20 tests
    
    * Fix chain id issue in the contracts
    
    * Fix general encoding for signature verification
    
    * Fix storage test
    
    * Multiple fixes
    
    * Fix provider isContract function
    
    * Fix safe contract calls
    
    * Fix encoding
    
    * Fix decode multisend data
    
    * Fix safetxerrorresponse
    
    * Fix gaslimit test
    
    * Fix legacy transaction options
    
    * Fix signer conversion
    
    * Fix checksummed address
    
    * Fix provider tests v1.2.0
    
    * Fix gas estimation for 1.2.0
    
    * Fix call parameters
    
    * Multiple fixes
    
    ---------
    
    Co-authored-by: Tim Schwarz <[email protected]>
    leonardotc and tmjssz authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8af26ef View commit details
    Browse the repository at this point in the history
  2. Fix onramp kit

    leonardotc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    de3ccc8 View commit details
    Browse the repository at this point in the history
  3. Fix build

    leonardotc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    82d4512 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Api kit fixes

    leonardotc committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4d91289 View commit details
    Browse the repository at this point in the history
  2. Fix import

    leonardotc committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4320cfa View commit details
    Browse the repository at this point in the history
  3. Remove heap-size parameter

    leonardotc committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    65bda3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e95fc3c View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    1fcc9eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    435ae4d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57f7219 View commit details
    Browse the repository at this point in the history
  4. Fix build after merge

    leonardotc committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    6bc1f12 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ade9077 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    330f05c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eaca089 View commit details
    Browse the repository at this point in the history
  8. api-kit: Fix import

    tmjssz committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    ed70a38 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    65127b4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4ff0dd8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    096ac25 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a570ceb View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    f7cc1cd View commit details
    Browse the repository at this point in the history
  2. Changed paymasterAndData

    leonardotc committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    78979ed View commit details
    Browse the repository at this point in the history
  3. Remove only on tests

    leonardotc committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    9ae5384 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec89e7a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25e54f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d29d3c View commit details
    Browse the repository at this point in the history
  7. Fix gas estimation issue

    leonardotc committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a04a860 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. chore: remove deprecated ethereum utils lib (#884)

    * chore: remove deprecated ethereum utils lib
    
    * remove @noble/hashes as direct dependency
    dasanra authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9e16f42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f074f2 View commit details
    Browse the repository at this point in the history
  3. Minor PR changes

    leonardotc committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e926eba View commit details
    Browse the repository at this point in the history
  4. Remove ethers dependency

    leonardotc committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    35c7cf6 View commit details
    Browse the repository at this point in the history
  5. Fix coverall file

    leonardotc committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e966c67 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e553890 View commit details
    Browse the repository at this point in the history
  7. First clean up

    leonardotc committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    93062e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    c5303af View commit details
    Browse the repository at this point in the history
  2. Remove throws

    leonardotc committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1adea41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2b2942 View commit details
    Browse the repository at this point in the history
  4. Pre-pr changes

    leonardotc committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    32a6da4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    47d4e1d View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Fix contracts

    leonardotc committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    ee88653 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b0853c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f0b7b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    1a52333 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3ec4d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7c5bc1 View commit details
    Browse the repository at this point in the history
  4. Use different RPC endpoint

    tmjssz committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    03907fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17e149c View commit details
    Browse the repository at this point in the history
  6. fix(api-kit): Fix confirmSafeOperation e2e test by making test transa…

    …ction unique for each test run
    tmjssz committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    cc6589c View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    360d997 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3795719 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90157d0 View commit details
    Browse the repository at this point in the history
  4. refactor: Fix wait for transaction being executed in api-kit playgrou…

    …nd script
    
    Also update script configs to use viem Chain object
    tmjssz committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    3000003 View commit details
    Browse the repository at this point in the history
  5. refactor: Update playground scripts to use viem/accounts for private …

    …key to address conversion
    tmjssz committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d20167c View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    dd6e775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dca351a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    124f931 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    403e842 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d58ce8 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'feat/viem-migration' of github.com:safe-global/safe-cor…

    …e-sdk into feat/viem-migration
    tmjssz committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    3796ce4 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    4f9400e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3648d94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e9391c View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Remove residual code

    leonardotc committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    0b940bb View commit details
    Browse the repository at this point in the history
  2. Remove duplicate

    leonardotc committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    128987f View commit details
    Browse the repository at this point in the history
  3. Fix custom chain support

    leonardotc committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    4475b88 View commit details
    Browse the repository at this point in the history
  4. Depromisify getAddress

    leonardotc committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    8cd7e96 View commit details
    Browse the repository at this point in the history
  5. Fix onramp

    leonardotc committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    658b9a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. feat: Extend SafeProviders externalClient type (#928)

    * Extend SafeProvider's external client type to `PublicClient | WalletClient`
    
    * Introduce `ExternalClient` type alias and use it as type for `#externalProvider` in SafeProvider
    
    * With the extended type we need to use viem methods individually from `viem/actions` instead of calling them directly on the client itself
    
    * Extend SafeProvider by a `readContract` method to fix TS error in Safe4337Pack
    
    Also fix unit test for Safe4337Pack
    
    * Fix custom chain support
    
    ---------
    
    Co-authored-by: leonardotc <[email protected]>
    tmjssz and leonardotc authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    00a292e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af4a598 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Fix build post-merge

    leonardotc committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    4565be6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    090bf04 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. chore: align api-kit tests

    dasanra committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9853b12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48d4902 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Add further comments

    leonardotc committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    19d7910 View commit details
    Browse the repository at this point in the history
  2. Fix build

    leonardotc committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    8aeb43b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b5c2c5 View commit details
    Browse the repository at this point in the history
  4. Fix overall address issue

    leonardotc committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2dcb731 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    32e7893 View commit details
    Browse the repository at this point in the history
  2. Fix passkey deployment

    leonardotc committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    34ec5c4 View commit details
    Browse the repository at this point in the history
  3. Fix getCode call

    leonardotc committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    74f10e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ba32fa View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    4d60792 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a70cf83 View commit details
    Browse the repository at this point in the history
  3. Fix api kit

    leonardotc committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c91c8dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d3c11c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5377c13 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0296851 View commit details
    Browse the repository at this point in the history
  7. Fix test evaluation

    leonardotc committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    e0a10ed View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4f109ee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e0e9755 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c682afa View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Change more estimations

    leonardotc committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    3295108 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9449b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Change base address type

    leonardotc committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    86871bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8569e9 View commit details
    Browse the repository at this point in the history
  3. Checkout adjustEstimation

    leonardotc committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    991317c View commit details
    Browse the repository at this point in the history
  4. Fix estimations

    leonardotc committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    701f7e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eeeeb84 View commit details
    Browse the repository at this point in the history
  6. Re-add from env

    leonardotc committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    3d85ef2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4dc89f1 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. fix: types in tests

    dasanra committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9d92313 View commit details
    Browse the repository at this point in the history
  2. Swap private keys

    leonardotc committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    aab6c6a View commit details
    Browse the repository at this point in the history
  3. Restore fixture address

    leonardotc committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    ff2e2dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03b1cb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    473367a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Prepare passkeys release (#937)

    * refactor in Safe.ts to remove passkey shared signer logic
    
    * Add getPasskeyOwnerAddress as util fn
    
    * add createPasskeyDeploymentTransaction as a util function
    
    * fix: use safeProvider instance
    
    * fix isOwner test for v1.0.0
    
    * add getPasskeyOwnerAddress tests
    
    * Add dinamic addresses to the getPasskeyOwnerAddress tests
    DaniSomoza authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    1ba2989 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b875321 View commit details
    Browse the repository at this point in the history
  3. Fix build

    leonardotc committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    0597db8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d7f329 View commit details
    Browse the repository at this point in the history
  5. fix(protocol-kit): build not finishing because of breaking change in …

    …safe-deployments type
    dasanra committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    eb1ce1a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea8a753 View commit details
    Browse the repository at this point in the history
  7. Set alpha.2 version

    dasanra committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    36ef47f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    13c8ef5 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    5490043 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55a5475 View commit details
    Browse the repository at this point in the history
  3. Fix build

    leonardotc committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    00169e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Fix some passkey tests

    leonardotc committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    a875568 View commit details
    Browse the repository at this point in the history
  2. Remove only

    leonardotc committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    cc08b4d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c31b351 View commit details
    Browse the repository at this point in the history
  4. Fix the last tests

    leonardotc committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    2f11963 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Remove timeout

    leonardotc committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    46e2947 View commit details
    Browse the repository at this point in the history
  2. Remove only

    leonardotc committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    39702fb View commit details
    Browse the repository at this point in the history
  3. Fix 4337 test

    leonardotc committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    e4d8e97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfd46f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    a789c5a View commit details
    Browse the repository at this point in the history
  2. Fix build

    leonardotc committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    569b074 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. use contract addresses from safe-modules-deployments (#950)

    * use contract addresses from safe-modules-deployments
    
    * upated safe passkey address in fixtures
    DaniSomoza authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    d40e489 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    2081134 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3da1e0 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    1c22d9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c6f84b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e86e98 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Merge branch 'development' of https://github.com/safe-global/safe-cor…

    …e-sdk into passkey-support-viem
    
    # Conflicts:
    #	packages/api-kit/package.json
    #	packages/auth-kit/package.json
    #	packages/onramp-kit/package.json
    #	packages/protocol-kit/package.json
    #	packages/protocol-kit/src/Safe.ts
    #	packages/protocol-kit/src/SafeProvider.ts
    #	packages/protocol-kit/src/contracts/SafeWebAuthnSharedSigner/SafeWebAuthnSharedSignerBaseContract.ts
    #	packages/protocol-kit/src/contracts/SafeWebAuthnSharedSigner/v0.2.1/SafeWebAuthnSharedSignerContract_v0_2_1.ts
    #	packages/protocol-kit/src/contracts/SafeWebAuthnSignerFactory/SafeWebAuthnSignerFactoryBaseContract.ts
    #	packages/protocol-kit/src/contracts/SafeWebAuthnSignerFactory/v0.2.1/SafeWebAuthnSignerFactoryContract_v0_2_1.ts
    #	packages/protocol-kit/src/contracts/config.ts
    #	packages/protocol-kit/src/contracts/contractInstances.ts
    #	packages/protocol-kit/src/contracts/utils.ts
    #	packages/protocol-kit/src/index.ts
    #	packages/protocol-kit/src/types/contracts.ts
    #	packages/protocol-kit/src/types/safeProvider.ts
    #	packages/protocol-kit/src/utils/passkeys/createPasskeyDeploymentTransaction.ts
    #	packages/protocol-kit/src/utils/passkeys/getPasskeyOwnerAddress.ts
    #	packages/protocol-kit/src/utils/passkeys/index.ts
    #	packages/protocol-kit/src/utils/passkeys/isSharedSigner.ts
    #	packages/protocol-kit/src/utils/transactions/utils.ts
    #	packages/protocol-kit/tests/e2e/passkey.test.ts
    #	packages/protocol-kit/tests/e2e/safeProvider.test.ts
    #	packages/protocol-kit/tests/e2e/utils/passkeys.ts
    #	packages/protocol-kit/tests/e2e/utils/setupContractNetworks.ts
    #	packages/protocol-kit/tests/e2e/utils/setupContracts.ts
    #	packages/relay-kit/package.json
    #	packages/relay-kit/src/packs/safe-4337/Safe4337Pack.test.ts
    #	packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts
    #	packages/relay-kit/src/packs/safe-4337/utils.ts
    #	packages/safe-core-sdk-types/package.json
    #	packages/sdk-starter-kit/package.json
    #	yarn.lock
    yagopv committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6bfa278 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c60c3a5 View commit details
    Browse the repository at this point in the history
  3. Revert "chore: remove alpha dependency"

    This reverts commit c60c3a5.
    dasanra committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    7f46683 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1917262 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0df4b6c View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. chore: cleanup api-kit tests

    dasanra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e868922 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c391ee6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28cd737 View commit details
    Browse the repository at this point in the history
  4. chore: fix wrong routes

    dasanra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    d58f9ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff2c0df View commit details
    Browse the repository at this point in the history
  6. fix: restore predictSafe util

    dasanra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6b190db View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1be83ac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bf7a9f1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    053fecb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d2ef18f View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    e141276 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. fix tests

    DaniSomoza committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4a4cf58 View commit details
    Browse the repository at this point in the history
  2. fix safeClient tests

    DaniSomoza committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f493ef4 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    332cafa View commit details
    Browse the repository at this point in the history
  2. fix: wrong route in tests

    dasanra committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    511b2d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd56ed8 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    3c3a414 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26ba34d View commit details
    Browse the repository at this point in the history