Skip to content
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

Filter out account ids on failed transactions #11854

Merged
merged 2 commits into from
Sep 26, 2022

Conversation

psteckler
Copy link
Member

@psteckler psteckler commented Sep 20, 2022

In Block.account_ids_accessed, filter out signed command receivers and zkApps account updates for failed transactions. We were getting errors looking up accounts in the staged ledger when creating precomputed blocks for account ids claimed to be accessed in blocks.

The function accounts_accessed, in Signed_command, Zkapp_command, Transaction, and User_command, now takes a transaction status, to do the filtering needed. Add a new function accounts_referenced that does not filter out any account ids.

This may be a fix for #11861.

@psteckler psteckler requested a review from a team as a code owner September 20, 2022 02:12
@psteckler psteckler added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Sep 20, 2022
@psteckler psteckler merged commit 1e0cec9 into develop Sep 26, 2022
@psteckler psteckler deleted the feature/filter-failing-txns-acct-ids branch September 26, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
berkeley-rampup ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants