Skip to content

Conversation

swimricky
Copy link
Contributor

@swimricky swimricky commented Jun 8, 2023

Summary

Optimize gas & bytesize for parse/updatePriceFeeds

Changes

  • parse accumulator price feed updates one-by-one (similar to batch price attestations)
  • combine/inline methods in PythAccumulator

Notes

@vercel
Copy link

vercel bot commented Jun 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Jun 8, 2023 8:35pm
xc-admin-frontend ⬜️ Ignored (Inspect) Jun 8, 2023 8:35pm

@swimricky swimricky requested review from jayantk and ali-behjati and removed request for jayantk June 8, 2023 17:41
@swimricky swimricky marked this pull request as ready for review June 8, 2023 17:42
@swimricky swimricky changed the title [target-chains/eth] - optimize parse/updatePriceFeeds for gas & bytesize [eth] - optimize parse/updatePriceFeeds for gas & bytesize Jun 8, 2023
@swimricky swimricky marked this pull request as draft June 8, 2023 18:01
Copy link
Contributor

@jayantk jayantk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@swimricky swimricky marked this pull request as ready for review June 8, 2023 20:35
@swimricky swimricky merged commit 31e8d02 into main Jun 8, 2023
@swimricky swimricky deleted the parse-accumulators-optimization branch June 8, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants