-
Notifications
You must be signed in to change notification settings - Fork 278
Initial version of parsePriceFeed with uniqueness validation #1089
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
e9931ef
to
f9e5e8d
Compare
@@ -418,7 +418,7 @@ contract PythWormholeMerkleAccumulatorTest is | |||
assertPriceFeedMessageStored(priceFeedMessages1[0]); | |||
} | |||
|
|||
function testParsePriceFeedUpdatesWithWormholeMerklWorksWithOurOfOrderUpdateMultiCall() | |||
function testParsePriceFeedUpdatesWithWormholeMerklWorksWithOutOfOrderUpdateMultiCall() |
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.
nice catch 😅 there's still a typo "Merkl"
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.
Can you run the gas benchmarks and post them before merging this PR? I wanna know the impact on gas usage. (would be good to add a single gas benchmark test for this new method too)
Gas Benchmarks:
After the changes:
After the changes with 200 optimization runs:
|
Tried to reuse the logic as much as possible to limit additional bytecode.
After the changes the PythUpgradable bytecode is 24.22 KiB.