Skip to content

Conversation

@Uxio0
Copy link
Member

@Uxio0 Uxio0 commented Jul 2, 2025

Process every Safe together:

  • Less database sessions/transactions
  • Less database queries to get internal txs for every Safe

@Uxio0 Uxio0 force-pushed the optimize-tx-processing-all-safes branch 3 times, most recently from 61239ac to df9f8d2 Compare July 3, 2025 14:26
@Uxio0 Uxio0 marked this pull request as ready for review July 3, 2025 14:26
@Uxio0 Uxio0 requested a review from a team as a code owner July 3, 2025 14:26
for internal_tx_decoded in internal_txs_decoded:
for internal_tx_decoded in internal_txs_decoded_list:
contract_address = internal_tx_decoded.internal_tx._from
contract_addresses.add(contract_address)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This add is redundant now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right

Process every Safe together:
- Less database sessions/transactions
- Less database queries to get internal txs for every Safe
@Uxio0 Uxio0 force-pushed the optimize-tx-processing-all-safes branch from df9f8d2 to 4d74472 Compare July 7, 2025 13:52
@Uxio0 Uxio0 merged commit 1df80c1 into main Jul 7, 2025
8 checks passed
@Uxio0 Uxio0 deleted the optimize-tx-processing-all-safes branch July 7, 2025 14:11
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants