@@ -164,7 +164,7 @@ type wrappedStateManager struct {
164164 TrieWriter
165165}
166166
167- func (w * wrappedStateManager ) Shutdown () error { return nil }
167+ func (* wrappedStateManager ) Shutdown () error { return nil }
168168
169169func TestPruningBlockChainUngracefulShutdown (t * testing.T ) {
170170 create := func (db ethdb.Database , gspec * Genesis , lastAcceptedHash common.Hash , _ string ) (* BlockChain , error ) {
@@ -360,7 +360,7 @@ func testRepopulateMissingTriesParallel(t *testing.T, parallelism int) {
360360
361361 // This call generates a chain of 3 blocks.
362362 signer := types.HomesteadSigner {}
363- _ , chain , _ , err := GenerateChainWithGenesis (gspec , blockchain .engine , 10 , 10 , func (i int , gen * BlockGen ) {
363+ _ , chain , _ , err := GenerateChainWithGenesis (gspec , blockchain .engine , 10 , 10 , func (_ int , gen * BlockGen ) {
364364 tx , _ := types .SignTx (types .NewTransaction (gen .TxNonce (addr1 ), addr2 , big .NewInt (10000 ), ethparams .TxGas , nil , nil ), signer , key1 )
365365 gen .AddTx (tx )
366366 })
@@ -534,11 +534,11 @@ func testCanonicalHashMarker(t *testing.T, scheme string) {
534534 }
535535 engine = dummy .NewCoinbaseFaker ()
536536 )
537- _ , forkA , _ , err := GenerateChainWithGenesis (gspec , engine , c .forkA , 10 , func (i int , gen * BlockGen ) {})
537+ _ , forkA , _ , err := GenerateChainWithGenesis (gspec , engine , c .forkA , 10 , func (_ int , _ * BlockGen ) {})
538538 if err != nil {
539539 t .Fatal (err )
540540 }
541- _ , forkB , _ , err := GenerateChainWithGenesis (gspec , engine , c .forkB , 10 , func (i int , gen * BlockGen ) {})
541+ _ , forkB , _ , err := GenerateChainWithGenesis (gspec , engine , c .forkB , 10 , func (_ int , _ * BlockGen ) {})
542542 if err != nil {
543543 t .Fatal (err )
544544 }
@@ -708,7 +708,7 @@ func testCreateThenDelete(t *testing.T, config *params.ChainConfig) {
708708 }
709709 nonce := uint64 (0 )
710710 signer := types.HomesteadSigner {}
711- _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 2 , 10 , func (i int , b * BlockGen ) {
711+ _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 2 , 10 , func (_ int , b * BlockGen ) {
712712 fee := big .NewInt (1 )
713713 if b .header .BaseFee != nil {
714714 fee = b .header .BaseFee
@@ -911,7 +911,7 @@ func TestTransientStorageReset(t *testing.T) {
911911 }
912912 nonce := uint64 (0 )
913913 signer := types.HomesteadSigner {}
914- _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 1 , 10 , func (i int , b * BlockGen ) {
914+ _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 1 , 10 , func (_ int , b * BlockGen ) {
915915 fee := big .NewInt (1 )
916916 if b .header .BaseFee != nil {
917917 fee = b .header .BaseFee
@@ -1009,7 +1009,7 @@ func TestEIP3651(t *testing.T) {
10091009
10101010 signer := types .LatestSigner (gspec .Config )
10111011
1012- _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 1 , 10 , func (i int , b * BlockGen ) {
1012+ _ , blocks , _ , _ := GenerateChainWithGenesis (gspec , engine , 1 , 10 , func (_ int , b * BlockGen ) {
10131013 b .SetCoinbase (aa )
10141014 // One transaction to Coinbase
10151015 txdata := & types.DynamicFeeTx {
0 commit comments