From 8f49e4f8de1159b2900b7e691e07905443995d9c Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Wed, 19 Jan 2022 05:01:13 +0000 Subject: [PATCH] [rosetta] update rosetta sdk to 0.7.0 Signed-off-by: Leo Chen --- go.mod | 5 ++--- rosetta/rosetta.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 05f4d2948..5a257dacf 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/rosetta/rosetta.go b/rosetta/rosetta.go index 2215334c0..860c2d0d6 100644 --- a/rosetta/rosetta.go +++ b/rosetta/rosetta.go @@ -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