Skip to content

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