Closed cgewecke closed 6 months ago
Min | Max | L2 Avg (Exec) | L1 Avg (Data) | Calls | chf avg | |
---|---|---|---|---|---|---|
VariableCosts | ||||||
addToMap | 45,059 | 135,939 | 101,859 | 2,739 | 4 | 0.24 |
methodThatThrows | - | - | 43,727 | 2,064 | 1 | 0.18 |
otherContractMethod | - | - | 49,939 | 1,932 | 1 | 0.17 |
removeFromMap | 25,069 | 36,253 | 29,263 | 2,598 | 4 | 0.23 |
sendPayment | - | - | 33,312 | 2,456 | 1 | 0.22 |
transferPayment | - | - | 33,302 | 2,456 | 1 | 0.22 |
Wallet | ||||||
sendPayment | - | - | 33,268 | 2,456 | 1 | 0.22 |
transferPayment | - | - | 33,257 | 2,456 | 1 | 0.22 |
Min | Max | L2 Avg (Exec) | L1 Avg (Data) | Block % | chf avg | |
---|---|---|---|---|---|---|
VariableCosts | - | - | 753,821 | 49,848 | 2.5 % | 4.41 |
Wallet | - | - | 213,658 | 13,420 | 0.7 % | 1.19 |
Option | Settings |
---|---|
Solidity: version | 0.8.24 |
Solidity: optimized | false |
Solidity: runs | 200 |
Solidity: viaIR | false |
Block Limit | 30,000,000 |
L1 Base Fee | 46 gwei |
L2 Gas Price | 0.00332 gwei |
Token Price | 2806.78 chf/eth |
Network | optimism |
Checked output vs some tx on Etherscan - variance is < 1%
NOTE: There's a weird thing with the hardhat projects template where
testFiles
paths resolve incorrectly on linux. This doesn't happen on MacOS though... e.gTODO
decimal execution gas pricesunit test and validate against txs from optimistic-scanhandle undefined baseFee, blobBaseFeeuse viem to serialize txgetting small underestimate for L1GasUsed....why? Should be overestimate?upgrade to viem2 .b/c can't serialize EIP1559 fields... hardhat just released this