Skip to content

Commit

Permalink
Fix compile error caused by unreachable packages (#190)
Browse files Browse the repository at this point in the history
* upgrade venus, gateway, auth
  • Loading branch information
zl03jsj authored Apr 20, 2022
1 parent 1170fde commit 4820c01
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 836 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ test_sqlite_db
./cmds/cfg_example/cfg_example
venus-messager
*.log
*.toml
4 changes: 2 additions & 2 deletions api/jwt/remote_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import (
)

type RemoteAuthClient struct {
Cli *jwtclient.JWTClient
Cli *jwtclient.AuthClient
}

func newRemoteJwtClient(jwtCfg *config.JWTConfig) *RemoteAuthClient {
var remote *RemoteAuthClient
if len(jwtCfg.AuthURL) > 0 {
remote = &RemoteAuthClient{}
remote.Cli = jwtclient.NewJWTClient(jwtCfg.AuthURL)
remote.Cli, _ = jwtclient.NewAuthClient(jwtCfg.AuthURL)
}

return remote
Expand Down
15 changes: 7 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ require (
github.com/filecoin-project/specs-actors/v4 v4.0.1
github.com/filecoin-project/specs-actors/v5 v5.0.4
github.com/filecoin-project/specs-actors/v6 v6.0.1
github.com/filecoin-project/specs-actors/v7 v7.0.0-rc1
github.com/filecoin-project/venus v1.2.0
github.com/filecoin-project/venus-auth v1.3.2
github.com/filecoin-project/specs-actors/v7 v7.0.0
github.com/filecoin-project/venus v1.2.4-0.20220420072943-4d565663fa60
github.com/filecoin-project/venus-auth v1.3.3-0.20220406063133-896f44f6e816
github.com/gbrlsnchs/jwt/v3 v3.0.1
github.com/google/uuid v1.3.0
github.com/hraban/lrucache v0.0.0-20201130153820-17052bf09781 // indirect
github.com/hunjixin/automapper v0.0.0-20191127090318-9b979ce72ce2
github.com/ipfs-force-community/metrics v1.0.1-0.20211228055608-9462dc86e157
github.com/ipfs-force-community/venus-common-utils v0.0.0-20210924063144-1d3a5b30de87
github.com/ipfs-force-community/venus-gateway v1.2.0
github.com/ipfs-force-community/venus-gateway v1.2.1-0.20220420085343-2e500a7724e0
github.com/ipfs/go-cid v0.1.0
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/multiformats/go-multiaddr v0.4.1
github.com/multiformats/go-multiaddr v0.5.0
github.com/onsi/gomega v1.16.0 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pelletier/go-toml v1.9.4
Expand All @@ -38,9 +38,8 @@ require (
github.com/stretchr/testify v1.7.0
github.com/ugorji/go v1.2.4 // indirect
github.com/urfave/cli/v2 v2.3.0
github.com/whyrusleeping/cbor-gen v0.0.0-20210713220151-be142a5ae1a8
go.uber.org/fx v1.13.1
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
github.com/whyrusleeping/cbor-gen v0.0.0-20220302191723-37c43cae8e14
go.uber.org/fx v1.15.0
golang.org/x/mod v0.5.0 // indirect
golang.org/x/tools v0.1.7 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
Expand Down
Loading

0 comments on commit 4820c01

Please sign in to comment.