Skip to content

Conversation

@ferranbt
Copy link
Contributor

@ferranbt ferranbt commented May 13, 2025

📝 Summary

Enable revert protection behind a flag --builder.enable-revert-protection. This PR also adds an extra integration test to test the behaviour.

@ferranbt ferranbt requested review from SozinM and avalonche as code owners May 13, 2025 18:00
info.invalid_tx_hashes.insert(tx.tx_hash());
continue;
if self.enable_revert_protection {
num_txs_simulated_fail += 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

think we still want this metric here

Copy link
Collaborator

Choose a reason for hiding this comment

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

should have it outside of the flag

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it resolved now?

@ferranbt ferranbt merged commit b609c17 into main May 13, 2025
3 checks passed
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