diff --git a/tests/statedb_insert_chain_transaction_test.go b/tests/statedb_insert_chain_transaction_test.go
index f415122c3da12d725f2e7085433e709f703bf538..ec65502e55ac94e18903a6cb50e95ca77d5786d1 100644
--- a/tests/statedb_insert_chain_transaction_test.go
+++ b/tests/statedb_insert_chain_transaction_test.go
@@ -28,11 +28,11 @@ func TestInsertIncorrectStateRootDifferentAccounts(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 		1: {
-			getBlockTx(from, to, big.NewInt(2000), nil),
+			getBlockTx(from, to, big.NewInt(2000)),
 			fromKey,
 		},
 	})
@@ -56,7 +56,7 @@ func TestInsertIncorrectStateRootDifferentAccounts(t *testing.T) {
 	// insert a correct block
 	blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(data.addresses[1], to, big.NewInt(5000), nil),
+			getBlockTx(data.addresses[1], to, big.NewInt(5000)),
 			data.keys[1],
 		},
 	})
@@ -89,11 +89,11 @@ func TestInsertIncorrectStateRootSameAccount(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 		1: {
-			getBlockTx(from, to, big.NewInt(2000), nil),
+			getBlockTx(from, to, big.NewInt(2000)),
 			fromKey,
 		},
 	})
@@ -117,7 +117,7 @@ func TestInsertIncorrectStateRootSameAccount(t *testing.T) {
 	// insert a correct block
 	blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(5000), nil),
+			getBlockTx(from, to, big.NewInt(5000)),
 			fromKey,
 		},
 	})
@@ -150,11 +150,11 @@ func TestInsertIncorrectStateRootSameAccountSameAmount(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 		1: {
-			getBlockTx(from, to, big.NewInt(2000), nil),
+			getBlockTx(from, to, big.NewInt(2000)),
 			fromKey,
 		},
 	})
@@ -175,7 +175,7 @@ func TestInsertIncorrectStateRootSameAccountSameAmount(t *testing.T) {
 	// insert a correct block
 	blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 	})
@@ -208,11 +208,11 @@ func TestInsertIncorrectStateRootAllFundsRoot(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 		1: {
-			getBlockTx(from, to, big.NewInt(2000), nil),
+			getBlockTx(from, to, big.NewInt(2000)),
 			fromKey,
 		},
 	})
@@ -233,7 +233,7 @@ func TestInsertIncorrectStateRootAllFundsRoot(t *testing.T) {
 	// insert a correct block
 	blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 	})
@@ -266,11 +266,11 @@ func TestInsertIncorrectStateRootAllFunds(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(3000), nil),
+			getBlockTx(from, to, big.NewInt(3000)),
 			fromKey,
 		},
 		1: {
-			getBlockTx(data.addresses[1], to, big.NewInt(2000), nil),
+			getBlockTx(data.addresses[1], to, big.NewInt(2000)),
 			data.keys[1],
 		},
 	})
@@ -290,7 +290,7 @@ func TestInsertIncorrectStateRootAllFunds(t *testing.T) {
 	// insert a correct block
 	blockchain, blocks, receipts, err = genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(1000), nil),
+			getBlockTx(from, to, big.NewInt(1000)),
 			fromKey,
 		},
 	})
@@ -326,7 +326,7 @@ func TestAccountDeployIncorrectRoot(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(10), nil),
+			getBlockTx(from, to, big.NewInt(10)),
 			fromKey,
 		},
 		1: {
@@ -396,7 +396,7 @@ func TestAccountCreateIncorrectRoot(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(10), nil),
+			getBlockTx(from, to, big.NewInt(10)),
 			fromKey,
 		},
 		1: {
@@ -466,7 +466,7 @@ func TestAccountUpdateIncorrectRoot(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(10), nil),
+			getBlockTx(from, to, big.NewInt(10)),
 			fromKey,
 		},
 		1: {
@@ -545,7 +545,7 @@ func TestAccountDeleteIncorrectRoot(t *testing.T) {
 
 	blockchain, blocks, receipts, err := genBlocks(data.genesisSpec, map[int]tx{
 		0: {
-			getBlockTx(from, to, big.NewInt(10), nil),
+			getBlockTx(from, to, big.NewInt(10)),
 			fromKey,
 		},
 		1: {
@@ -718,9 +718,9 @@ func genBlocks(gspec *core.Genesis, txs map[int]tx) (*core.BlockChain, []*types.
 
 type blockTx func(_ *core.BlockGen, backend bind.ContractBackend) (*types.Transaction, bool)
 
-func getBlockTx(from common.Address, to common.Address, amount *big.Int, data []byte) blockTx {
+func getBlockTx(from common.Address, to common.Address, amount *big.Int) blockTx {
 	return func(block *core.BlockGen, _ bind.ContractBackend) (*types.Transaction, bool) {
-		return types.NewTransaction(block.TxNonce(from), to, amount, 21000, new(big.Int), data), false
+		return types.NewTransaction(block.TxNonce(from), to, amount, 21000, new(big.Int), nil), false
 	}
 }