-
Notifications
You must be signed in to change notification settings - Fork 305
pulse-scheduler: init ethereum contracts, subscriptions, updating prices #2572
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
- Updated price feed parsing to allow for a timestamp range of [-10s, now]. - Introduced validation for update conditions, including checks for heartbeat and price deviation. - Added new error handling for outdated timestamps and unmet update conditions. - Refactored subscription status to use a uint256 for last updated timestamp. - Expanded test coverage for update conditions and validation scenarios.
…b/pulse-scheduler/init
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like a good start to me. Feel free to address my comments in follow up PRs, as this is pretty big and it's generally fine to merge as is.
Please do let @ali-bahjati take a look before merging though.
target_chains/ethereum/contracts/contracts/pulse/scheduler/SchedulerState.sol
Show resolved
Hide resolved
target_chains/ethereum/contracts/contracts/pulse/scheduler/Scheduler.sol
Show resolved
Hide resolved
target_chains/ethereum/contracts/contracts/pulse/scheduler/Scheduler.sol
Show resolved
Hide resolved
target_chains/ethereum/contracts/contracts/pulse/scheduler/Scheduler.sol
Show resolved
Hide resolved
target_chains/ethereum/contracts/contracts/pulse/scheduler/Scheduler.sol
Show resolved
Hide resolved
target_chains/ethereum/contracts/contracts/pulse/scheduler/Scheduler.sol
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! looking forward to the subsequent prs.
Summary
Initialize the Pulse Scheduler Ethereum contracts with a base layer of functionality. Follows the structure/boilerplate of the existing Pulse contracts.
Rationale
Add state, functions, and tests for:
How has this been tested?
Up next