Commit Graph

8 Commits

Author SHA1 Message Date
Tutus Development f006f1623c Native contracts complete - all tests passing 2025-12-27 15:45:47 +00:00
Tutus Development a63b3dcb70 Migrate from GitHub to git.marketally.com
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>
2025-12-27 09:54:31 -05:00
Tutus Development 54d1dab720 Fix compiler neogointernal rename and GAS to Lub branding
- 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
2025-12-21 09:18:57 -05:00
Tutus Development dd826d9bad Complete Tutus/Lub branding in test files
Rename test files and function names to match Tutus/Lub branding:

File Renames:
- neo_test.go → tutus_test.go
- gas_test.go → lub_test.go

Function Renames:
- TestNEO_* → TestTutus_*
- TestGAS_* → TestLub_*
- Specific: TestNEO_GasPerBlock → TestTutus_LubPerBlock
- Specific: TestNEO_RecursiveGASMint → TestTutus_RecursiveLubMint
- Specific: TestNEO_UnclaimedGas → TestTutus_UnclaimedLub

Variable Renames:
- neoCommitteeInvoker → tutusCommitteeInvoker
- neoValidatorInvoker → tutusValidatorInvoker
- gasValidatorInvoker → lubValidatorInvoker
- newNeoCommitteeClient → newTutusCommitteeClient
- newNeoValidatorsClient → newTutusValidatorsClient

Also replaced neotest. → tutustest. across all test files.

Test Status:
- 642/651 tests pass (98.6%)
- 9 InteropAPI tests fail (compiled contracts calling native contracts)
  - Issue is with CALLT/native contract call mechanism, not naming
  - All non-InteropAPI tests pass including new native contracts
2025-12-21 08:40:16 -05:00
Tutus Development aee2d44325 Complete Tutus rebranding - remove all Neo dependencies
External dependencies replaced:
- nspcc-dev/dbft -> tutus-one/tutus-consensus
- nspcc-dev/bbolt -> tutus-one/tutus-bolt
- nspcc-dev/go-ordered-json -> tutus-one/tutus-ordered-json
- nspcc-dev/rfc6979 -> tutus-one/tutus-rfc6979

Internal packages renamed:
- pkg/neotest -> pkg/tutustest
- pkg/neorpc -> pkg/tutusrpc
- pkg/interop/neogointernal -> pkg/interop/tutusinternal
- pkg/rpcclient/neo -> pkg/rpcclient/tutus

CLI branding updated to Tutus throughout.
2025-12-21 06:25:15 -05:00
Tutus Development c07696a18c Rename interop packages neo→tutus and gas→lub
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>
2025-12-21 03:20:53 +00:00
Tutus Development 5598ed7d85 Update all imports from neo-go to tutus-chain
- Updated 3839 import statements in .go files
- Updated all go.mod and go.sum files
- Updated yml and md documentation files
- Module path: github.com/tutus-one/tutus-chain
2025-12-19 14:28:17 +00:00
Tutus Development 62bd7bb153 Initial Tutus chain fork from NeoGo
- Renamed module to github.com/tutus-one/tutus-chain
- Created Tutus network configurations
- Updated Makefile for tutus binary
- Updated service templates
- Added Tutus README
2025-12-19 14:23:04 +00:00