forked from bluealloy/revm
-
Notifications
You must be signed in to change notification settings - Fork 0
feat/gasless-system #3
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
Open
sledro
wants to merge
17
commits into
v87-lightlink
Choose a base branch
from
feat/gasless-2
base: v87-lightlink
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.