Skip to content

Conversation

@iuwqyir
Copy link
Contributor

@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
Contributor 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.

3 participants