[rosetta] update rosetta sdk to 0.7.0

Signed-off-by: Leo Chen <leo@harmony.one>
pull/4021/head
Leo Chen 3 years ago
parent 463ec55c51
commit 8f49e4f8de
  1. 5
      go.mod
  2. 2
      rosetta/rosetta.go

@ -9,15 +9,14 @@ require (
github.com/aristanetworks/goarista v0.0.0-20190607111240-52c2a7864a08 // indirect
github.com/aws/aws-sdk-go v1.30.1
github.com/beevik/ntp v0.3.0
github.com/btcsuite/btcutil v1.0.2
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cespare/cp v1.1.1
github.com/coinbase/rosetta-sdk-go v0.6.10
github.com/coinbase/rosetta-sdk-go v0.7.0
github.com/davecgh/go-spew v1.1.1
github.com/deckarep/golang-set v1.7.1
github.com/ethereum/go-ethereum v1.9.25
github.com/fjl/memsize v0.0.0-20180929194037-2a09253e352a // indirect
github.com/garslo/gogen v0.0.0-20170307003452-d6ebae628c7c // indirect
github.com/goccy/go-json v0.7.10
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.2
github.com/golangci/golangci-lint v1.22.2

@ -37,7 +37,7 @@ func StartServers(hmy *hmy.Harmony, config nodeconfig.RosettaServerConfig, limit
serverAsserter, err := asserter.NewServer(
append(common.PlainOperationTypes, common.StakingOperationTypes...),
nodeconfig.GetShardConfig(hmy.ShardID).Role() == nodeconfig.ExplorerNode,
[]*types.NetworkIdentifier{network}, services.CallMethod, false,
[]*types.NetworkIdentifier{network}, services.CallMethod, false, "",
)
if err != nil {
return err

Loading…
Cancel
Save