Skip to content

include auth list in tx data for ERC-7702 #200

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

iuwqyir
Copy link
Collaborator

@iuwqyir iuwqyir commented May 16, 2025

TL;DR

Added support for transaction authorization lists in the transaction data model.

What changed?

  • Added a new AuthorizationListJson field to the Transaction and TransactionModel structs
  • Updated the serializer to extract and process authorization list data from transactions
  • Modified ClickHouse database schema to include the new authorization_list column
  • Updated SQL scripts for table creation and data insertion to accommodate the new field
  • Adjusted database operations to handle the new field during transaction insertions

How to test?

  1. Deploy the updated schema to a test environment
  2. Process transactions that include authorization lists
  3. Verify that the authorization list data is correctly stored in the database
  4. Query transactions with authorization lists to ensure the data is retrievable
  5. Check that existing functionality continues to work with the schema changes

Why make this change?

This change adds support for authorization lists in transactions, which is a feature in ERC-7702. By storing this data, the system can now track and analyze transactions that utilize authorization lists, and validate transcation type 4

Copy link
Collaborator Author

iuwqyir commented May 16, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@iuwqyir iuwqyir marked this pull request as ready for review May 16, 2025 13:50
@iuwqyir iuwqyir force-pushed the 05-16-include_auth_list_in_tx_data_for_erc-7702 branch from 6f6e48b to ae0f2b2 Compare May 16, 2025 14:47
@iuwqyir iuwqyir changed the base branch from 05-16-better_logging_in_case_of_jsonrpc_errors to graphite-base/200 May 16, 2025 17:33
@iuwqyir iuwqyir force-pushed the 05-16-include_auth_list_in_tx_data_for_erc-7702 branch from ae0f2b2 to 8d1d715 Compare May 16, 2025 17:33
@graphite-app graphite-app bot changed the base branch from graphite-base/200 to main May 16, 2025 17:33
@iuwqyir iuwqyir force-pushed the 05-16-include_auth_list_in_tx_data_for_erc-7702 branch from 8d1d715 to dad9f7b Compare May 16, 2025 17:33
@iuwqyir iuwqyir merged commit 210ebd3 into main May 16, 2025
5 checks passed
@iuwqyir iuwqyir deleted the 05-16-include_auth_list_in_tx_data_for_erc-7702 branch May 16, 2025 17:47
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