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

[Feature]: Protorev: Change swaps to backrun to use the Transient Store #7551

Closed
ValarDragon opened this issue Feb 19, 2024 · 1 comment · Fixed by #7665
Closed

[Feature]: Protorev: Change swaps to backrun to use the Transient Store #7551

ValarDragon opened this issue Feb 19, 2024 · 1 comment · Fixed by #7665
Assignees

Comments

@ValarDragon
Copy link
Member

ValarDragon commented Feb 19, 2024

Summary

Currently protorev swaps to backrun uses the KV store, but it gets fully reset every post handler. The cache misses for when it doesn't exist also lead to some extra I/O.

Setting this state also causes some extra gas, that we can spare ourselves. (We also want to start raising the flat amount of gas per write)

Proposed Feature

Lets use the transient store for SwapsToBackrun instead of the normal store.

@ValarDragon
Copy link
Member Author

@davidterpay @NotJeremyLiu ACK'd this idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants