Skip to content

Commit

Permalink
cmd/evm: lint nits
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Sep 7, 2021
1 parent 4e4d17c commit b5c6b86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
1 change: 0 additions & 1 deletion cmd/evm/internal/t8ntool/transaction.go
Expand Up @@ -19,7 +19,6 @@ package t8ntool
import (
"encoding/json"
"errors"
"fmt"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
22 changes: 0 additions & 22 deletions cmd/evm/t8n_test.go
Expand Up @@ -290,25 +290,3 @@ func cmpJson(a, b []byte) (bool, error) {
}
return reflect.DeepEqual(j2, j), nil
}

//func TestFoo(t *testing.T){
// d, _ := rlp.EncodeToBytes(types.Header{
// ParentHash: common.Hash{},
// UncleHash: common.Hash{},
// Coinbase: common.Address{},
// Root: common.Hash{},
// TxHash: common.Hash{},
// ReceiptHash: common.Hash{},
// Bloom: types.Bloom{},
// Difficulty: big.NewInt(123),
// Number: big.NewInt(1),
// GasLimit: 1,
// GasUsed: 2,
// Time: 3,
// Extra: []byte{1,2,3},
// MixDigest: common.Hash{},
// Nonce: types.BlockNonce{},
// BaseFee: nil,
// })
// fmt.Printf("%x\n", d)
//}

0 comments on commit b5c6b86

Please sign in to comment.