Skip to content

Commit 2aa4260

Browse files
committed
Clean the table
1 parent 840413a commit 2aa4260

File tree

5 files changed

+87
-86
lines changed

5 files changed

+87
-86
lines changed

.gas-snapshot

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,76 @@
1-
AddOwnerAddressTest:testEmitsAddOwner() (gas: 91954)
2-
AddOwnerAddressTest:testIncreasesOwnerIndex() (gas: 90492)
3-
AddOwnerAddressTest:testRevertsIfAlreadyOwner() (gas: 92327)
4-
AddOwnerAddressTest:testRevertsIfCalledByNonOwner() (gas: 11831)
5-
AddOwnerAddressTest:testSetsIsOwner() (gas: 90125)
6-
AddOwnerAddressTest:testSetsOwnerAtIndex() (gas: 99961)
7-
AddOwnerPublicKeyTest:testEmitsAddOwner() (gas: 115024)
8-
AddOwnerPublicKeyTest:testFuzzIsOwnerPublicKey(bytes32,bytes32) (runs: 256, μ: 114454, ~: 114454)
9-
AddOwnerPublicKeyTest:testRevertsIfAlreadyOwner() (gas: 115392)
10-
AddOwnerPublicKeyTest:testRevertsIfCalledByNonOwner() (gas: 11895)
11-
AddOwnerPublicKeyTest:testSetsIsOwner() (gas: 113193)
12-
AddOwnerPublicKeyTest:testSetsOwnerAtIndex() (gas: 130925)
13-
CoinbaseSmartWallet1271InputGeneratorTest:testGetReplaySafeHashForDeployedAccount() (gas: 311701)
14-
CoinbaseSmartWallet1271InputGeneratorTest:testGetReplaySafeHashForUndeployedAccount() (gas: 293976)
15-
CoinbaseSmartWalletFactoryTest:testDeployDeterministicPassValues() (gas: 270581)
16-
CoinbaseSmartWalletFactoryTest:test_CreateAccount_ReturnsPredeterminedAddress_WhenAccountAlreadyExists() (gas: 289811)
17-
CoinbaseSmartWalletFactoryTest:test_RevertsIfLength32ButLargerThanAddress() (gas: 303514)
18-
CoinbaseSmartWalletFactoryTest:test_constructor_revertsIfImplementationIsNotDeployed(address) (runs: 256, μ: 39338, ~: 39348)
19-
CoinbaseSmartWalletFactoryTest:test_constructor_setsImplementation(address) (runs: 256, μ: 455736, ~: 455736)
20-
CoinbaseSmartWalletFactoryTest:test_createAccountDeploysToPredeterminedAddress() (gas: 271825)
21-
CoinbaseSmartWalletFactoryTest:test_createAccountSetsOwnersCorrectly() (gas: 281476)
22-
CoinbaseSmartWalletFactoryTest:test_createAccount_emitsAccountCreatedEvent(uint256) (runs: 256, μ: 273358, ~: 273358)
23-
CoinbaseSmartWalletFactoryTest:test_exitIfAccountIsAlreadyInitialized() (gas: 271307)
24-
CoinbaseSmartWalletFactoryTest:test_implementation_returnsExpectedAddress() (gas: 7698)
25-
CoinbaseSmartWalletFactoryTest:test_initCodeHash() (gas: 7913)
26-
CoinbaseSmartWalletFactoryTest:test_revertsIfNoOwners() (gas: 29256)
27-
ERC1271Test:test_returnsExpectedDomainHashWhenProxy() (gas: 31630)
28-
ERC1271Test:test_static() (gas: 4046108)
29-
MultiOwnableInitializeTest:testRevertsIfLength32ButLargerThanAddress() (gas: 80861)
30-
MultiOwnableInitializeTest:testRevertsIfLength32NotAddress() (gas: 81027)
31-
MultiOwnableInitializeTest:testRevertsIfLengthNot32Or64() (gas: 103534)
32-
RemoveLastOwnerTest:test_emitsRemoveOwner() (gas: 50105)
33-
RemoveLastOwnerTest:test_removesOwner() (gas: 48993)
34-
RemoveLastOwnerTest:test_removesOwnerAtIndex() (gas: 49127)
35-
RemoveLastOwnerTest:test_revert_whenCalledByNonOwner(address) (runs: 256, μ: 19210, ~: 19210)
36-
RemoveLastOwnerTest:test_revert_whenNoOwnerAtIndex() (gas: 48103)
37-
RemoveLastOwnerTest:test_revert_whenWrongOwnerAtIndex() (gas: 34023)
38-
RemoveLastOwnerTest:test_reverts_whenNotLastOwner() (gas: 123054)
39-
RemoveOwnerAtIndexTest:test_emitsRemoveOwner() (gas: 55370)
40-
RemoveOwnerAtIndexTest:test_removesOwner() (gas: 54324)
41-
RemoveOwnerAtIndexTest:test_removesOwnerAtIndex() (gas: 54222)
42-
RemoveOwnerAtIndexTest:test_revert_whenCalledByNonOwner(address) (runs: 256, μ: 19232, ~: 19232)
43-
RemoveOwnerAtIndexTest:test_revert_whenNoOwnerAtIndex() (gas: 33098)
44-
RemoveOwnerAtIndexTest:test_revert_whenWrongOwnerAtIndex() (gas: 36598)
45-
RemoveOwnerAtIndexTest:test_reverts_ifIsLastOwner() (gas: 7632833)
46-
TestCanSkipChainIdValidation:test_approvedSelectorsReturnTrue() (gas: 17685)
47-
TestCanSkipChainIdValidation:test_otherSelectorsReturnFalse() (gas: 12561)
48-
TestExecuteWithoutChainIdValidation:testExecute() (gas: 485146)
49-
TestExecuteWithoutChainIdValidation:testExecuteBatch() (gas: 889868)
50-
TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 4544535, ~: 4457018)
51-
TestExecuteWithoutChainIdValidation:test__codesize() (gas: 61710)
52-
TestExecuteWithoutChainIdValidation:test_revertsWithReservedNonce() (gas: 81700)
53-
TestExecuteWithoutChainIdValidation:test_reverts_whenCallerNotEntryPoint() (gas: 11148)
54-
TestExecuteWithoutChainIdValidation:test_reverts_whenOneCallReverts() (gas: 467006)
55-
TestExecuteWithoutChainIdValidation:test_reverts_whenOneSelectorNotApproved() (gas: 179933)
56-
TestExecuteWithoutChainIdValidation:test_reverts_whenSelectorNotApproved() (gas: 106565)
57-
TestExecuteWithoutChainIdValidation:test_succeeds_whenSelectorAllowed() (gas: 424623)
58-
TestImplementation:testImplementation() (gas: 12677)
59-
TestInitialize:testInitialize() (gas: 21146)
60-
TestInitialize:test_cannotInitImplementation() (gas: 3676943)
61-
TestIsValidSignature:testReturnsInvalidIfPasskeySigButWrongOwnerLength() (gas: 40556)
62-
TestIsValidSignature:testRevertsIfEthereumSignatureButWrongOwnerLength() (gas: 24272)
63-
TestIsValidSignature:testRevertsIfOwnerIsInvalidEthereumAddress() (gas: 22001)
64-
TestIsValidSignature:testSmartWalletSigner() (gas: 3967929)
65-
TestIsValidSignature:testValidateSignatureWithEOASigner() (gas: 25053)
66-
TestIsValidSignature:testValidateSignatureWithEOASignerFailsWithWrongSigner() (gas: 23780)
67-
TestIsValidSignature:testValidateSignatureWithPasskeySigner() (gas: 354806)
68-
TestIsValidSignature:testValidateSignatureWithPasskeySignerFailsBadOwnerIndex() (gas: 35960)
69-
TestIsValidSignature:testValidateSignatureWithPasskeySignerFailsWithWrongBadSignature() (gas: 345393)
70-
TestUpgradeToAndCall:testUpgradeToAndCall() (gas: 25322)
71-
TestValidateUserOp:test_reverts_whenReplayableNonceKeyInvalidForSelector() (gas: 14609)
72-
TestValidateUserOp:test_reverts_whenSelectorInvalidForReplayableNonceKey() (gas: 14469)
73-
TestValidateUserOp:test_reverts_whenUpgradeToImplementationWithNoCode(address) (runs: 256, μ: 23208, ~: 23228)
74-
TestValidateUserOp:test_succeedsWithEOASigner() (gas: 456302)
75-
TestValidateUserOp:test_succeedsWithPasskeySigner() (gas: 711409)
76-
TestValidateUserOp:test_succeeds_whenUpgradeToImplementationWithCode() (gas: 3714211)
1+
AddOwnerAddressTest:testEmitsAddOwner() (gas: 95737)
2+
AddOwnerAddressTest:testIncreasesOwnerIndex() (gas: 93663)
3+
AddOwnerAddressTest:testRevertsIfAlreadyOwner() (gas: 97808)
4+
AddOwnerAddressTest:testRevertsIfCalledByNonOwner() (gas: 13252)
5+
AddOwnerAddressTest:testSetsIsOwner() (gas: 94243)
6+
AddOwnerAddressTest:testSetsOwnerAtIndex() (gas: 102692)
7+
AddOwnerPublicKeyTest:testEmitsAddOwner() (gas: 119132)
8+
AddOwnerPublicKeyTest:testFuzzIsOwnerPublicKey(bytes32,bytes32) (runs: 256, μ: 120266, ~: 120266)
9+
AddOwnerPublicKeyTest:testRevertsIfAlreadyOwner() (gas: 121475)
10+
AddOwnerPublicKeyTest:testRevertsIfCalledByNonOwner() (gas: 13427)
11+
AddOwnerPublicKeyTest:testSetsIsOwner() (gas: 117515)
12+
AddOwnerPublicKeyTest:testSetsOwnerAtIndex() (gas: 132638)
13+
CoinbaseSmartWallet1271InputGeneratorTest:testGetReplaySafeHashForDeployedAccount() (gas: 321729)
14+
CoinbaseSmartWallet1271InputGeneratorTest:testGetReplaySafeHashForUndeployedAccount() (gas: 306462)
15+
CoinbaseSmartWalletFactoryTest:testDeployDeterministicPassValues() (gas: 278601)
16+
CoinbaseSmartWalletFactoryTest:test_CreateAccount_ReturnsPredeterminedAddress_WhenAccountAlreadyExists() (gas: 302467)
17+
CoinbaseSmartWalletFactoryTest:test_RevertsIfLength32ButLargerThanAddress() (gas: 312867)
18+
CoinbaseSmartWalletFactoryTest:test_constructor_revertsIfImplementationIsNotDeployed(address) (runs: 256, μ: 40056, ~: 40056)
19+
CoinbaseSmartWalletFactoryTest:test_constructor_setsImplementation(address) (runs: 256, μ: 548146, ~: 548146)
20+
CoinbaseSmartWalletFactoryTest:test_createAccountDeploysToPredeterminedAddress() (gas: 281739)
21+
CoinbaseSmartWalletFactoryTest:test_createAccountSetsOwnersCorrectly() (gas: 293226)
22+
CoinbaseSmartWalletFactoryTest:test_createAccount_emitsAccountCreatedEvent(uint256) (runs: 256, μ: 284119, ~: 284119)
23+
CoinbaseSmartWalletFactoryTest:test_exitIfAccountIsAlreadyInitialized() (gas: 282165)
24+
CoinbaseSmartWalletFactoryTest:test_implementation_returnsExpectedAddress() (gas: 7941)
25+
CoinbaseSmartWalletFactoryTest:test_initCodeHash() (gas: 8256)
26+
CoinbaseSmartWalletFactoryTest:test_revertsIfNoOwners() (gas: 29982)
27+
ERC1271Test:test_returnsExpectedDomainHashWhenProxy() (gas: 33067)
28+
ERC1271Test:test_static() (gas: 5038835)
29+
MultiOwnableInitializeTest:testRevertsIfLength32ButLargerThanAddress() (gas: 83290)
30+
MultiOwnableInitializeTest:testRevertsIfLength32NotAddress() (gas: 83209)
31+
MultiOwnableInitializeTest:testRevertsIfLengthNot32Or64() (gas: 105649)
32+
RemoveLastOwnerTest:test_emitsRemoveOwner() (gas: 52602)
33+
RemoveLastOwnerTest:test_removesOwner() (gas: 52315)
34+
RemoveLastOwnerTest:test_removesOwnerAtIndex() (gas: 52205)
35+
RemoveLastOwnerTest:test_revert_whenCalledByNonOwner(address) (runs: 256, μ: 20565, ~: 20565)
36+
RemoveLastOwnerTest:test_revert_whenNoOwnerAtIndex() (gas: 49995)
37+
RemoveLastOwnerTest:test_revert_whenWrongOwnerAtIndex() (gas: 37321)
38+
RemoveLastOwnerTest:test_reverts_whenNotLastOwner() (gas: 126969)
39+
RemoveOwnerAtIndexTest:test_emitsRemoveOwner() (gas: 57756)
40+
RemoveOwnerAtIndexTest:test_removesOwner() (gas: 57281)
41+
RemoveOwnerAtIndexTest:test_removesOwnerAtIndex() (gas: 56901)
42+
RemoveOwnerAtIndexTest:test_revert_whenCalledByNonOwner(address) (runs: 256, μ: 20587, ~: 20587)
43+
RemoveOwnerAtIndexTest:test_revert_whenNoOwnerAtIndex() (gas: 34999)
44+
RemoveOwnerAtIndexTest:test_revert_whenWrongOwnerAtIndex() (gas: 40528)
45+
RemoveOwnerAtIndexTest:test_reverts_ifIsLastOwner() (gas: 8529818)
46+
TestCanSkipChainIdValidation:test_approvedSelectorsReturnTrue() (gas: 20382)
47+
TestCanSkipChainIdValidation:test_otherSelectorsReturnFalse() (gas: 13609)
48+
TestExecuteWithoutChainIdValidation:testExecute() (gas: 586978)
49+
TestExecuteWithoutChainIdValidation:testExecuteBatch() (gas: 1087245)
50+
TestExecuteWithoutChainIdValidation:testExecuteBatch(uint256) (runs: 256, μ: 5652840, ~: 5424607)
51+
TestExecuteWithoutChainIdValidation:test__codesize() (gas: 66536)
52+
TestExecuteWithoutChainIdValidation:test_revertsWithReservedNonce() (gas: 87070)
53+
TestExecuteWithoutChainIdValidation:test_reverts_whenCallerNotEntryPoint() (gas: 11361)
54+
TestExecuteWithoutChainIdValidation:test_reverts_whenOneCallReverts() (gas: 474940)
55+
TestExecuteWithoutChainIdValidation:test_reverts_whenOneSelectorNotApproved() (gas: 183795)
56+
TestExecuteWithoutChainIdValidation:test_reverts_whenSelectorNotApproved() (gas: 108756)
57+
TestExecuteWithoutChainIdValidation:test_succeeds_whenSelectorAllowed() (gas: 440369)
58+
TestImplementation:testImplementation() (gas: 12845)
59+
TestInitialize:testInitialize() (gas: 22859)
60+
TestInitialize:test_cannotInitImplementation() (gas: 4597145)
61+
TestIsValidSignature:testReturnsInvalidIfPasskeySigButWrongOwnerLength() (gas: 50815)
62+
TestIsValidSignature:testRevertsIfEthereumSignatureButWrongOwnerLength() (gas: 29696)
63+
TestIsValidSignature:testRevertsIfOwnerIsInvalidEthereumAddress() (gas: 29246)
64+
TestIsValidSignature:testSmartWalletSigner() (gas: 4950163)
65+
TestIsValidSignature:testValidateSignatureWithEOASigner() (gas: 30556)
66+
TestIsValidSignature:testValidateSignatureWithEOASignerFailsWithWrongSigner() (gas: 27928)
67+
TestIsValidSignature:testValidateSignatureWithPasskeySigner() (gas: 275337)
68+
TestIsValidSignature:testValidateSignatureWithPasskeySignerFailsBadOwnerIndex() (gas: 46429)
69+
TestIsValidSignature:testValidateSignatureWithPasskeySignerFailsWithWrongBadSignature() (gas: 270491)
70+
TestUpgradeToAndCall:testUpgradeToAndCall() (gas: 26435)
71+
TestValidateUserOp:test_reverts_whenReplayableNonceKeyInvalidForSelector() (gas: 17789)
72+
TestValidateUserOp:test_reverts_whenSelectorInvalidForReplayableNonceKey() (gas: 18987)
73+
TestValidateUserOp:test_reverts_whenUpgradeToImplementationWithNoCode(address) (runs: 256, μ: 30177, ~: 30177)
74+
TestValidateUserOp:test_succeedsWithEOASigner() (gas: 687519)
75+
TestValidateUserOp:test_succeedsWithPasskeySigner() (gas: 854352)
76+
TestValidateUserOp:test_succeeds_whenUpgradeToImplementationWithCode() (gas: 4688309)

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@
1919
[submodule "lib/safe-singleton-deployer-sol"]
2020
path = lib/safe-singleton-deployer-sol
2121
url = https://github.com/wilsoncusack/safe-singleton-deployer-sol
22-
[submodule "lib/v4-core"]
23-
path = lib/v4-core
24-
url = https://github.com/Uniswap/v4-core

foundry.lock

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
"lib/solady": {
1818
"rev": "5ea5d9f57ed6d24a27d00934f4a3448def931415"
1919
},
20-
"lib/v4-core": {
21-
"tag": {
22-
"name": "v4.0.0",
23-
"rev": "e50237c43811bd9b526eff40f26772152a42daba"
24-
}
25-
},
2620
"lib/webauthn-sol": {
2721
"rev": "619f20ab0f074fef41066ee4ab24849a913263b2"
2822
}

lib/v4-core

Lines changed: 0 additions & 1 deletion
This file was deleted.

remappings.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
2+
FreshCryptoLib/=lib/webauthn-sol/lib/FreshCryptoLib/solidity/src/
3+
account-abstraction/=lib/account-abstraction/contracts/
4+
ds-test/=lib/forge-std/lib/ds-test/src/
5+
erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/
6+
forge-std/=lib/forge-std/src/
7+
openzeppelin-contracts/=lib/openzeppelin-contracts/
8+
p256-verifier/=lib/p256-verifier/
9+
safe-singleton-deployer-sol/=lib/safe-singleton-deployer-sol/
10+
solady/=lib/solady/src/
11+
webauthn-sol/=lib/webauthn-sol/src/

0 commit comments

Comments
 (0)