You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No multi-contract integration test verifying state isolation between two deployed instances #169
plan.md's Testing section explicitly asks for: "Multi-contract integration — write an integration test that deploys two contract instances and verifies that guardian state does not leak between them." No existing test deploys two VeroContract instances in the same test and asserts their storage is isolated.
Why it matters
All contract state lives in instance storage (per README.md's Storage Design section), which is scoped per-deployment — but that scoping is a Soroban platform guarantee this project has never actually exercised with a test, and instance-storage bugs (e.g. a future refactor accidentally using shared/persistent storage) wouldn't be caught by any existing single-instance test.
Suggested fix
Add a test that deploys two separate VeroContract instances (two contract_ids from env.register_contract), initializes each independently with different admins/tokens, adds a guardian to only one, and asserts is_guardian/get_reputation/get_task on the other instance shows no leakage.
Acceptance criteria
Test deploys two instances and asserts complete state isolation across guardians, tasks, and reputation
Activity
IfyJustin91 commentedon Aug 24, 2026
hi, i would like to work on this issue
grantfox-oss commentedon Aug 24, 2026
🦊 GrantFox — @IfyJustin91 has been assigned to this issue as part of the Third Campaign campaign!
Next steps:
Closes #169)Good luck! Track your progress on GrantFox.
grantfox-oss commentedon Aug 30, 2026
🎉 This issue has been marked as completed on GrantFox!
@IfyJustin91's PR #308 was approved and merged by @N-thnI.
🏆 @IfyJustin91: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (993 total points). Track your full progress on GrantFox.
👏 Great work, @IfyJustin91! Keep contributing to Vero-protocol.
test: multi-contract state isolation integration test (Vero-protocol#169