Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ethereum/contracts/pyth/PythState.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ethereum/foundry.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ethereum/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ module.exports = {
settings: {
optimizer: {
enabled: true,
runs: 1000,
runs: 10000,
},
},
},
Expand Down