Skip to content

Conversation

@sledro
Copy link
Member

@sledro sledro commented Oct 28, 2025

No description provided.

sledro and others added 17 commits August 17, 2025 14:06
- Introduced `optional_gasless` feature across multiple crates, including context, handler, and revm.
- Updated configuration structures and methods to handle gasless transaction logic.
- Added tests to validate gasless transaction behavior for EIP-1559.
- Enhanced transaction validation to accommodate gasless transactions.
- Added conditional handling for gasless transactions in the operator fee reimbursement logic.
- Introduced a new configuration flag to determine if a transaction is gasless, improving flexibility in transaction processing.
- Added conditional logic to check for gasless transactions in the operator fee reimbursement process.
- Enhanced the existing fee calculation to account for gasless transactions when determining L1 costs.
- Introduced conditional logic to determine if a transaction is gasless based on the new configuration flag.
- Updated the gas station credits management to use the transaction journal correctly, ensuring proper access and account management.
- Enhanced error handling for loading the gas station account and updating credits.
- Added `apply_gasless_post_execution` function to manage gasless transaction accounting after execution.
- Updated the handler to utilize the new gasless function, improving code organization and readability.
- Enhanced error handling for gasless transactions, ensuring proper credit updates and single-use address tracking.
- Refactored gasless transaction checks to streamline the process and reduce redundancy.
…ciated comment.

- Updated comments for clarity and consistency in the gasless module, including the `GAS_STATION_PREDEPLOY` constant and the `calculate_gas_station_slots` function.
- Removed direct calls to `is_gasless` in favor of a new `is_gasless_effective` function for improved clarity and maintainability.
- Updated transaction validation and fee computation logic to utilize the new gasless check, ensuring consistent handling of gasless transactions.
- Enhanced code organization by consolidating gasless transaction checks, reducing redundancy and improving readability.
- Updated the `is_gasless` function to include a check for `max_priority_fee_per_gas` in EIP-1559 transactions, ensuring accurate identification of gasless transactions.
- Simplified match arms for better readability and maintainability.
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.

3 participants