Skip to content

Conversation

@duelingbenjos
Copy link
Member

@duelingbenjos duelingbenjos commented Oct 17, 2025

This PR fixes the rollback contracts path resolution in tests and validates the failed-tx rollback semantics that rely on fixes implemented in xian-contracting PR #145.

Changes

  • Resolve contracts/rollback path relative to test file.
  • Exercises in-place and nested mutation rollback behavior.\n\nNotes
  • These tests verify defensive-copy behavior introduced for dict/list in Hash._get and Variable default copying in contracting.

…om xian-contracting PR #145

- Resolve contracts/rollback path relative to test file to avoid FileNotFoundError.\n- This suite asserts failed-tx rollback semantics for in-place and nested mutations.\n- Tests validate defensive-copy behavior now in xian-contracting Hash._get and Variable defaults.\n\nRef: xian-network/xian-contracting#145
@duelingbenjos
Copy link
Member Author

The failing tests here are expected and will persist until xian-network/xian-contracting#145 is merged into master.

@duelingbenjos duelingbenjos self-assigned this Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants