forked from TrueCloudLab/neoneo-go
core: log stateroot N20 hash inside TestCreateBasicChain
This commit is contained in:
parent
4291efc8f0
commit
56d5839a72
1 changed files with 4 additions and 0 deletions
|
@ -270,6 +270,10 @@ func initBasicChain(t *testing.T, e *neotest.Executor) {
|
|||
bw.Reset()
|
||||
txSendRaw.EncodeBinary(bw.BinWriter)
|
||||
t.Logf("sendrawtransaction: \n\tbase64: %s\n\tHash LE: %s", base64.StdEncoding.EncodeToString(bw.Bytes()), txSendRaw.Hash().StringLE())
|
||||
|
||||
sr20, err := e.Chain.GetStateModule().GetStateRoot(20)
|
||||
require.NoError(t, err)
|
||||
t.Logf("Block #20 stateroot LE: %s", sr20.Root.StringLE())
|
||||
}
|
||||
|
||||
func newDeployTx(t *testing.T, e *neotest.Executor, sender neotest.Signer, sourcePath, configPath string, deploy bool) (util.Uint256, util.Uint160) {
|
||||
|
|
Loading…
Reference in a new issue