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

Add transaction reverts #126

Open
avalonche opened this issue Feb 18, 2025 · 1 comment
Open

Add transaction reverts #126

avalonche opened this issue Feb 18, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@avalonche
Copy link

It would be great to have reverting transactions in contender to test revert protection in the builder

@avalonche avalonche added the enhancement New feature or request label Feb 18, 2025
@rena-ertam028
Copy link

AI tried to solve the issue:

Added support for reverting transactions to test revert protection in the builder:

  1. Added optional 'revert' field to FunctionCallDefinition to mark transactions that should revert
  2. Added revert flag to PendingRunTx to track reverted transactions
  3. Updated TxActor to properly handle and log reverted transactions
  4. Added reverting transaction examples to stress.toml scenario

You can review changes in this commit: rena-ertam028@a1aa060.

Caution

Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants