Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump dependencies for v0.34 #3096

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

NagyZoltanPeter
Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter commented Oct 7, 2024

Description

Prepare for v0.34.0
Bumping versions of vendor libs.
Main feature is bumping nim-web3 (and dependencies), nim-eth changes, long time had not been elevated.
This involved due to dependent changes to make json-rpc up to date as well.
By updating nim-libp2p we needed to add nim-quic and nim-ngtcp2 submodules.

Changes

  • nim-chronicles
  • nim-eth
    • New dependency:
      • nim-minilru
  • nim-http-utils
  • nim-json-rpc
  • nim-json-serialization
  • nim-libp2p - tp ver 1.6.0
    • New dependencies:
      • nim-quic
      • nim-ngtcp2
  • nim-metrics
  • nim-nat-traversal
  • nim-presto
  • nim-secp256k1
  • nim-serialization
  • nim-stew
  • nim-taskpools
  • nim-testutils
  • nim-toml-serialization
  • nim-unicodedb
  • nim-unittest2
  • nim-web3
  • nim-websock
  • nim-zlib
  • nimcrypto

Due to the huge refactorings in nim-web3 and nim-eth modules:
Code changes:

  • waku/common/enr/builder.nim
  • waku/common/enr/typed_record.nim
  • waku/common/utils/nat.nim
  • waku/discovery/waku_discv5.nim
  • waku/waku_rln_relay/conversion_utils.nim
  • waku/waku_rln_relay/group_manager/on_chain/group_manager.nim
  • waku/waku_rln_relay/rln/wrappers.nim
  • waku/waku_rln_relay/rln_relay.nim
  • apps/chat2bridge/chat2bridge.nim

Test changes:

  • tests/waku_discv5/utils.nim
  • tests/waku_enr/utils.nim
  • tests/waku_rln_relay/test_rln_group_manager_onchain.nim
  • tests/waku_rln_relay/utils.nim
  • tests/waku_rln_relay/utils_onchain.nim

Issue

#3087

@NagyZoltanPeter NagyZoltanPeter self-assigned this Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3096

Built from 51bd18e

Bump nim-web3, nim-eth and deps - on_chain/group_manager.nim adaption
Added status-im/nim-minilru submodule required by latest nim-eth
Added nim-quic and nim-ngtcp2 as new deps of nim-libp2p
Fixing tests.

 Changes:
	modified:   .gitmodules
	modified:   tests/waku_discv5/utils.nim
	modified:   tests/waku_enr/utils.nim
	modified:   tests/waku_rln_relay/test_rln_group_manager_onchain.nim
	modified:   tests/waku_rln_relay/utils.nim
	modified:   tests/waku_rln_relay/utils_onchain.nim

        modified:   vendor/nim-chronicles
	modified:   vendor/nim-eth
	modified:   vendor/nim-http-utils
	modified:   vendor/nim-json-rpc
	modified:   vendor/nim-json-serialization
	modified:   vendor/nim-libp2p
	modified:   vendor/nim-metrics
	new file:   vendor/nim-minilru
	modified:   vendor/nim-nat-traversal
	new file:   vendor/nim-ngtcp2
	modified:   vendor/nim-presto
	new file:   vendor/nim-quic
	modified:   vendor/nim-secp256k1
	modified:   vendor/nim-serialization
	modified:   vendor/nim-stew
	modified:   vendor/nim-taskpools
	modified:   vendor/nim-testutils
	modified:   vendor/nim-toml-serialization
	modified:   vendor/nim-unicodedb
	modified:   vendor/nim-unittest2
	modified:   vendor/nim-web3
	modified:   vendor/nim-websock
	modified:   vendor/nim-zlib
	modified:   vendor/nimcrypto
	modified:   waku.nimble

        modified:   waku/common/enr/builder.nim
	modified:   waku/common/enr/typed_record.nim
	modified:   waku/common/utils/nat.nim
	modified:   waku/discovery/waku_discv5.nim
	modified:   waku/waku_rln_relay/conversion_utils.nim
	modified:   waku/waku_rln_relay/group_manager/on_chain/group_manager.nim
	modified:   waku/waku_rln_relay/rln/wrappers.nim
	modified:   waku/waku_rln_relay/rln_relay.nim
@SionoiS
Copy link
Contributor

SionoiS commented Oct 21, 2024

Can I review or do the tests need fixing first? @NagyZoltanPeter

Copy link
Contributor

@SionoiS SionoiS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


var events = newJArray()
for eventStr in eventStrs:
events.add(parseJson($eventStr))
Copy link

@jangko jangko Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know where the dollar come from. But to be on safe side:

var events = newJArray()
for eventStr in eventStrs:
   events.add(parseJson(eventStr.string))

Copy link
Contributor Author

@NagyZoltanPeter NagyZoltanPeter Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably I overlooked it as a leftover here. Thanks for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants