Skip to content

Commit ca257c6

Browse files
committed
dependency updates
1 parent ef41612 commit ca257c6

File tree

5 files changed

+140
-500
lines changed

5 files changed

+140
-500
lines changed

config/config.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/bonedaddy/go-defi/utils"
1515
"github.com/ethereum/go-ethereum/crypto"
1616
"github.com/ethereum/go-ethereum/ethclient"
17-
config "github.com/ipfs/go-ipfs-config"
1817
"github.com/vrischmann/envconfig"
1918
"go.bobheadxi.dev/zapx/zapx"
2019
"go.uber.org/zap"
@@ -233,7 +232,7 @@ func (c *Config) EthClient(ctx context.Context) (utils.Blockchain, error) {
233232
// Authorizer parses the Account configuration struct to return a transaction signer
234233
// from https://github.com/indexed-finance/circuit-breaker/blob/master/cmd/services_run.go
235234
// copyright for this code can be found in the LICENSE file of indexed-finance/circuit-breaker
236-
func (c *Config) Authorizer(cfg *config.Config) (*utils.Authorizer, error) {
235+
func (c *Config) Authorizer() (*utils.Authorizer, error) {
237236
switch c.Blockchain.Account.Mode {
238237
case "keyfile":
239238
return utils.NewAuthorizer(c.Blockchain.Account.KeyFilePath, c.Blockchain.Account.KeyFilePassword)

go.mod

+4-16
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,16 @@ module github.com/bonedaddy/go-defi
33
go 1.15
44

55
require (
6-
github.com/consensys/gurvy v0.3.8 // indirect
7-
github.com/edsrzf/mmap-go v1.0.0 // indirect
8-
github.com/ethereum/go-ethereum v1.10.0
9-
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect
10-
github.com/golang/protobuf v1.4.3 // indirect
11-
github.com/google/uuid v1.1.5 // indirect
12-
github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29 // indirect
13-
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
14-
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
15-
github.com/huin/goupnp v1.0.1-0.20200620063722-49508fba0031 // indirect
16-
github.com/influxdata/influxdb v1.8.3 // indirect
17-
github.com/ipfs/go-ipfs-config v0.12.0
18-
github.com/rs/cors v1.7.0 // indirect
6+
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
7+
github.com/ethereum/go-ethereum v1.10.16
198
github.com/shopspring/decimal v1.2.0
209
github.com/stretchr/testify v1.7.0
2110
github.com/urfave/cli/v2 v2.3.0
2211
github.com/vrischmann/envconfig v1.3.1-0.20201228145200-1b7b4cd0c1d5
2312
go.bobheadxi.dev/zapx/zapx v0.6.8
2413
go.uber.org/zap v1.16.0
25-
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
26-
golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect
27-
gopkg.in/yaml.v2 v2.3.0
14+
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
15+
gopkg.in/yaml.v2 v2.4.0
2816
gorm.io/driver/postgres v1.0.8
2917
gorm.io/driver/sqlite v1.1.4
3018
gorm.io/gorm v1.21.4

0 commit comments

Comments
 (0)