Skip to content

chore: store account in the actor's context#2194

Open
SantiagoPittella wants to merge 2 commits into
nextfrom
santiagopittella-in-memory-accounts
Open

chore: store account in the actor's context#2194
SantiagoPittella wants to merge 2 commits into
nextfrom
santiagopittella-in-memory-accounts

Conversation

@SantiagoPittella
Copy link
Copy Markdown
Collaborator

closes #2177

This PR removes the query to get the account before executing transactions, and keep the account state in the actor's context. When a transaction targeting the account gets submitted, we do a query to check that it is the expected tx ID. Otherwise we re-fetch the account with the valid state.

@SantiagoPittella SantiagoPittella added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Network tx builder: avoid fetching account from store

1 participant