From 2301850ad713395313e062808b5c8f3a76e50e5d Mon Sep 17 00:00:00 2001 From: Madhur Shrimal Date: Mon, 12 Dec 2022 12:59:21 -0500 Subject: [PATCH] Use types module instead of local dependency (#462) * add types module * push major version * go mod tidy --- go.mod | 5 +---- go.sum | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 2d901cb3..88727bb6 100644 --- a/go.mod +++ b/go.mod @@ -2,16 +2,13 @@ module github.com/coinbase/rosetta-sdk-go go 1.18 -require github.com/coinbase/rosetta-sdk-go/types v0.0.0 - -replace github.com/coinbase/rosetta-sdk-go/types => ./types - require ( github.com/DataDog/zstd v1.5.2 github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6 github.com/btcsuite/btcd v0.22.1 github.com/cenkalti/backoff v2.2.1+incompatible github.com/coinbase/kryptology v1.8.0 + github.com/coinbase/rosetta-sdk-go/types v1.0.0 github.com/dgraph-io/badger/v2 v2.2007.4 github.com/ethereum/go-ethereum v1.10.21 github.com/fatih/color v1.13.0 diff --git a/go.sum b/go.sum index 1dc6b72a..b49d8f2c 100644 --- a/go.sum +++ b/go.sum @@ -32,6 +32,8 @@ github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/coinbase/kryptology v1.8.0 h1:Aoq4gdTsJhSU3lNWsD5BWmFSz2pE0GlmrljaOxepdYY= github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmxYHksuq+8ciI= +github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA= +github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= github.com/consensys/bavard v0.1.8-0.20210915155054-088da2f7f54a/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= github.com/consensys/gnark-crypto v0.5.3 h1:4xLFGZR3NWEH2zy+YzvzHicpToQR8FXFbfLNvpGB+rE= github.com/consensys/gnark-crypto v0.5.3/go.mod h1:hOdPlWQV1gDLp7faZVeg8Y0iEPFaOUnCc4XeCCk96p0=