Regenerate testblocks.acc and update contract hashes for Tutus

Regenerate the basic chain test data file (testblocks.acc) with proper
Tutus/Lub token setup. Update hardcoded contract hashes in server_test.go:

- testContractHashLE (Rubles): 8cf5e6... -> 4ae8b1...
- verifyContractHash: 7f732d... -> 41ea49...
- verifyWithArgsContractHash: e7c553... -> a7b135...
- nnsContractHash: c17da0... -> 9e7816...
- nfsoContractHash: 5635ed... -> 01ad70...
- storageContractHash: c3b3a9... -> 4fc98a...
- block20StateRootLE: 16c5b5... -> c08e1d...

Note: More test fixtures in rpcsrv need updating - tests have hundreds
of hardcoded expected values (tx hashes, balances, etc.) from old chain.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tutus Development 2025-12-22 03:34:01 -05:00
parent 00757090ff
commit 5a810b3508
2 changed files with 7 additions and 7 deletions

View File

@ -83,34 +83,34 @@ const (
genesisBlockHash = "0f8fb4e17d2ab9f3097af75ca7fd16064160fb8043db94909e00dd4e257b9dc4"
// testContractHashLE is an LE hash of NEP-17 "Rubl" contract deployed at block #2
// of basic testing chain.
testContractHashLE = "8cf5e69031cee431d780dd9e4b024bf5bb6e8eba"
testContractHashLE = "4ae8b123905cf5f17c56c7ba03c3e49dd4de6602"
// deploymentTxHash is an LE hash of transaction that deploys NEP-17 "Rubl"
// contract at block #2 of basic testing chain.
deploymentTxHash = "48cd6fcacde126cef88900fd2ca254eafc25cae8152cb343ef7c18352e141356"
// verifyContractHash is an LE hash of "Verify" contract deployed at block #7 of
// basic testing chain.
verifyContractHash = "7f732d9aa2e877a36142344822826721522f2524"
verifyContractHash = "41ea4991de3c83011ad040c5e0837f4f47d088a4"
// verifyContractAVM is a base64-encoded AVM of "Verify" contract deployed at block #7 of
// basic testing chain.
verifyContractAVM = "VwIAQS1RCDBwDBTunqIsJ+NL0BSPxBCOCPdOj1BIskrZMCQE2zBxaBPOStkoJATbKGlK2SgkBNsol0A="
// verifyWithArgsContractHash is an LE hash of "VerifyWithArgs" contract deployed
// at block #10 of basic testing chain.
verifyWithArgsContractHash = "e7c553997feb14dc60b226a662b72f9a98bcdd41"
verifyWithArgsContractHash = "a7b1353ce63445c132b3951185cfda5d3fad3bc9"
// nnsContractHash is an LE hash of NEP-11 non-divisible "examples/nft-nd-nns"
// contract deployed at block #11 of basic testing chain.
nnsContractHash = "c17da07ba65ba62a07134c171cf8c50d02f17995"
nnsContractHash = "9e78165b94215c954e3db4897f8fad0eec57eee5"
// nnsToken1ID is a hex-encoded ID of the first NEP-11 NNS token minted at block
// #14 of basic testing chain.
nnsToken1ID = "6e656f2e636f6d"
// nfsoContractHash is an LE hash of NEP-11 divisible "examples/nft-d" ("NeoFS
// Object") contract deployed at block #17 of basic testing chain.
nfsoContractHash = "5635edb13674bb6f09d18b09fce6b69aee206931"
nfsoContractHash = "01ad70f110f3a42196927b90bd29cda89285e047"
// nfsoToken1ID is a hex-encoded ID of the first NEP-11 NFSO token minted at
// block #18 of basic testing chain.
nfsoToken1ID = "7e244ffd6aa85fb1579d2ed22e9b761ab62e3486"
// storageContractHash is an LE hash of "Storage" contract deployed at block #22
// of basic testing chain.
storageContractHash = "c3b3a914d94326a0aff9197c4d6db418dd4b1b35"
storageContractHash = "4fc98af155564b1540d990346ec793f429827ad8"
// faultedTxHashLE is an LE hash of FAULTed transaction accepted at block #23 of
// basic testing chain.
faultedTxHashLE = "c8d69b83f085eb2608da555016c0debe4e8e6a6e8a78bfa30d3491b910d1a33b"
@ -122,7 +122,7 @@ const (
// not yet deployed to the testing basic chain.
invokescriptContractAVM = "VwIADBQBDAMOBQYMDQIODw0DDgcJAAAAAErZMCQE2zBwaEH4J+yMqiYEEUAMFA0PAwIJAAIBAwcDBAUCAQAOBgwJStkwJATbMHFpQfgn7IyqJgQSQBNA"
// block20StateRootLE is an LE stateroot of block #20 of basic testing chain.
block20StateRootLE = "16c5b5909250dead6695d3a3349909b9ca813ef109598017146a8e0c64658cad"
block20StateRootLE = "c08e1d5ea1da9aa8058044fc9f0b5cd8e1997e6c7cf7ee5cec8de58fd2c19192"
)
var (

Binary file not shown.