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

fix: don't hard code fee recipient and withdrawals #10

Merged

Conversation

alessandromazza98
Copy link
Contributor

@alessandromazza98 alessandromazza98 commented Oct 3, 2024

This PR generalizes a bit the way how replayor handles withdrawals and the fee recipient.

Previous to this PR, the fee recipient is always hard coded to be the one of OP Stack chains, which is fine but I think it's better to take it directly from the block as we have this information inside the block. This also opens up the possibility to do some backtesting on eth mainnet (by tweaking its normal behaviour of course).

Same thing applies for withdrawals: we can take them directly from the block instead of hard coding them to empty.

@danyalprout

Copy link
Owner

@danyalprout danyalprout left a comment

Choose a reason for hiding this comment

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

Thank you!

@danyalprout danyalprout merged commit c0cd86d into danyalprout:main Oct 3, 2024
2 checks passed
@alessandromazza98 alessandromazza98 deleted the ale/fix-fee-recipient branch October 9, 2024 08:52
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