Skip to content
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

fix(target_chains/fuel): address audit #1799

Merged
merged 3 commits into from
Jul 26, 2024
Merged

fix(target_chains/fuel): address audit #1799

merged 3 commits into from
Jul 26, 2024

Conversation

cctdaniel
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jul 26, 2024

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 Jul 26, 2024 5:05am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Jul 26, 2024 5:05am

Comment on lines +178 to +182
require(
publish_time <= timestamp(),
PythError::FuturePriceNotAllowed,
);

Copy link
Contributor Author

@cctdaniel cctdaniel Jul 26, 2024

Choose a reason for hiding this comment

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

added a check here to ensure that future publish_time is not allowed to address PN-01 & PN-02

@cctdaniel cctdaniel merged commit 1bad16e into main Jul 26, 2024
5 checks passed
@cctdaniel cctdaniel deleted the fuel-audit branch July 26, 2024 08:00
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