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 (
36
36
37
37
const (
38
38
// ReceiptStatusFailed is the status code of a transaction if execution failed.
39
- ReceiptStatusFailed = uint (0 )
39
+ ReceiptStatusFailed = uint64 (0 )
40
40
41
41
// ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
42
- ReceiptStatusSuccessful = uint (1 )
42
+ ReceiptStatusSuccessful = uint64 (1 )
43
43
)
44
44
45
45
// Receipt represents the results of a transaction.
46
46
type Receipt struct {
47
47
// Consensus fields
48
48
PostState []byte `json:"root"`
49
- Status uint `json:"status"`
49
+ Status uint64 `json:"status"`
50
50
CumulativeGasUsed uint64 `json:"cumulativeGasUsed" gencodec:"required"`
51
51
Bloom Bloom `json:"logsBloom" gencodec:"required"`
52
52
Logs []* Log `json:"logs" gencodec:"required"`
@@ -59,7 +59,7 @@ type Receipt struct {
59
59
60
60
type receiptMarshaling struct {
61
61
PostState hexutil.Bytes
62
- Status hexutil.Uint
62
+ Status hexutil.Uint64
63
63
CumulativeGasUsed hexutil.Uint64
64
64
GasUsed hexutil.Uint64
65
65
}
You can’t perform that action at this time.
0 commit comments