Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 8dba999

Browse files
committed
core/types: sort alphabetically imports
1 parent 65f999e commit 8dba999

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

core/types/imports.go

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,22 @@ import (
1111
// So we list them all here to avoid having many individual files.
1212
type (
1313
AccessList = ethtypes.AccessList
14-
AccessTuple = ethtypes.AccessTuple
1514
AccessListTx = ethtypes.AccessListTx
15+
AccessTuple = ethtypes.AccessTuple
16+
BlobTx = ethtypes.BlobTx
17+
BlobTxSidecar = ethtypes.BlobTxSidecar
1618
Bloom = ethtypes.Bloom
19+
DynamicFeeTx = ethtypes.DynamicFeeTx
20+
HomesteadSigner = ethtypes.HomesteadSigner
21+
LegacyTx = ethtypes.LegacyTx
1722
Receipt = ethtypes.Receipt
18-
Receipts = ethtypes.Receipts
1923
ReceiptForStorage = ethtypes.ReceiptForStorage
20-
LegacyTx = ethtypes.LegacyTx
21-
DynamicFeeTx = ethtypes.DynamicFeeTx
22-
BlobTx = ethtypes.BlobTx
23-
BlobTxSidecar = ethtypes.BlobTxSidecar
24+
Receipts = ethtypes.Receipts
2425
Signer = ethtypes.Signer
25-
HomesteadSigner = ethtypes.HomesteadSigner
26-
27-
Transaction = ethtypes.Transaction
28-
Transactions = ethtypes.Transactions
29-
TxByNonce = ethtypes.TxByNonce
30-
TxData = ethtypes.TxData
26+
Transaction = ethtypes.Transaction
27+
Transactions = ethtypes.Transactions
28+
TxByNonce = ethtypes.TxByNonce
29+
TxData = ethtypes.TxData
3130
)
3231

3332
// The following constants are used directly as their upstream definitions.
@@ -38,39 +37,39 @@ const (
3837
ReceiptStatusSuccessful = ethtypes.ReceiptStatusSuccessful
3938

4039
// Transaction types.
41-
LegacyTxType = ethtypes.LegacyTxType
4240
AccessListTxType = ethtypes.AccessListTxType
43-
DynamicFeeTxType = ethtypes.DynamicFeeTxType
4441
BlobTxType = ethtypes.BlobTxType
42+
DynamicFeeTxType = ethtypes.DynamicFeeTxType
43+
LegacyTxType = ethtypes.LegacyTxType
4544
)
4645

4746
// The following functions are used directly as their upstream definitions.
4847
var (
4948
BloomLookup = ethtypes.BloomLookup
5049
BytesToBloom = ethtypes.BytesToBloom
5150
CreateBloom = ethtypes.CreateBloom
52-
NewReceipt = ethtypes.NewReceipt
5351
NewContractCreation = ethtypes.NewContractCreation
52+
NewReceipt = ethtypes.NewReceipt
5453
NewTransaction = ethtypes.NewTransaction
5554

5655
// Signers
57-
NewEIP155Signer = ethtypes.NewEIP155Signer
58-
NewEIP2930Signer = ethtypes.NewEIP2930Signer
59-
NewLondonSigner = ethtypes.NewLondonSigner
60-
NewCancunSigner = ethtypes.NewCancunSigner
61-
MakeSigner = ethtypes.MakeSigner
6256
LatestSigner = ethtypes.LatestSigner
6357
LatestSignerForChainID = ethtypes.LatestSignerForChainID
64-
SignTx = ethtypes.SignTx
65-
SignNewTx = ethtypes.SignNewTx
58+
MakeSigner = ethtypes.MakeSigner
6659
MustSignNewTx = ethtypes.MustSignNewTx
60+
NewCancunSigner = ethtypes.NewCancunSigner
61+
NewEIP155Signer = ethtypes.NewEIP155Signer
62+
NewEIP2930Signer = ethtypes.NewEIP2930Signer
63+
NewLondonSigner = ethtypes.NewLondonSigner
6764
Sender = ethtypes.Sender
65+
SignNewTx = ethtypes.SignNewTx
66+
SignTx = ethtypes.SignTx
6867

6968
// Transactions
7069
NewTx = ethtypes.NewTx
7170
TxDifference = ethtypes.TxDifference
7271

7372
// Errors
74-
ErrTxTypeNotSupported = ethtypes.ErrTxTypeNotSupported
7573
ErrGasFeeCapTooLow = ethtypes.ErrGasFeeCapTooLow
74+
ErrTxTypeNotSupported = ethtypes.ErrTxTypeNotSupported
7675
)

0 commit comments

Comments
 (0)