scripts: implement script for creating dumps
This is useful for creating dumps providing various load to benchmark restore or check compatibility with C# nodes. Related #1472.
This commit is contained in:
parent
6f7284906a
commit
67f26859a8
9 changed files with 312 additions and 76 deletions
|
@ -104,7 +104,7 @@ func putOracleRequest(t *testing.T, h util.Uint160, bc *Blockchain,
|
|||
tx.ValidUntilBlock = bc.BlockHeight() + 1
|
||||
tx.NetworkFee = 1_000_000
|
||||
setSigner(tx, testchain.MultisigScriptHash())
|
||||
require.NoError(t, signTx(bc, tx))
|
||||
require.NoError(t, testchain.SignTx(bc, tx))
|
||||
require.NoError(t, bc.AddBlock(bc.newBlock(tx)))
|
||||
return tx.Hash()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue