Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed Mar 28, 2024
1 parent b6f4fde commit fc3e065
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions internal/types/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,24 @@ type Header struct {
}

type Transaction struct {
Type byte `json:"type"`
AccessList AccessList `json:"accessList"`
ChainId *BigInt `json:"chainId"`
AccountNonce uint64 `json:"nonce"`
Price *BigInt `json:"gasPrice"`
GasLimit uint64 `json:"gas"`
GasTipCap *BigInt `json:"gasTipCap"`
GasFeeCap *BigInt `json:"gasFeeCap"`
Sender *common.Address `json:"from" rlp:"nil"`
Recipient *common.Address `json:"to" rlp:"nil"` // nil means contract creation
Amount *BigInt `json:"value"`
Payload []byte `json:"input"`
V *BigInt `json:"v" rlp:"nilString"`
R *BigInt `json:"r" rlp:"nilString"`
S *BigInt `json:"s" rlp:"nilString"`
BlobFeeCap *BigInt `json:"blobFeeCap" rlp:"optional"`
BlobHashes []common.Hash `json:"blobHashes" rlp:"optional"`
BlobGas uint64 `json:"blobGas" rlp:"optional"`
Type byte `json:"type"`
AccessList AccessList `json:"accessList"`
ChainId *BigInt `json:"chainId"`
AccountNonce uint64 `json:"nonce"`
Price *BigInt `json:"gasPrice"`
GasLimit uint64 `json:"gas"`
GasTipCap *BigInt `json:"gasTipCap"`
GasFeeCap *BigInt `json:"gasFeeCap"`
Sender *common.Address `json:"from" rlp:"nil"`
Recipient *common.Address `json:"to" rlp:"nil"` // nil means contract creation
Amount *BigInt `json:"value"`
Payload []byte `json:"input"`
V *BigInt `json:"v" rlp:"nilString"`
R *BigInt `json:"r" rlp:"nilString"`
S *BigInt `json:"s" rlp:"nilString"`
BlobFeeCap *BigInt `json:"blobFeeCap" rlp:"optional"`
BlobHashes []common.Hash `json:"blobHashes" rlp:"optional"`
BlobGas uint64 `json:"blobGas" rlp:"optional"`
}

// AccessList is an EIP-2930 access list.
Expand Down

0 comments on commit fc3e065

Please sign in to comment.