[eth]: Improve optimization runs to 10000 (#406)
* Update a deprecated state var comment * Improve optimization runs 10000
This commit is contained in:
parent
33f5b8a5bf
commit
f8447f871e
|
@ -30,8 +30,7 @@ contract PythStorage {
|
|||
// with a lower or equal sequence number will be discarded. This prevents double-execution,
|
||||
// and also makes sure that messages are executed in the right order.
|
||||
uint64 lastExecutedGovernanceSequence;
|
||||
// Mapping of cached price information
|
||||
// priceId => PriceInfo
|
||||
// After a backward-incompatible change in PriceFeed this mapping got deprecated.
|
||||
mapping(bytes32 => PythDeprecatedStructs.DeprecatedPriceInfoV2) _deprecatedLatestPriceInfoV2;
|
||||
// Index of the governance data source, increased each time the governance data source
|
||||
// changes.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[profile.default]
|
||||
solc_version = '0.8.4'
|
||||
optimizer = true
|
||||
optimizer_runs = 1000
|
||||
optimizer_runs = 10000
|
||||
src = 'contracts'
|
||||
# We put the tests into the forge-test directory (instead of test) so that
|
||||
# truffle doesn't try to build them
|
||||
|
|
|
@ -230,7 +230,7 @@ module.exports = {
|
|||
settings: {
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
runs: 1000,
|
||||
runs: 10000,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue