Skip to content

Commit

Permalink
Bump github.com/bits-and-blooms/bitset from 1.18.0 to 1.19.1 (#2327)
Browse files Browse the repository at this point in the history
* Bump github.com/bits-and-blooms/bitset from 1.18.0 to 1.19.1

Bumps [github.com/bits-and-blooms/bitset](https://github.com/bits-and-blooms/bitset) from 1.18.0 to 1.19.1.
- [Release notes](https://github.com/bits-and-blooms/bitset/releases)
- [Commits](bits-and-blooms/bitset@v1.18.0...v1.19.1)

---
updated-dependencies:
- dependency-name: github.com/bits-and-blooms/bitset
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Use Use BitSet.Words instead BitSet.Bytes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: AnkushinDaniil <[email protected]>
  • Loading branch information
dependabot[bot] and AnkushinDaniil authored Dec 16, 2024
1 parent f274e0c commit fb8187d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.23.1
require (
github.com/Masterminds/semver/v3 v3.3.1
github.com/NethermindEth/cairo-vm-go v0.0.0-20241022093807-167daddfd4a4
github.com/bits-and-blooms/bitset v1.18.0
github.com/bits-and-blooms/bitset v1.19.1
github.com/bits-and-blooms/bloom/v3 v3.7.0
github.com/cockroachdb/pebble v1.1.2
github.com/coder/websocket v1.8.12
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bits-and-blooms/bitset v1.18.0 h1:eCa5BU3k9TtC6GP0r+bER6Si5ow7O0S+EXahjgwpLLs=
github.com/bits-and-blooms/bitset v1.18.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bits-and-blooms/bitset v1.19.1 h1:mv2yVhy96D2CuskLPXnc58oJNMs5PCWjAZuyYU0p12M=
github.com/bits-and-blooms/bitset v1.19.1/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bits-and-blooms/bloom/v3 v3.7.0 h1:VfknkqV4xI+PsaDIsoHueyxVDZrfvMn56jeWUzvzdls=
github.com/bits-and-blooms/bloom/v3 v3.7.0/go.mod h1:VKlUSvp0lFIYqxJjzdnSsZEw4iHb1kOL2tfHTgyJBHg=
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g=
Expand Down
2 changes: 1 addition & 1 deletion migration/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func calculateL1MsgHashes(txn db.Transaction, n *utils.Network) error {
}

func bitset2Key(bs *bitset.BitSet) *trie.Key {
bsWords := bs.Bytes()
bsWords := bs.Words()
if len(bsWords) > felt.Limbs {
panic("key too long to fit in Felt")
}
Expand Down

0 comments on commit fb8187d

Please sign in to comment.