Skip to content

Commit

Permalink
dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy committed Feb 17, 2022
1 parent ef41612 commit ca257c6
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 500 deletions.
3 changes: 1 addition & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/bonedaddy/go-defi/utils"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethclient"
config "github.com/ipfs/go-ipfs-config"
"github.com/vrischmann/envconfig"
"go.bobheadxi.dev/zapx/zapx"
"go.uber.org/zap"
Expand Down Expand Up @@ -233,7 +232,7 @@ func (c *Config) EthClient(ctx context.Context) (utils.Blockchain, error) {
// Authorizer parses the Account configuration struct to return a transaction signer
// from https://github.com/indexed-finance/circuit-breaker/blob/master/cmd/services_run.go
// copyright for this code can be found in the LICENSE file of indexed-finance/circuit-breaker
func (c *Config) Authorizer(cfg *config.Config) (*utils.Authorizer, error) {
func (c *Config) Authorizer() (*utils.Authorizer, error) {
switch c.Blockchain.Account.Mode {
case "keyfile":
return utils.NewAuthorizer(c.Blockchain.Account.KeyFilePath, c.Blockchain.Account.KeyFilePassword)
Expand Down
20 changes: 4 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,16 @@ module github.com/bonedaddy/go-defi
go 1.15

require (
github.com/consensys/gurvy v0.3.8 // indirect
github.com/edsrzf/mmap-go v1.0.0 // indirect
github.com/ethereum/go-ethereum v1.10.0
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/google/uuid v1.1.5 // indirect
github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29 // indirect
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/huin/goupnp v1.0.1-0.20200620063722-49508fba0031 // indirect
github.com/influxdata/influxdb v1.8.3 // indirect
github.com/ipfs/go-ipfs-config v0.12.0
github.com/rs/cors v1.7.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/ethereum/go-ethereum v1.10.16
github.com/shopspring/decimal v1.2.0
github.com/stretchr/testify v1.7.0
github.com/urfave/cli/v2 v2.3.0
github.com/vrischmann/envconfig v1.3.1-0.20201228145200-1b7b4cd0c1d5
go.bobheadxi.dev/zapx/zapx v0.6.8
go.uber.org/zap v1.16.0
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect
gopkg.in/yaml.v2 v2.3.0
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
gopkg.in/yaml.v2 v2.4.0
gorm.io/driver/postgres v1.0.8
gorm.io/driver/sqlite v1.1.4
gorm.io/gorm v1.21.4
Expand Down
Loading

0 comments on commit ca257c6

Please sign in to comment.