aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-10 15:42:14 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:43:05 +0800
commit7584e68c21cfd155a9e72b29422d8d458691d4ae (patch)
treef552bef4bb93ae8a0199a84fe1cb20a6ffb12b4b /rpc/api/debug.go
parent1fe617fa5791bffb6b3cc60636c6629c7aca36d3 (diff)
downloadgo-tangerine-7584e68c21cfd155a9e72b29422d8d458691d4ae.tar.gz
go-tangerine-7584e68c21cfd155a9e72b29422d8d458691d4ae.tar.zst
go-tangerine-7584e68c21cfd155a9e72b29422d8d458691d4ae.zip
upgrade web3.js with _extend support
Diffstat (limited to 'rpc/api/debug.go')
-rw-r--r--rpc/api/debug.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/rpc/api/debug.go b/rpc/api/debug.go
index 2930ad870..5b6a449dc 100644
--- a/rpc/api/debug.go
+++ b/rpc/api/debug.go
@@ -14,7 +14,7 @@ import (
)
const (
- DebugVersion = "1.0.0"
+ DebugApiVersion = "1.0"
)
var (
@@ -74,6 +74,10 @@ func (self *debugApi) Name() string {
return DebugApiName
}
+func (self *debugApi) ApiVersion() string {
+ return DebugApiVersion
+}
+
func (self *debugApi) PrintBlock(req *shared.Request) (interface{}, error) {
args := new(BlockNumArg)
if err := self.codec.Decode(req.Params, &args); err != nil {
@@ -100,7 +104,7 @@ func (self *debugApi) DumpBlock(req *shared.Request) (interface{}, error) {
return nil, nil
}
- return stateDb.Dump(), nil
+ return stateDb.RawDump(), nil
}
func (self *debugApi) GetBlockRlp(req *shared.Request) (interface{}, error) {