From cda7f33ced9efd61e7cfb0d3dc30101911024d67 Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:29:58 +0800 Subject: [PATCH] chore: fix lint --- pkg/wallet/key/keyinfo_test.go | 7 ------- venus-devtool/go.mod | 4 ++-- venus-devtool/go.sum | 8 ++++---- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/pkg/wallet/key/keyinfo_test.go b/pkg/wallet/key/keyinfo_test.go index c72dfbf8bd..25ac9be1bf 100644 --- a/pkg/wallet/key/keyinfo_test.go +++ b/pkg/wallet/key/keyinfo_test.go @@ -5,7 +5,6 @@ import ( "crypto/rand" "encoding/hex" "encoding/json" - "flag" "fmt" "testing" @@ -21,12 +20,6 @@ import ( "github.com/filecoin-project/venus/pkg/crypto" ) -// copy from `github.com/filecoin-project/venus/pkg/testhelpers/testflags`,avoid `import cycle not allowed` -var ( - integrationTest = flag.Bool("integration", true, "Run the integration go tests") // nolint - unitTest = flag.Bool("unit", true, "Run the unit go tests") // nolint -) - func TestKeyInfoAddress(t *testing.T) { prv, _ := hex.DecodeString("2a2a2a2a2a2a2a2a5fbf0ed0f8364c01ff27540ecd6669ff4cc548cbe60ef5ab") ki := &KeyInfo{ diff --git a/venus-devtool/go.mod b/venus-devtool/go.mod index 731a455081..8117247f35 100644 --- a/venus-devtool/go.mod +++ b/venus-devtool/go.mod @@ -8,8 +8,8 @@ require ( github.com/filecoin-project/go-data-transfer v1.15.2 github.com/filecoin-project/go-fil-markets v1.25.2 github.com/filecoin-project/go-jsonrpc v0.1.9 - github.com/filecoin-project/go-state-types v0.10.0-alpha-9 - github.com/filecoin-project/lotus v1.18.2-0.20230111002849-3456d90e0d0b + github.com/filecoin-project/go-state-types v0.10.0-alpha-10 + github.com/filecoin-project/lotus v1.20.0-pre-rc.0.20230115023118-b6eb7fcd962e github.com/filecoin-project/venus v0.0.0-00010101000000-000000000000 github.com/google/uuid v1.3.0 github.com/ipfs/go-block-format v0.0.3 diff --git a/venus-devtool/go.sum b/venus-devtool/go.sum index 5a3752da05..246e0e9373 100644 --- a/venus-devtool/go.sum +++ b/venus-devtool/go.sum @@ -332,14 +332,14 @@ github.com/filecoin-project/go-state-types v0.1.4/go.mod h1:xCA/WfKlC2zcn3fUmDv4 github.com/filecoin-project/go-state-types v0.1.6/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= github.com/filecoin-project/go-state-types v0.1.8/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= github.com/filecoin-project/go-state-types v0.1.10/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= -github.com/filecoin-project/go-state-types v0.10.0-alpha-9 h1:Rriwh/Fs/hV15QqHuL47PkJMz4e8kLGRwgsdh+G+S5I= -github.com/filecoin-project/go-state-types v0.10.0-alpha-9/go.mod h1:FPgQE05BFwZxKw/vCuIaIrzfJKo4RPQQMMPGd43dAFI= +github.com/filecoin-project/go-state-types v0.10.0-alpha-10 h1:QUpSayVFUADlrtzCh7SDNlbuaNSlYPBR46Nt7WpFl9I= +github.com/filecoin-project/go-state-types v0.10.0-alpha-10/go.mod h1:FPgQE05BFwZxKw/vCuIaIrzfJKo4RPQQMMPGd43dAFI= github.com/filecoin-project/go-statemachine v1.0.2 h1:421SSWBk8GIoCoWYYTE/d+qCWccgmRH0uXotXRDjUbc= github.com/filecoin-project/go-statestore v0.2.0 h1:cRRO0aPLrxKQCZ2UOQbzFGn4WDNdofHZoGPjfNaAo5Q= github.com/filecoin-project/go-statestore v0.2.0/go.mod h1:8sjBYbS35HwPzct7iT4lIXjLlYyPor80aU7t7a/Kspo= github.com/filecoin-project/index-provider v0.9.1 h1:Jnh9dviIHvQxZ2baNoYu3n8z6F9O62ksnVlyREgPyyM= -github.com/filecoin-project/lotus v1.18.2-0.20230111002849-3456d90e0d0b h1:CWGe1J4zNxpaFMRL1tf6VKjXhWLBFqs91VslUSt+aP4= -github.com/filecoin-project/lotus v1.18.2-0.20230111002849-3456d90e0d0b/go.mod h1:GXpDE5JAJjIrPfKXwTFZ4HHPhKI4NPJMO9oKJ7wsgoY= +github.com/filecoin-project/lotus v1.20.0-pre-rc.0.20230115023118-b6eb7fcd962e h1:TMUYpDsk+DJHlyiSSJp6EErphKkY/MDfnn++8n43Srw= +github.com/filecoin-project/lotus v1.20.0-pre-rc.0.20230115023118-b6eb7fcd962e/go.mod h1:Lzz0lq20H+5z2RKaKvrYQK04hpr5Sd7DlFkRwvrSmWQ= github.com/filecoin-project/pubsub v1.0.0 h1:ZTmT27U07e54qV1mMiQo4HDr0buo8I1LDHBYLXlsNXM= github.com/filecoin-project/pubsub v1.0.0/go.mod h1:GkpB33CcUtUNrLPhJgfdy4FDx4OMNR9k+46DHx/Lqrg= github.com/filecoin-project/specs-actors v0.9.13/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao=