Skip to content

Commit 1f93bf7

Browse files
committed
fix: merge, optimizer_runs
1 parent 869766d commit 1f93bf7

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

target_chains/ethereum/contracts/forge-test/PulseScheduler.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ contract SchedulerTest is Test, SchedulerEvents, PulseSchedulerTestUtils {
13541354
PythStructs.PriceFeed[] memory priceFeeds_reduce,
13551355
uint64[] memory slots_reduce
13561356
) = createMockPriceFeedsWithSlots(publishTime + (i * 60), 2);
1357-
mockParsePriceFeedUpdatesWithSlots(
1357+
mockParsePriceFeedUpdatesWithSlotsStrict(
13581358
pyth,
13591359
priceFeeds_reduce,
13601360
slots_reduce
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
[profile.default]
22
solc_version = '0.8.4'
33
optimizer = true
4-
optimizer_runs = 200
4+
optimizer_runs = 10
55
src = 'contracts'
66
# We put the tests into the forge-test directory (instead of test) so that
77
# truffle doesn't try to build them
88
test = 'forge-test'
99

10-
libs = [
11-
'lib',
12-
'node_modules',
13-
]
10+
libs = ['lib', 'node_modules']
1411

1512
# This doesn't work on ../../../node_modules alone because the sources from
1613
# parent directories are also represented as absolute paths and won't doesn't
@@ -20,5 +17,5 @@ libs = [
2017
ignored_warnings_from = [
2118
"lib",
2219
"node_modules/",
23-
"/home/runner/work/pyth-crosschain/pyth-crosschain/node_modules"
20+
"/home/runner/work/pyth-crosschain/pyth-crosschain/node_modules",
2421
]

0 commit comments

Comments
 (0)