Skip to content

Commit

Permalink
Merge pull request #348 from ethereum-optimism/02-22-fix_eth_call_fai…
Browse files Browse the repository at this point in the history
…ls_with_insufficient_gas

tempfix: eth_call fails with insufficient gas
  • Loading branch information
jakim929 authored Feb 23, 2025
2 parents 9559ae0 + 74c93ee commit 9d6c6f5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 17 deletions.
3 changes: 3 additions & 0 deletions contracts/script/DeployL2PeripheryContracts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ contract DeployL2PeripheryContracts is Script {

function run() public broadcast {
deployL2NativeSuperchainERC20();
// TODO: Remove once longer term fix is merged
// https://github.com/ethereum-optimism/supersim/pull/347#issuecomment-2676472821
vm.deal(0x0000000000000000000000000000000000000000, 10);
}

function deployL2NativeSuperchainERC20() public {
Expand Down
3 changes: 1 addition & 2 deletions genesis/generated/900-l1-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1310,5 +1310,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": null,
"blobGasUsed": null
}

}
5 changes: 2 additions & 3 deletions genesis/generated/901-l2-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"coinbase": "0x4200000000000000000000000000000000000011",
"alloc": {
"0000000000000000000000000000000000000000": {
"balance": "0x1"
"balance": "0xa"
},
"0000000000000000000000000000000000000001": {
"balance": "0x1"
Expand Down Expand Up @@ -15525,5 +15525,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": "0x0",
"blobGasUsed": "0x0"
}

}
5 changes: 2 additions & 3 deletions genesis/generated/902-l2-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"coinbase": "0x4200000000000000000000000000000000000011",
"alloc": {
"0000000000000000000000000000000000000000": {
"balance": "0x1"
"balance": "0xa"
},
"0000000000000000000000000000000000000001": {
"balance": "0x1"
Expand Down Expand Up @@ -15525,5 +15525,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": "0x0",
"blobGasUsed": "0x0"
}

}
5 changes: 2 additions & 3 deletions genesis/generated/903-l2-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"coinbase": "0x4200000000000000000000000000000000000011",
"alloc": {
"0000000000000000000000000000000000000000": {
"balance": "0x1"
"balance": "0xa"
},
"0000000000000000000000000000000000000001": {
"balance": "0x1"
Expand Down Expand Up @@ -15525,5 +15525,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": "0x0",
"blobGasUsed": "0x0"
}

}
5 changes: 2 additions & 3 deletions genesis/generated/904-l2-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"coinbase": "0x4200000000000000000000000000000000000011",
"alloc": {
"0000000000000000000000000000000000000000": {
"balance": "0x1"
"balance": "0xa"
},
"0000000000000000000000000000000000000001": {
"balance": "0x1"
Expand Down Expand Up @@ -15525,5 +15525,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": "0x0",
"blobGasUsed": "0x0"
}

}
5 changes: 2 additions & 3 deletions genesis/generated/905-l2-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"coinbase": "0x4200000000000000000000000000000000000011",
"alloc": {
"0000000000000000000000000000000000000000": {
"balance": "0x1"
"balance": "0xa"
},
"0000000000000000000000000000000000000001": {
"balance": "0x1"
Expand Down Expand Up @@ -15525,5 +15525,4 @@
"baseFeePerGas": "0x3b9aca00",
"excessBlobGas": "0x0",
"blobGasUsed": "0x0"
}

}

0 comments on commit 9d6c6f5

Please sign in to comment.