File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,17 @@ var (
3636
3737const (
3838 // ReceiptStatusFailed is the status code of a transaction if execution failed.
39- ReceiptStatusFailed = uint (0 )
39+ ReceiptStatusFailed = uint64 (0 )
4040
4141 // ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
42- ReceiptStatusSuccessful = uint (1 )
42+ ReceiptStatusSuccessful = uint64 (1 )
4343)
4444
4545// Receipt represents the results of a transaction.
4646type Receipt struct {
4747 // Consensus fields
4848 PostState []byte `json:"root"`
49- Status uint `json:"status"`
49+ Status uint64 `json:"status"`
5050 CumulativeGasUsed uint64 `json:"cumulativeGasUsed" gencodec:"required"`
5151 Bloom Bloom `json:"logsBloom" gencodec:"required"`
5252 Logs []* Log `json:"logs" gencodec:"required"`
@@ -59,7 +59,7 @@ type Receipt struct {
5959
6060type receiptMarshaling struct {
6161 PostState hexutil.Bytes
62- Status hexutil.Uint
62+ Status hexutil.Uint64
6363 CumulativeGasUsed hexutil.Uint64
6464 GasUsed hexutil.Uint64
6565}
You can’t perform that action at this time.
0 commit comments