Update all module paths and import statements from github.com/tutus-one
to git.marketally.com/tutus-one for self-hosted Git server migration.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Regenerated test fixtures after tutusrpc/tutusinternal rename caused
alphabetical import order changes:
- rpcclient/* now sorts before tutusrpc/*
- storage now sorts before tutusinternal
Used rewriteExpectedOutputs flag to regenerate:
- testdata/nex/nex.go
- testdata/nameservice/nns.go
- testdata/gas/gas.go
- testdata/nonepiter/iter.go
- rpcbindings/*/rpcbindings_test.go
Fixed embedded expected strings in generate_test.go.
Test status: 104 PASS, 10 FAIL (91.3% pass rate)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Test fixture updates after token symbol changes:
- CLI: Add TUT/LUB symbol matching in nep17.go token lookup
- CLI: Update fee display from GAS to LUB in query output
- CLI: Replace NEO:/GAS: with TUT:/LUB: in test balance strings
- Config: Rename InitialGASSupply -> InitialLubSupply
- Examples: Add replace directives to all example go.mod files
Token mapping:
- TUT (symbol) / Tutus (display name) - governance token
- LUB (symbol) / Lub (display name) - utility/fee token
Test status: 110 PASS, 11 FAIL (90.9% pass rate)
Remaining failures are Windows file locking issues, not token-related.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix neogointernal -> tutusinternal in compiler/analysis.go
This was causing CALLT instructions to not be generated when
compiling contracts that call native contract methods
- Rename InitialGASSupply -> InitialLubSupply across codebase
- Update log messages from 'gas' to 'Lub'
- Fix nativehashes.Lub -> nativehashes.LubToken in query_test.go
Convert CRLF to LF line endings for consistent cross-platform
development. Affects:
- .github/workflows/*.yml
- cli/smartcontract/rpcbindings tests
- cli/smartcontract/testdata
- scripts/*.sh
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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>
Update test files that still referenced nativenames.Neo, nativenames.Gas,
nativehashes.NeoToken, and nativehashes.GasToken:
- cli/nep_test/nep11_test.go
- cli/nep_test/nep17_test.go
- cli/query/query_test.go
- internal/contracts/contracts_test.go
- pkg/core/bench_test.go
- pkg/core/blockchain_neotest_test.go
- pkg/core/custom_native_test.go
- pkg/core/interop/runtime/ext_test.go
- pkg/core/native/invocation_test.go
- pkg/services/notary/core_test.go
- pkg/services/rpcsrv/server_test.go
- pkg/services/stateroot/service_test.go
Note: Some tests (TestNEO_*, TestManagement_GenesisNativeState) still fail
due to hardcoded contract hashes from the original NEO codebase. These
tests would require updating the expected hashes or the test contracts.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add replace directive for local pkg/interop module
- Fix Makefile sed pattern for MODVERSION extraction
- Update CLI branding to Tutus
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>