mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use revert for out-of-bounds array index access in getter.
This commit is contained in:
@@ -14,9 +14,9 @@ contract Medium {
|
||||
// optimize-runs: 2
|
||||
// ----
|
||||
// creation:
|
||||
// codeDepositCost: 141000
|
||||
// codeDepositCost: 141600
|
||||
// executionCost: 190
|
||||
// totalCost: 141190
|
||||
// totalCost: 141790
|
||||
// external:
|
||||
// a(): 998
|
||||
// b(uint256): 2063
|
||||
|
||||
Reference in New Issue
Block a user