-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* snapshot, p256-verifier update * deploy send verifier using precompile * include fjord send verifier fixture forgot to use fork in submodule more submodules * save verifier upgrade * version base sepolia verifier deploy * add UpgradeSendVerifier script * fixup home activity spec * fix up specs * fix up tiltfiles
- Loading branch information
Showing
22 changed files
with
482 additions
and
169 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[submodule "packages/contracts/lib/forge-std"] | ||
path = packages/contracts/lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
path = packages/contracts/lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "packages/contracts/lib/openzeppelin-contracts"] | ||
path = packages/contracts/lib/openzeppelin-contracts | ||
url = https://github.com/OpenZeppelin/openzeppelin-contracts | ||
path = packages/contracts/lib/openzeppelin-contracts | ||
url = https://github.com/OpenZeppelin/openzeppelin-contracts | ||
[submodule "packages/contracts/lib/account-abstraction"] | ||
path = packages/contracts/lib/account-abstraction | ||
url = https://github.com/eth-infinitism/account-abstraction | ||
path = packages/contracts/lib/account-abstraction | ||
url = https://github.com/eth-infinitism/account-abstraction | ||
[submodule "packages/contracts/lib/openzeppelin-contracts-upgradeable"] | ||
path = packages/contracts/lib/openzeppelin-contracts-upgradeable | ||
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable | ||
path = packages/contracts/lib/openzeppelin-contracts-upgradeable | ||
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable | ||
[submodule "packages/contracts/lib/p256-verifier"] | ||
path = packages/contracts/lib/p256-verifier | ||
url = https://github.com/daimo-eth/p256-verifier | ||
path = packages/contracts/lib/p256-verifier | ||
url = https://github.com/0xbigboss/p256-verifier |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
AccountFactoryTest:testDeploy() (gas: 240957) | ||
AccountSendUseropTest:testETHTransferOp() (gas: 952654) | ||
AccountSendUseropTest:testSignP256() (gas: 346060) | ||
AccountSendUseropTest:testSimpleOp() (gas: 3135283) | ||
AccountSendUseropTest:testValidUntil() (gas: 1174209) | ||
AccountSigningKeysTest:testAddingAndRemovingKeys() (gas: 251599) | ||
AccountSigningKeysTest:testGetSigningKeys() (gas: 941870) | ||
AccountVerify1271Test:testSignatureMalleability() (gas: 500496) | ||
AccountVerify1271Test:testVerifySig() (gas: 471635) | ||
BaseSepoliaTokenPaymasterTest:testItDoesNotFailOOG() (gas: 2651338) | ||
BaseSepoliaTokenPaymasterTest:testItFails() (gas: 2571863) | ||
BaseSepoliaTokenPaymasterTest:testItFailsOOG() (gas: 2657060) | ||
DeploySendAccountFactoryTest:testItRuns() (gas: 7951846) | ||
DeploySendMerkleDropTest:testItRuns() (gas: 2941015) | ||
DeploySendVerifierTest:testItRuns() (gas: 4011929) | ||
OracleHelperTest:testCannotDeployAsTokenToNativeOracleWithNonZeroAddress() (gas: 261294) | ||
OracleHelperTest:testPriceConversionExamples() (gas: 146743) | ||
OracleHelperTest:testWithOneHopDirectPriceEthToToken() (gas: 107306) | ||
OracleHelperTest:testWithOneHopReversePriceTokenToEth() (gas: 110385) | ||
OracleHelperTest:testWithTwoHopPriceUsdToTokenAndUsdToEth() (gas: 141354) | ||
OracleHelperTest:testWithTwoHopPriceUsdcToTokenAndUsdcToEth() (gas: 141380) | ||
SendCheckHelper:testECDSA(address) (runs: 256, μ: 12083, ~: 12083) | ||
SendCheckTest:testAuthorizedFlow() (gas: 184566) | ||
SendCheckTest:testCannotClaimNonExistentCheck() (gas: 168782) | ||
SendCheckTest:testCannotClaimRedeemedCheck() (gas: 187676) | ||
SendCheckTest:testCannotClaimSelf() (gas: 293872) | ||
SendCheckTest:testCannotCreateCheck() (gas: 152176) | ||
SendCheckTest:testClaimSelf() (gas: 175527) | ||
SendCheckTest:testCreateCheck() (gas: 155899) | ||
SendCheckTest:testECDSA(address) (runs: 256, μ: 12083, ~: 12083) | ||
SendCheckTest:testUnauthorizedFlow() (gas: 182451) | ||
SendMerkleDropTest:test_AllowSingleTrancheClaim() (gas: 104486) | ||
SendMerkleDropTest:test_DenyDoubleClaim() (gas: 35711) | ||
TestUSDCTest:testCoin() (gas: 607178) | ||
TokenPaymaster6Test:testCall() (gas: 154373) | ||
TokenPaymaster6Test:testDeploy() (gas: 15084) | ||
TokenPaymaster6Test:testFuzzTransfersCorrectAmountRewardPool(uint40,uint256) (runs: 256, μ: 303153, ~: 304920) | ||
TokenPaymaster6Test:testFuzz_UpdateOracleConfigSuccess(uint48,uint48,uint256) (runs: 256, μ: 51124, ~: 51237) | ||
TokenPaymaster6Test:testFuzz_UpdatePrice(uint256) (runs: 256, μ: 57659, ~: 57659) | ||
TokenPaymaster6Test:testFuzz_UpdateTokenPaymasterConfigFailMarkupTooHigh(uint256,uint40) (runs: 256, μ: 20723, ~: 21004) | ||
TokenPaymaster6Test:testFuzz_UpdateTokenPaymasterConfigFailMarkupTooLow(uint256,uint40) (runs: 256, μ: 20550, ~: 20289) | ||
TokenPaymaster6Test:testFuzz_UpdateTokenPaymasterConfigSuccess(uint256,uint128,uint48,uint48,uint40,address) (runs: 256, μ: 39579, ~: 39599) | ||
TokenPaymaster6Test:testFuzz_UpdateUniswapConfigSuccess(uint256,uint24,uint8) (runs: 256, μ: 26748, ~: 26913) | ||
TokenPaymaster6Test:testFuzz_WithdrawNativeAsset(uint256) (runs: 256, μ: 47675, ~: 48295) | ||
TokenPaymaster6Test:testFuzz_WithdrawToken(uint256) (runs: 256, μ: 59475, ~: 59919) | ||
TokenPaymaster6Test:testInvalidDataLength() (gas: 100859) | ||
TokenPaymaster6Test:testOnlyOwnerCanUpdateOracleConfig() (gas: 19668) | ||
TokenPaymaster6Test:testOnlyOwnerCanUpdateTokenPaymasterConfig() (gas: 17156) | ||
TokenPaymaster6Test:testOnlyOwnerCanUpdateUniswapConfig() (gas: 14354) | ||
TokenPaymaster6Test:testOwnershipTransfer() (gas: 21890) | ||
TokenPaymaster6Test:testPaymasterShouldRejectIfPostOpGasLimitIsTooLow() (gas: 105175) | ||
TokenPaymaster6Test:testRewardShareTransfersCorrectAmount() (gas: 307242) | ||
TokenPaymaster6Test:testShouldBeAbleToSponsorTheUserOpWhileChargingCorrectAmountOfERC20Tokens() (gas: 302918) | ||
TokenPaymaster6Test:testShouldChargeTheOverdraftTokensIfThePreChargeEndedUpLowerThanTheFinalTransactionCost() (gas: 345595) | ||
TokenPaymaster6Test:testShouldRejectIfAccountDoesNotHaveEnoughTokensOrAllowance() (gas: 151612) | ||
TokenPaymaster6Test:testShouldRevertIfCachedTokenPriceIsExpired() (gas: 200451) | ||
TokenPaymaster6Test:testShouldRevertInTheFirstPostOpRunIfThePreChargeEndedUpLowerThanTheFinalTransactionCostButTheClientHasNoTokensToCoverTheOverdraft() (gas: 375311) | ||
TokenPaymaster6Test:testShouldSponserUserOperationExample() (gas: 345737) | ||
TokenPaymaster6Test:testShouldSponsorUserOperationWithInitCode() (gas: 442183) | ||
TokenPaymaster6Test:testShouldSwapTokensForEtherIfItFallsBelowConfiguredValueAndDepositIt() (gas: 398338) | ||
TokenPaymaster6Test:testShouldUpdateCachedTokenPriceIfTheChangeIsAboveConfiguredPercentage() (gas: 346125) | ||
TokenPaymaster6Test:testShouldUpdateTokenPriceIfCacheIsExpired() (gas: 321959) | ||
TokenPaymaster6Test:testShouldUseCachedTokenPriceIfTheOneSuppliedByTheClientIsWorse() (gas: 297841) | ||
TokenPaymaster6Test:testShouldUseTokenPriceSuppliedByTheClientIfItIsBetterThanCached() (gas: 297489) | ||
TokenPaymaster6Test:testUpdatePrice() (gas: 56938) | ||
TokenPaymaster6Test:testWithdrawNativeAsset() (gas: 52675) | ||
TokenPaymaster6Test:testWithdrawToken(uint256) (runs: 256, μ: 63163, ~: 63607) | ||
UpgradeableVerifierBrick:test() (gas: 184) | ||
VerifierBrick:test() (gas: 120) | ||
VerifierTest:testUpgrade() (gas: 1680407) |
70 changes: 70 additions & 0 deletions
70
packages/contracts/broadcast/DeployFjordSendVerifier.s.sol/84532/run-latest.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x7ccd2d7f386faf63521eb57987e3db26a729a504c54afad2d097d868f0d3f954", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x6c38612d3f645711dd080711021fc1ba998a5628", | ||
"function": "upgradeTo(address)", | ||
"arguments": [ | ||
"0xe46056eBA301069A9E5a166b424b5Cb86b0Cf6E6" | ||
], | ||
"transaction": { | ||
"from": "0x647eb43401e13e995d89cf26cd87e68890ee3f89", | ||
"to": "0x6c38612d3f645711dd080711021fc1ba998a5628", | ||
"gas": "0xd23d", | ||
"value": "0x0", | ||
"input": "0x3659cfe6000000000000000000000000e46056eba301069a9e5a166b424b5cb86b0cf6e6", | ||
"nonce": "0xc", | ||
"chainId": "0x14a34" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x5fc22", | ||
"logs": [ | ||
{ | ||
"address": "0x6c38612d3f645711dd080711021fc1ba998a5628", | ||
"topics": [ | ||
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", | ||
"0x000000000000000000000000e46056eba301069a9e5a166b424b5cb86b0cf6e6" | ||
], | ||
"data": "0x", | ||
"blockHash": "0x2ddc8ebef959db8d081ecc4f9c82c8b148e6d76729d0bdc80dffbb96b29eb930", | ||
"blockNumber": "0xbe69c0", | ||
"transactionHash": "0x7ccd2d7f386faf63521eb57987e3db26a729a504c54afad2d097d868f0d3f954", | ||
"transactionIndex": "0x3", | ||
"logIndex": "0x6", | ||
"removed": false | ||
} | ||
], | ||
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000004020000000000000000000000000000004000000020000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x7ccd2d7f386faf63521eb57987e3db26a729a504c54afad2d097d868f0d3f954", | ||
"transactionIndex": "0x3", | ||
"blockHash": "0x2ddc8ebef959db8d081ecc4f9c82c8b148e6d76729d0bdc80dffbb96b29eb930", | ||
"blockNumber": "0xbe69c0", | ||
"gasUsed": "0x8fc1", | ||
"effectiveGasPrice": "0x499b6", | ||
"from": "0x647eb43401e13e995d89cf26cd87e68890ee3f89", | ||
"to": "0x6c38612d3f645711dd080711021fc1ba998a5628", | ||
"contractAddress": null, | ||
"l1BaseFeeScalar": "0x44d", | ||
"l1BlobBaseFee": "0x1", | ||
"l1BlobBaseFeeScalar": "0xa118b", | ||
"l1Fee": "0xbdc1dc33", | ||
"l1GasPrice": "0x6bb7fcbd", | ||
"l1GasUsed": "0x640" | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1720726138, | ||
"chain": 84532, | ||
"commit": "2850a3b1" | ||
} |
Oops, something went wrong.