mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11915 from ethereum/fix-out-of-sync-gas-costs
Fix breakage on `develop` caused by gas costs that went out of sync
This commit is contained in:
commit
3e2e3d1baa
@ -17,9 +17,9 @@ contract C {
|
||||
// optimize-yul: true
|
||||
// ----
|
||||
// creation:
|
||||
// codeDepositCost: 681000
|
||||
// codeDepositCost: 680600
|
||||
// executionCost: 715
|
||||
// totalCost: 681715
|
||||
// totalCost: 681315
|
||||
// external:
|
||||
// a(): 2285
|
||||
// b(uint256): 4652
|
||||
|
@ -51,11 +51,11 @@ contract C {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test_f() -> true
|
||||
// gas irOptimized: 122655
|
||||
// gas irOptimized: 122656
|
||||
// gas legacy: 125037
|
||||
// gas legacyOptimized: 122605
|
||||
// test_g() -> true
|
||||
// gas irOptimized: 95940
|
||||
// gas irOptimized: 95969
|
||||
// gas legacy: 100656
|
||||
// gas legacyOptimized: 96057
|
||||
// addresses(uint256): 0 -> 0x18
|
||||
|
@ -115,7 +115,7 @@ contract ERC20 {
|
||||
// ----
|
||||
// constructor()
|
||||
// ~ emit Transfer(address,address,uint256): #0x00, #0x1212121212121212121212121212120000000012, 0x14
|
||||
// gas irOptimized: 460447
|
||||
// gas irOptimized: 462361
|
||||
// gas legacy: 861547
|
||||
// gas legacyOptimized: 420959
|
||||
// totalSupply() -> 20
|
||||
@ -124,12 +124,12 @@ contract ERC20 {
|
||||
// gas legacyOptimized: 23368
|
||||
// transfer(address,uint256): 2, 5 -> true
|
||||
// ~ emit Transfer(address,address,uint256): #0x1212121212121212121212121212120000000012, #0x02, 0x05
|
||||
// gas irOptimized: 48514
|
||||
// gas irOptimized: 48503
|
||||
// gas legacy: 49572
|
||||
// gas legacyOptimized: 48575
|
||||
// decreaseAllowance(address,uint256): 2, 0 -> true
|
||||
// ~ emit Approval(address,address,uint256): #0x1212121212121212121212121212120000000012, #0x02, 0x00
|
||||
// gas irOptimized: 26316
|
||||
// gas irOptimized: 26327
|
||||
// gas legacy: 27204
|
||||
// gas legacyOptimized: 26317
|
||||
// decreaseAllowance(address,uint256): 2, 1 -> FAILURE, hex"4e487b71", 0x11
|
||||
@ -138,7 +138,7 @@ contract ERC20 {
|
||||
// gas legacyOptimized: 24077
|
||||
// transfer(address,uint256): 2, 14 -> true
|
||||
// ~ emit Transfer(address,address,uint256): #0x1212121212121212121212121212120000000012, #0x02, 0x0e
|
||||
// gas irOptimized: 28614
|
||||
// gas irOptimized: 28603
|
||||
// gas legacy: 29672
|
||||
// gas legacyOptimized: 28675
|
||||
// transfer(address,uint256): 2, 2 -> FAILURE, hex"4e487b71", 0x11
|
||||
|
Loading…
Reference in New Issue
Block a user