-
Notifications
You must be signed in to change notification settings - Fork 260
chore(target_chains/ethereum): cut a release for price feeds contracts #2683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1171,7 +1171,7 @@ contract EchoTest is Test, EchoEvents, IEchoConsumer, EchoTestUtils { | |
assertApproxEqRel( | ||
gas2Used, | ||
gas1Used * 2, | ||
0.1e18, // 10% tolerance | ||
0.2e18, // 20% tolerance | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tejasbadadare strangely the difference got to 19% here which probably means that it has got more optimized so does a better job on longer operations. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh wow nice. The alternative explanation is that gas2Used went up and that the gas scaling isn't as linear as we thought :P |
||
"Gas usage should scale roughly linearly" | ||
); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ module.exports = { | |
], | ||
}, | ||
solidity: { | ||
version: "0.8.4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any tradeoffs for going back a compiler version? Also it's weird that the solidity github's latest release is 0.8.3 but 0.8.4 came out years ago ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the latest release is 0.8.30* There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh lol i mixed up 0.8.3 and 0.8.30 🤦 |
||
version: "0.8.29", | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't change the behaviour, after the ethereum merge (PoW -> PoS) this was repurposed to be the pseudo random number that beacon chain creates.