Commit Graph

1822 Commits

Author SHA1 Message Date
NagyZoltanPeter b5df2ce30d
Fix signature of register and MemberRegister to UInt256, check transaction success in register 2024-10-30 06:26:50 +01:00
NagyZoltanPeter d35f15738f
Fix chrash in group_manager on_chain 2024-10-28 11:27:34 +01:00
NagyZoltanPeter 0a91ab6eb5
Adapt ENR Record handling to new interface of nim-eth 2024-10-21 15:33:50 +02:00
NagyZoltanPeter a5189d0566
Eliminate C compilation issue with chat2bridge due to an overcomplicating import from json_rpc instead of using std/json 2024-10-09 23:18:44 +02:00
NagyZoltanPeter 7f1ea0890a
Bump nim-chornicles, nim-libp2p, nimcrypto
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
2024-10-09 01:57:51 +02:00
Ivan FB 3ad613cad4
chore: waku_keystore: give some more context in case of error (#3064) 2024-10-03 00:05:49 +02:00
gabrielmer 713aa66a63
adding missing error handling in libwaku (#3084) 2024-10-03 00:13:42 +03:00
gabrielmer e406673c46
Merge pull request #3068 from waku-org/chore-merge-release-v0.33-to-master
chore: update master from release/v0.33
2024-10-02 14:06:01 +03:00
gabrielmer ca448789f0
Merge branch 'master' into chore-merge-release-v0.33-to-master 2024-10-02 10:32:34 +03:00
Gabriel mermelstein 7bc42b5dc5
remove dependency bumping from changelog 2024-10-02 10:31:45 +03:00
richΛrd 643ab20fc6
chore: bump negentropy (#3078) 2024-10-01 20:37:49 -04:00
Ivan FB 5875ed63af
chore: Optimize store (#3061)
* use messages_lookup to retrieve timestamps
* deep refactoring in db_postgres for better use of async approach
2024-10-01 23:36:03 +02:00
gabrielmer d8e6a5cda7
Adding error logs for failed libwaku operations (#3067) 2024-10-01 12:23:04 +03:00
gabrielmer 45fec1a1d9
Update peer_manager.nim 2024-09-30 21:05:03 +03:00
gabrielmer 973b20e368
Update waku-fleet-dashboard.json 2024-09-30 21:04:32 +03:00
gabrielmer eebce3ccce
Merge branch 'master' into chore-merge-release-v0.33-to-master 2024-09-30 21:02:26 +03:00
gabrielmer 73c1d60744
chore: update changelog for v0.33.0 release (#3044) 2024-09-30 18:26:10 +03:00
gabrielmer f8946b8263
fix: rejecting excess relay connections (#3065) 2024-09-27 19:42:51 +03:00
gabrielmer 8b0884c7b5
fix: rejecting excess relay connections (#3065) 2024-09-27 19:35:18 +03:00
Ivan FB deb8675089
disable colors in PR docker images (#3066) 2024-09-27 15:00:55 +02:00
Darshan K 729e63f53d
refactor: wrap peer store (#3051)
Encapsulate peerstore with wakupeerstore
2024-09-27 18:16:46 +05:30
gabrielmer b358c90fa5
chore: disabling metrics for libwaku (#3058) 2024-09-25 14:08:01 +03:00
Ivan FB 368bb3c199
append current version in agentString which is used by the identify protocol (#3057) 2024-09-25 12:59:46 +03:00
NagyZoltanPeter dd02908a20
Extend fleet dashboard with PeerExhcange metrics (#3056) 2024-09-25 11:56:47 +02:00
Ivan FB b688edc079
append current version in agentString which is used by the identify protocol (#3057) 2024-09-25 11:52:02 +02:00
NagyZoltanPeter 5afa9b13ea
Fix PeerExchange rpc decode in order not to take response's status_code mandatory - for support old protocol implementation (#3059) 2024-09-25 11:51:50 +02:00
Ivan FB 711e7db1e9
chore: test peer connection management (#3049)
* Make some useful consts public, add some utils.
* Implement various utilities.
* peer_manager reconnectPeers enhancements

---------

Co-authored-by: Álex Cabeza Romero <alex93cabeza@gmail.com>
2024-09-24 18:20:29 +02:00
gabrielmer 7c4a9717a6
chore: updating upload and download artifact actions to v4 (#3047) 2024-09-24 14:30:49 +03:00
NagyZoltanPeter 9b445ac49f
fix: px protocol decode - do not treat missing response field as error (#3055)
* Fix missing response field of PeerExchange RPC treated as error.
* Fix PX metrics from gauge to counter for better dashboard stats
2024-09-24 12:47:52 +02:00
Ivan FB e492c590e9
chore: Better database query logs and logarithmic scale in grafana store panels (#3048) 2024-09-20 22:47:15 +03:00
Ivan FB d68b06f145
chore: Better database query logs and logarithmic scale in grafana store panels (#3048) 2024-09-20 17:43:56 +02:00
gabrielmer bbebbf6d4f
fix: static linking negentropy in ARM based mac (#3046) 2024-09-20 15:43:12 +03:00
Ivan FB 26a488d522
chore: extending store metrics (#3042)
* adding query_metrics module
* update fleet-dashboard with new store panels for better timing insight
2024-09-20 15:43:00 +03:00
Ivan FB b534a1c257
sharding: reduce log level for a too spammy message (#3045) 2024-09-20 15:42:46 +03:00
gabrielmer 256b7853a6
fix: static linking negentropy in ARM based mac (#3046) 2024-09-20 15:41:27 +03:00
Ivan FB fd83b42faa
chore: extending store metrics (#3042)
* adding query_metrics module
* update fleet-dashboard with new store panels for better timing insight
2024-09-20 13:23:53 +02:00
Ivan FB 7add5b7991
sharding: reduce log level for a too spammy message (#3045) 2024-09-20 13:22:10 +02:00
NagyZoltanPeter 0a7f16a332
chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035)
* Enhanced peer-ex protocol - added rate limiting, added response status and desc to the rpc

* Better error result handling for PeerEx request, adjusted tests

* Refactored RateLimit configuration option for better CLI UX - now possible to set separate limits per protocol. Adjusted mountings. Added and adjusted tests

* Fix libwaku due to changes of error return type of fetchPeerExchangePeers

* Fix rate limit setting tests due to changed defaults

* Introduce new gauge to help dasboard effectively show current rate limit applied for protocol

* Adjust timeing in filter rate limit test to let macos CI test run ok.

* Address review findings, namings, error logs, removed left-overs

* Changes to reflect latest spec agreement and changes. PeerExchange RPC is changed the now respond structure will contain status_code and status_desc.
2024-09-18 15:58:07 +02:00
NagyZoltanPeter 83f25c3e99
chore: Switch libnegentropy library build from shared to static linkage (#3041)
* Switch libnegentropy library build from shared to static linkage

* Update negentropy with -fPIC compile option that is necessary for libwaku build

* Bump waku-org/negentropy to the latest on master to incorporate merged static build of libnegentropy
2024-09-18 14:34:50 +02:00
gabrielmer 8f28992599
fix: setting up node with modified config (#3036) 2024-09-16 16:30:38 +03:00
gabrielmer 51391aa2ac
adding a dynamic sleep interval in the connectivity loop (#3031) 2024-09-12 22:49:47 +02:00
Ivan FB 1713f56235
chore: libwaku reduce repetitive code by adding a template handling resp returns (#3032) 2024-09-11 18:11:59 +02:00
Ivan FB 3ccb6cdf61
test: avoid too verbose rln test (#3029) 2024-09-11 10:22:00 +02:00
Ivan FB 5ea1cf0cf3
chore: libwaku - extending the library with peer_manager and peer_exchange features (#3026)
* libwaku: get peerids by protocol and peer exchange request
2024-09-11 10:13:54 +02:00
fryorcraken ce9a8c468a
chore: use submodule nph in CI to check lint (#3027) 2024-09-11 11:51:42 +10:00
gabrielmer a3cd2a1a92
chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
Ivan FB d3e6717a60
chore: lightpush - error metric less variable by only setting a fixed string (#3020) 2024-09-10 17:30:09 +02:00
Ivan FB 5a0edff79a
fix: get back health check for postgres legacy (#3010) 2024-09-10 15:07:53 +02:00
NagyZoltanPeter 780ebf3ecd
Update waku-fleet-dashboard from latest (v142) Grafana (#3025) 2024-09-10 10:02:21 +02:00
gabrielmer bc951afd49
Merge pull request #3009 from waku-org/release/v0.32
chore: update master from release/v0.32
2024-09-09 10:01:03 -06:00