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

(chore): Fortuna refactor #2372

Merged
merged 7 commits into from
Feb 12, 2025
Merged

(chore): Fortuna refactor #2372

merged 7 commits into from
Feb 12, 2025

Conversation

jayantk
Copy link
Contributor

@jayantk jayantk commented Feb 12, 2025

Pure move PR that just moves logic around to help isolate reusable ethereum transaction logic. I made a new eth_utils module to hold the reusable stuff. I also split out the contents of the keeper file into multiple files in the new keeper module.

There is still some refactoring to do around process_event and the escalator policy and such, but i will do that separately. The modules can also be renamed, but again i will address later.

Copy link

vercel bot commented Feb 12, 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 Feb 12, 2025 0:28am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 0:28am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 0:28am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Feb 12, 2025 0:28am
entropy-debugger ⬜️ Ignored (Inspect) Feb 12, 2025 0:28am
insights ⬜️ Ignored (Inspect) Feb 12, 2025 0:28am

tracing,
};

pub async fn send_and_confirm<A: Middleware>(contract_call: ContractCall<A, ()>) -> Result<()> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: the function signatures of this function and the one below changed very slightly so that they don't depend on the pyth-specific type declarations in the chain/ module.

@jayantk jayantk merged commit 32abba5 into main Feb 12, 2025
10 checks passed
@jayantk jayantk deleted the fortuna_refactor branch February 12, 2025 01:14
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