Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ CoinbaseSmartWallet1271InputGeneratorTest:testGetReplaySafeHashForUndeployedAcco
CoinbaseSmartWalletFactoryTest:testDeployDeterministicPassValues() (gas: 270581)
CoinbaseSmartWalletFactoryTest:test_CreateAccount_ReturnsPredeterminedAddress_WhenAccountAlreadyExists() (gas: 289811)
CoinbaseSmartWalletFactoryTest:test_RevertsIfLength32ButLargerThanAddress() (gas: 303514)
CoinbaseSmartWalletFactoryTest:test_constructor_revertsIfImplementationIsNotDeployed(address) (runs: 256, μ: 39338, ~: 39348)
CoinbaseSmartWalletFactoryTest:test_constructor_setsImplementation(address) (runs: 256, μ: 455736, ~: 455736)
CoinbaseSmartWalletFactoryTest:test_constructor_revertsIfImplementationIsNotDeployed(address) (runs: 256, μ: 39328, ~: 39348)
CoinbaseSmartWalletFactoryTest:test_constructor_setsImplementation(address) (runs: 256, μ: 455545, ~: 455736)
CoinbaseSmartWalletFactoryTest:test_createAccountDeploysToPredeterminedAddress() (gas: 271825)
CoinbaseSmartWalletFactoryTest:test_createAccountSetsOwnersCorrectly() (gas: 281476)
CoinbaseSmartWalletFactoryTest:test_createAccount_emitsAccountCreatedEvent(uint256) (runs: 256, μ: 273358, ~: 273358)
Expand Down Expand Up @@ -47,7 +47,7 @@ TestCanSkipChainIdValidation:test_approvedSelectorsReturnTrue() (gas: 17685)
TestCanSkipChainIdValidation:test_otherSelectorsReturnFalse() (gas: 12561)
TestExecuteWithoutChainIdValidation:testExecute() (gas: 485146)
TestExecuteWithoutChainIdValidation:testExecuteBatch() (gas: 889868)
TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 4544535, ~: 4457018)
TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 4507288, ~: 4347762)
TestExecuteWithoutChainIdValidation:test__codesize() (gas: 61710)
TestExecuteWithoutChainIdValidation:test_revertsWithReservedNonce() (gas: 81700)
TestExecuteWithoutChainIdValidation:test_reverts_whenCallerNotEntryPoint() (gas: 11148)
Expand All @@ -70,7 +70,7 @@ TestIsValidSignature:testValidateSignatureWithPasskeySignerFailsWithWrongBadSign
TestUpgradeToAndCall:testUpgradeToAndCall() (gas: 25322)
TestValidateUserOp:test_reverts_whenReplayableNonceKeyInvalidForSelector() (gas: 14609)
TestValidateUserOp:test_reverts_whenSelectorInvalidForReplayableNonceKey() (gas: 14469)
TestValidateUserOp:test_reverts_whenUpgradeToImplementationWithNoCode(address) (runs: 256, μ: 23208, ~: 23228)
TestValidateUserOp:test_reverts_whenUpgradeToImplementationWithNoCode(address) (runs: 256, μ: 23179, ~: 23228)
TestValidateUserOp:test_succeedsWithEOASigner() (gas: 456302)
TestValidateUserOp:test_succeedsWithPasskeySigner() (gas: 711409)
TestValidateUserOp:test_succeedsWithPasskeySigner() (gas: 711374)
TestValidateUserOp:test_succeeds_whenUpgradeToImplementationWithCode() (gas: 3714211)
23 changes: 23 additions & 0 deletions foundry.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"lib/account-abstraction": {
"rev": "abff2aca61a8f0934e533d0d352978055fddbd96"
},
"lib/forge-std": {
"rev": "1fd874f0efdb711cb6807c4f4a000ed2805dc809"
},
"lib/openzeppelin-contracts": {
"rev": "5705e8208bc92cd82c7bcdfeac8dbc7377767d96"
},
"lib/p256-verifier": {
"rev": "29475ae300ec95d98d5c7cc34c094846f0aa2dcd"
},
"lib/safe-singleton-deployer-sol": {
"rev": "cf2b89c33fed536c4dd6fef2fb84f39053068868"
},
"lib/solady": {
"rev": "5ea5d9f57ed6d24a27d00934f4a3448def931415"
},
"lib/webauthn-sol": {
"rev": "619f20ab0f074fef41066ee4ab24849a913263b2"
}
}
11 changes: 11 additions & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
FreshCryptoLib/=lib/webauthn-sol/lib/FreshCryptoLib/solidity/src/
account-abstraction/=lib/account-abstraction/contracts/
ds-test/=lib/forge-std/lib/ds-test/src/
erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/
forge-std/=lib/forge-std/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/
p256-verifier/=lib/p256-verifier/
safe-singleton-deployer-sol/=lib/safe-singleton-deployer-sol/
solady/=lib/solady/src/
webauthn-sol/=lib/webauthn-sol/src/
Loading