diff --git a/common/types/receipt.go b/common/types/receipt.go deleted file mode 100644 index 01d5a72def5..00000000000 --- a/common/types/receipt.go +++ /dev/null @@ -1,14 +0,0 @@ -package types - -import "math/big" - -type Receipt[TX_HASH Hashable, BLOCK_HASH Hashable] interface { - GetStatus() uint64 - GetTxHash() TX_HASH - GetBlockNumber() *big.Int - IsZero() bool - IsUnmined() bool - GetFeeUsed() uint64 - GetTransactionIndex() uint - GetBlockHash() BLOCK_HASH -} diff --git a/common/types/test_utils.go b/common/types/test_utils.go deleted file mode 100644 index 40560f7866c..00000000000 --- a/common/types/test_utils.go +++ /dev/null @@ -1,16 +0,0 @@ -package types - -import ( - "math" - "math/big" - "math/rand" -) - -func RandomID() ID { - id := rand.Int63n(math.MaxInt32) + 10000 - return big.NewInt(id) -} - -func NewIDFromInt(id int64) ID { - return big.NewInt(id) -}