Skip to content

Conversation

@tejasbadadare
Copy link
Contributor

Summary

Apply the checks-effects-interactions pattern -- update the balance before the Pyth parse call, even though there is a low chance of a reentrancy attack since we control the Pyth contract.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented May 15, 2025

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:45pm

@ali-behjati ali-behjati merged commit cfc7a1d into main May 19, 2025
11 checks passed
@ali-behjati ali-behjati deleted the tb/pulse/update-bal-before-parse-call branch May 19, 2025 11:30
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.

3 participants