tutus-chain/pkg/core/native/native_test
Tutus Development d85de47b80 Add test files for Lex, Federation, Palam, and Pons native contracts
Add comprehensive test suites for four native contracts:

Lex (22 tests):
- Law count and queries for non-existent laws
- Constitutional rights retrieval (14 immutable rights)
- Rights restriction with due process requirements
- Law lifecycle (enact, repeal, suspend, reinstate)

Federation (18 tests):
- Fee percent configuration (default 50%)
- Visitor registry (register, unregister, queries)
- Asylum system (grant, revoke, queries)
- Naturalization (permanent citizenship transfer)
- Inter-chain debt tracking and settlement

Palam (19 tests):
- Transaction flow tracking (record, attach, query)
- Encrypted payload management
- Declassification requests (role-based authorization)
- Access logging and auditing

Pons (22 tests):
- Bilateral agreement lifecycle
- Cross-border verification requests
- International settlement workflow
- Credential sharing with partner chains

All tests follow existing neotest patterns and pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 04:35:15 +00:00
..
helpers/policyhelper Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
annos_test.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
collocatio_test.go Complete Collocatio native contract for PIO/EIO/CIO investments 2025-12-21 04:18:23 +00:00
common_test.go Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
cryptolib_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
cryptolib_verification_test.go Rename NEO to Annos and GAS to Lub native contracts 2025-12-20 11:34:42 +00:00
designate_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
eligere_test.go Add Eligere native contract tests 2025-12-20 06:44:00 +00:00
federation_test.go Add test files for Lex, Federation, Palam, and Pons native contracts 2025-12-21 04:35:15 +00:00
gas_test.go Rename NEO to Annos and GAS to Lub native contracts 2025-12-20 11:34:42 +00:00
ledger_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
lex_test.go Add test files for Lex, Federation, Palam, and Pons native contracts 2025-12-21 04:35:15 +00:00
management_test.go Complete Collocatio native contract for PIO/EIO/CIO investments 2025-12-21 04:18:23 +00:00
neo_test.go Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
notary_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
opus_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
oracle_test.go Rename NEO to Annos and GAS to Lub native contracts 2025-12-20 11:34:42 +00:00
palam_test.go Add test files for Lex, Federation, Palam, and Pons native contracts 2025-12-21 04:35:15 +00:00
policy_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
pons_test.go Add test files for Lex, Federation, Palam, and Pons native contracts 2025-12-21 04:35:15 +00:00
role_registry_test.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
salus_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
scire_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
sese_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury_test.go Rename NEO to Annos and GAS to Lub native contracts 2025-12-20 11:34:42 +00:00
tribute_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
vita_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
vts_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00