Skip to content

fix(stylus) - added initialization check #2928

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

Merged
merged 1 commit into from
Aug 7, 2025
Merged

Conversation

ayushboss
Copy link
Contributor

Summary

Making sure Stylus instances of the pyth-receiver can't be initialized twice.

Rationale

Preventing unauthorized reset of contract

How has this been tested?

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

Added new test to make sure double pyth receiver initialization isn't possible with new test.

Copy link

vercel bot commented Aug 6, 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 Aug 6, 2025 6:14pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2025 6:14pm

@ayushboss ayushboss merged commit ea00af3 into main Aug 7, 2025
9 checks passed
@ayushboss ayushboss deleted the stylus-init-check branch August 7, 2025 21:05
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