aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/api.go
diff options
context:
space:
mode:
authorYohann Leon <sybiload@gmail.com>2017-03-22 22:32:51 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-03-22 22:32:51 +0800
commit6742fc526f3e1ae985d82a1781df4267485e2c70 (patch)
tree83da1e8ce5c2ae673358fc244b9cba8862f806be /internal/ethapi/api.go
parent9b84caf3a5f55cc2a14b50291118b9fab668b8c2 (diff)
downloadgo-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar.gz
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar.bz2
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar.lz
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar.xz
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.tar.zst
go-tangerine-6742fc526f3e1ae985d82a1781df4267485e2c70.zip
core/vm: use uint64 instead of *big.Int in tracer (#3805)
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r--internal/ethapi/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index c8374fe18..0928c973f 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -695,8 +695,8 @@ type ExecutionResult struct {
type StructLogRes struct {
Pc uint64 `json:"pc"`
Op string `json:"op"`
- Gas *big.Int `json:"gas"`
- GasCost *big.Int `json:"gasCost"`
+ Gas uint64 `json:"gas"`
+ GasCost uint64 `json:"gasCost"`
Depth int `json:"depth"`
Error error `json:"error"`
Stack []string `json:"stack"`