Complete the Tutus/Lub rename across the interop layer: Package Renames: - pkg/interop/native/neo → pkg/interop/native/tutus - pkg/interop/native/gas → pkg/interop/native/lub Hash Updates: - Update Hash constants to match new TutusToken/LubToken hashes - Update all hardcoded contract hashes in test manifests Method Renames (native contract): - getGasPerBlock → getLubPerBlock - setGasPerBlock → setLubPerBlock - unclaimedGas → unclaimedLub Struct Field Renames: - AccountState.LastGasPerVote → LastLubPerVote Import Updates: - All files importing interop/native/neo now use interop/native/tutus - All files importing interop/native/gas now use interop/native/lub - Package usage: neo.* → tutus.*, gas.* → lub.* Test Updates: - native_test/neo_test.go: Updated method names and embedded contract - native_test/common_test.go: LubPerBlock naming - compiler/native_test.go: Use cs.Tutus()/cs.Lub() methods - All test manifests updated with new hashes RPC Client Updates: - rpcclient/neo/neo.go: setLubMethod constant and method calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| management_helper1.manifest.json | ||
| management_helper1.nef | ||
| management_helper2.manifest.json | ||
| management_helper2.nef | ||
README.md
Management helper contracts
Management helper contracts NEF and manifest files are generated automatically by
TestGenerateHelperContracts and are used in tests. Do not modify these files manually.
To regenerate these files:
- Open
TestGenerateHelperContractsand setsaveStateflag totrue. - Run
TestGenerateHelperContracts. - Set
saveStateback tofalse.