Skip to content

Conversation

avalonche
Copy link
Collaborator

@avalonche avalonche commented Oct 3, 2025

📝 Summary

Add permit function calls so that tee signer don't need funding to do the flashtestation transactions. Adds additional flashtestation tests and improves error handling.

CLI Changes

--flashtestations.use-permit enables the permit contract call and does not attempt to fund the tee key. It would use the builder key and many flags such as --flashtestations.rpc-url, --flashtestations.funding-key will not be needed to support flashtestations


✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@avalonche avalonche force-pushed the flashtestations-permit branch 2 times, most recently from 397a271 to ad61301 Compare October 4, 2025 07:22
@avalonche avalonche force-pushed the flashtestations-permit branch from ad61301 to 75e520c Compare October 4, 2025 09:19

pub trait BuilderTransactions<ExtraCtx: Debug + Default = ()>: Debug {
fn simulate_builder_txs<Extra: Debug + Default>(
pub trait BuilderTransactions<ExtraCtx: Debug + Default = (), Extra: Debug + Default = ()> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

it starts to look scary :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we can move Extra fields to ExtraCtx :)

@avalonche avalonche mentioned this pull request Oct 6, 2025
3 tasks
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