Skip to content

Commit

Permalink
Update all dependencies, add dependabot config (#297)
Browse files Browse the repository at this point in the history
* chore: update all dependencies

* chore: add dependabot

* chore: make staticcheck happy
  • Loading branch information
rvagg authored Aug 2, 2024
1 parent 2ceb61b commit 41f131b
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 75 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
5 changes: 3 additions & 2 deletions builtin/v10/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package miner

import (
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big"
"github.com/filecoin-project/go-state-types/builtin/v10/util"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/builtin/v10/util/adt"
Expand Down Expand Up @@ -59,7 +60,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
5 changes: 3 additions & 2 deletions builtin/v11/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package miner

import (
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big"
"github.com/filecoin-project/go-state-types/builtin/v11/util"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/builtin/v11/util/adt"
Expand Down Expand Up @@ -59,7 +60,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
4 changes: 2 additions & 2 deletions builtin/v12/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package miner

import (
"golang.org/x/xerrors"
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
Expand Down Expand Up @@ -59,7 +59,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
4 changes: 2 additions & 2 deletions builtin/v13/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package miner

import (
"golang.org/x/xerrors"
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
Expand Down Expand Up @@ -59,7 +59,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
4 changes: 2 additions & 2 deletions builtin/v14/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package miner

import (
"golang.org/x/xerrors"
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
Expand Down Expand Up @@ -59,7 +59,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
5 changes: 3 additions & 2 deletions builtin/v8/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package miner

import (
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big"
"github.com/filecoin-project/go-state-types/builtin/v8/util"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/builtin/v8/util/adt"
Expand Down Expand Up @@ -58,7 +59,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
5 changes: 3 additions & 2 deletions builtin/v9/miner/invariants.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package miner

import (
"errors"

addr "github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/big"
"github.com/filecoin-project/go-state-types/builtin/v9/util"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/builtin/v9/util/adt"
Expand Down Expand Up @@ -59,7 +60,7 @@ func CheckStateInvariants(st *State, store adt.Store, balance abi.TokenAmount) (
} else {
allocatedSectorsMap, err = allocatedSectors.AllMap(1 << 30)
// if it's too big to expand, we'll fall back on the bitfield directly
if err != nil && !xerrors.Is(err, bitfield.ErrBitFieldTooMany) {
if err != nil && !errors.Is(err, bitfield.ErrBitFieldTooMany) {
acc.Addf("error expanding allocated sector bitfield: %v", err)
allocatedSectorsMap = nil
}
Expand Down
34 changes: 17 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,40 @@ retract v0.12.7 // wrongfully skipped a patch version, use v0.12.6 or v0.12.8&^

require (
github.com/filecoin-project/go-address v1.1.0
github.com/filecoin-project/go-amt-ipld/v4 v4.2.0
github.com/filecoin-project/go-amt-ipld/v4 v4.3.0
github.com/filecoin-project/go-bitfield v0.2.4
github.com/filecoin-project/go-commp-utils/nonffi v0.0.0-20220905160352-62059082a837
github.com/filecoin-project/go-hamt-ipld/v3 v3.4.0
github.com/ipfs/go-block-format v0.0.3
github.com/ipfs/go-cid v0.3.2
github.com/ipfs/go-ipld-cbor v0.0.6
github.com/ipld/go-ipld-prime v0.19.0
github.com/ipfs/go-block-format v0.2.0
github.com/ipfs/go-cid v0.4.1
github.com/ipfs/go-ipld-cbor v0.1.0
github.com/ipld/go-ipld-prime v0.21.0
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
github.com/minio/sha256-simd v1.0.1
github.com/multiformats/go-multibase v0.0.3
github.com/multiformats/go-multihash v0.2.1
github.com/multiformats/go-varint v0.0.6
github.com/stretchr/testify v1.7.0
github.com/whyrusleeping/cbor-gen v0.1.0
golang.org/x/crypto v0.17.0
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
github.com/multiformats/go-multibase v0.2.0
github.com/multiformats/go-multihash v0.2.3
github.com/multiformats/go-varint v0.0.7
github.com/stretchr/testify v1.9.0
github.com/whyrusleeping/cbor-gen v0.1.2
golang.org/x/crypto v0.25.0
golang.org/x/sync v0.7.0
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/filecoin-project/go-commp-utils v0.1.3 // indirect
github.com/filecoin-project/go-fil-commcid v0.1.0 // indirect
github.com/ipfs/go-ipfs-util v0.0.2 // indirect
github.com/ipfs/go-ipld-format v0.0.2 // indirect
github.com/ipfs/go-ipld-format v0.5.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.3 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/multiformats/go-base32 v0.0.3 // indirect
github.com/multiformats/go-base36 v0.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e // indirect
github.com/polydawn/refmt v0.89.0 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
golang.org/x/sys v0.15.0 // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
golang.org/x/sys v0.22.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/blake3 v1.1.6 // indirect
)
Loading

0 comments on commit 41f131b

Please sign in to comment.