mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 09:21:11 +00:00
fmt
This commit is contained in:
parent
6aa8623f0f
commit
0e2a533a68
@ -54,7 +54,7 @@ func TestInsertIncorrectStateRootDifferentAccounts(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a correct block
|
// insert a correct block
|
||||||
blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
|
blockchain, blocks, _, err = genBlocks(data.genesisSpec, map[int]tx{
|
||||||
0: {
|
0: {
|
||||||
getBlockTx(data.addresses[1], to, big.NewInt(5000)),
|
getBlockTx(data.addresses[1], to, big.NewInt(5000)),
|
||||||
data.keys[1],
|
data.keys[1],
|
||||||
@ -115,7 +115,7 @@ func TestInsertIncorrectStateRootSameAccount(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a correct block
|
// insert a correct block
|
||||||
blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
|
blockchain, blocks, _, err = genBlocks(data.genesisSpec, map[int]tx{
|
||||||
0: {
|
0: {
|
||||||
getBlockTx(from, to, big.NewInt(5000)),
|
getBlockTx(from, to, big.NewInt(5000)),
|
||||||
fromKey,
|
fromKey,
|
||||||
@ -173,7 +173,7 @@ func TestInsertIncorrectStateRootSameAccountSameAmount(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a correct block
|
// insert a correct block
|
||||||
blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
|
blockchain, blocks, _, err = genBlocks(data.genesisSpec, map[int]tx{
|
||||||
0: {
|
0: {
|
||||||
getBlockTx(from, to, big.NewInt(1000)),
|
getBlockTx(from, to, big.NewInt(1000)),
|
||||||
fromKey,
|
fromKey,
|
||||||
@ -231,7 +231,7 @@ func TestInsertIncorrectStateRootAllFundsRoot(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a correct block
|
// insert a correct block
|
||||||
blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
|
blockchain, blocks, _, err = genBlocks(data.genesisSpec, map[int]tx{
|
||||||
0: {
|
0: {
|
||||||
getBlockTx(from, to, big.NewInt(1000)),
|
getBlockTx(from, to, big.NewInt(1000)),
|
||||||
fromKey,
|
fromKey,
|
||||||
@ -288,7 +288,7 @@ func TestInsertIncorrectStateRootAllFunds(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// insert a correct block
|
// insert a correct block
|
||||||
blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
|
blockchain, blocks, _, err = genBlocks(data.genesisSpec, map[int]tx{
|
||||||
0: {
|
0: {
|
||||||
getBlockTx(from, to, big.NewInt(1000)),
|
getBlockTx(from, to, big.NewInt(1000)),
|
||||||
fromKey,
|
fromKey,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user