Merge pull request #1711 from Gustav-Simonsson/timestamp_big_int
Add tests for uncle timestamps and refactor timestamp type (cherry picked from commitabce09954b
) (cherry picked from commitfd512fa12c
) Conflicts: core/vm/instructions.go core/vm/jit_test.go
This commit is contained in:
committed by
Gustav Simonsson
parent
5c11d1033d
commit
2d1ea1a66d
@ -19,6 +19,7 @@ package xeth
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"math/big"
|
||||
"strings"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
@ -76,7 +77,7 @@ type Block struct {
|
||||
Hash string `json:"hash"`
|
||||
Transactions *common.List `json:"transactions"`
|
||||
Uncles *common.List `json:"uncles"`
|
||||
Time uint64 `json:"time"`
|
||||
Time *big.Int `json:"time"`
|
||||
Coinbase string `json:"coinbase"`
|
||||
Name string `json:"name"`
|
||||
GasLimit string `json:"gasLimit"`
|
||||
|
Reference in New Issue
Block a user