tutus-chain/pkg/core/native
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
..
native_test Add test files for Lex, Federation, Palam, and Pons native contracts 2025-12-21 04:35:15 +00:00
nativehashes Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativeids Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativenames Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativeprices Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
noderoles Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
annos.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
collocatio.go Complete Collocatio native contract for PIO/EIO/CIO investments 2025-12-21 04:18:23 +00:00
compatibility_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
contract_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_blspoints.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
designate.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
doc.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
eligere.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
federation.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
interop.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
invocation_test.go Fix remaining Neo/Gas references to Tutus/Lub in test files 2025-12-21 02:43:45 +00:00
ledger.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
lex.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
management.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
management_neotest_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
management_test.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
native_lub.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
native_neo_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_nep17.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_tutus.go Rename interop packages neo→tutus and gas→lub 2025-12-21 03:20:53 +00:00
native_tutus_candidate.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
nativenames_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neo_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notary.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
opus.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
oracle.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
oracle_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_types_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
palam.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
policy.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
policy_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
pons.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
role_registry.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
salus.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
scire.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
sese.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
std.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
tribute.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00
util.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
vita.go Add Annos lifespan contract and Eligere voting age integration 2025-12-21 00:55:29 +00:00
vts.go Complete Annos to Tutus rename across codebase 2025-12-21 00:56:43 +00:00