Skip to content

fix: add account address to scopes in e2e_genesis_timestamp test#22238

Closed
AztecBot wants to merge 1 commit into
merge-train/spartanfrom
claudebox/fix-spartan-ci-merge
Closed

fix: add account address to scopes in e2e_genesis_timestamp test#22238
AztecBot wants to merge 1 commit into
merge-train/spartanfrom
claudebox/fix-spartan-ci-merge

Conversation

@AztecBot

@AztecBot AztecBot commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes CI failure in e2e_genesis_timestamp.test.ts caused by empty scopes when using NO_FROM.

Since PR #22136 removed ALL_SCOPES, empty scopes means no account keys are accessible during simulation. DeployAccountMethod.send() auto-injects the contract address via injectContractAddressIntoScopes, but the test used proveInteraction which bypasses that path. Adding accountManager.address to additionalScopes fixes the key validation error.

Test Plan

  • Ran e2e_genesis_timestamp.test.ts locally — passes.

ClaudeBox log: https://claudebox.work/s/21816c72fb89df72?run=1

The test used NO_FROM without additionalScopes, resulting in empty scopes.
Since PR #22136 removed ALL_SCOPES, empty scopes means no account keys
are accessible during simulation. DeployAccountMethod.send() auto-injects
the contract address via injectContractAddressIntoScopes, but proveInteraction
bypasses that path. Adding accountManager.address to additionalScopes fixes
the key validation error.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 1, 2026
@AztecBot

AztecBot commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator Author

Automatically closing this stale claudebox draft PR (no updates for 5+ days). Re-open if still needed.

@AztecBot AztecBot closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant