Skip to content

[OpenAI Codex] [ Crypto ] Fix PriceOracle validation and fallback#4434

Closed
justusaugust wants to merge 1 commit into
UnsafeLabs:mainfrom
justusaugust:codex/crypto-priceoracle-915
Closed

[OpenAI Codex] [ Crypto ] Fix PriceOracle validation and fallback#4434
justusaugust wants to merge 1 commit into
UnsafeLabs:mainfrom
justusaugust:codex/crypto-priceoracle-915

Conversation

@justusaugust
Copy link
Copy Markdown

@justusaugust justusaugust commented May 25, 2026

/claim #915

Summary

  • Validate Chainlink round completeness, positive prices, and nonzero timestamps before returning a price.
  • Add stale-price fallback support with owner-configurable staleness and fallback feed updates.
  • Emit StalePrice when the primary feed is stale and add a Solidity runtime test for valid, stale fallback, both stale, negative, incomplete, and owner-only configuration paths.

Verification

  • npm install --no-package-lock
  • npm test

Demo Video

@github-actions
Copy link
Copy Markdown
Contributor

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

@github-actions github-actions Bot closed this May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant