fbarbu15
d3d3df3854
revert
2023-10-17 09:42:34 +03:00
fbarbu15
50e7cff331
fail a test for demo
2023-10-17 09:11:12 +03:00
fbarbu15
db9f825a20
revert
2023-10-17 09:02:14 +03:00
fbarbu15
c1afa3de80
fail a test for demo
2023-10-16 17:10:15 +03:00
fbarbu15
3a02f64696
fail a test for demo
2023-10-16 16:59:24 +03:00
fbarbu15
0fc136ab11
make reports only for the main job
2023-10-16 16:36:25 +03:00
fbarbu15
7d1c1b9f02
allure test reporting
2023-10-16 16:10:58 +03:00
Danish Arora
9fe04d85f3
chore: use `pubsubTopic`/`pubsubTopics` across the codebase ( #1653 )
...
* chore: change all references of pubSubTopic to pubsubTopic
* change references of pubSubTopics to pubsubTopics
* flag words in cspell
2023-10-16 12:52:32 +05:30
Florin Barbu
b96c3bd3e1
chore: disable paralles runs locally ( #1662 )
...
* disable paralles runs locally
* add logs
* add readme info about local execution
2023-10-13 17:32:28 +03:00
Florin Barbu
ce5a48c13c
gowaku store bugfixes ( #1661 )
2023-10-13 17:21:30 +03:00
Danish Arora
b8d006bee7
chore: refactor `ConnectionManager` for readability & maintainability ( #1658 )
...
* restructure shouldDialPeer for readability & maintainability:
* fix return & add logs
* fix: check on dialPeer instead of attemptDial
* rm: console log
2023-10-13 18:08:37 +05:30
Danish Arora
e6527e9ab1
chore: add error handling for an uncaught dial attempt ( #1660 )
2023-10-13 17:33:42 +05:30
Danish Arora
d39d4507ef
chore: add a test that uses ping to check filter subscription ( #1656 )
...
* add a test that uses ping to check filter subscription
* remove comment
2023-10-13 16:53:15 +05:30
Florin Barbu
347cbfa08a
chore: run tests in parallel ( #1655 )
...
* run tests in parallel
* small fixes
* small fixes
* fix setup of nodes
* fix relay tests
* fix Static Sharding: Running Nodes tests
* try with 5 threads
* try with 6 threads
* use startWithRetries as default start
* revert to 6
* set 10 jobs
* revert to back to 6
* add CI info in readme
2023-10-13 12:36:43 +03:00
dependabot[bot]
9f14dab626
chore(deps)(deps-dev): bump @typescript-eslint/parser ( #1651 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.7.2 to 6.7.5.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-10-12 21:18:51 +05:30
Danish Arora
1d60c4ba44
feat: enable pinging connected peers by default ( #1647 )
...
* enable pinging peers by default
* handle ping failure
2023-10-11 18:01:42 +05:30
Danish Arora
124a29ebba
feat(static-sharding): filter peer connections per shards ( #1626 )
...
* add interface for `ShardInfo`
* enr: add deserialization logic & setup getters
* add sharding related utils
* utils: add shard<-> bytes conversion helpers
* pass `pubSubTopics` to `Waku`
* add `rs`/`rsv` details during discovery
* connection-manager: discard irrelevant peers
* add tests for static sharding - peer exchange
* update `ConnectionManager` tests to account for topic validity
* add js suffix to import
* address some comments
* move shardInfo encoding to ENR
* test: update for new API
* enr: add tests for serialisation & deserialisation
* address comment
* update test
* move getPeershardInfo to ConnectionManager and return ShardInfo instead of bytes
* update encoding and decoding relay shards to also factor for shards>64
* relay shard encoding decoding: use DataView and verbose spec tests
* improve tests for relay shard encoding decoding
* rm: only
* improve log message for unconfigured pubsub topic
* minor improvement
* fix: buffer <> Uint8array problems with shard decoding
* fix: test
* rm: only
2023-10-10 20:18:02 +05:30
Florin Barbu
fe64da1881
Merge pull request #1592 from waku-org/fix/flaky-teardown
...
fix: increase timeout and use tearDownNodes
2023-10-10 10:45:49 +03:00
fbarbu15
9ccde73a16
Merge branch 'master' of https://github.com/waku-org/js-waku into fix/flaky-teardown
2023-10-10 10:33:09 +03:00
fbarbu15
aa195a75ed
fix unsubscribes test
2023-10-10 10:18:01 +03:00
dependabot[bot]
1b84ae8006
chore(deps)(deps-dev): bump gh-pages from 5.0.0 to 6.0.0 ( #1638 )
...
Bumps [gh-pages](https://github.com/tschaub/gh-pages ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/tschaub/gh-pages/releases )
- [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md )
- [Commits](https://github.com/tschaub/gh-pages/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: gh-pages
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 12:44:38 +05:30
fbarbu15
7e96644ba8
merge master into branch
2023-10-10 09:59:24 +03:00
Florin Barbu
ac000042bf
Merge pull request #1627 from waku-org/chore/new-store-tests
...
chore: new store tests
2023-10-10 09:42:35 +03:00
fbarbu15
6f8cf039df
remove .only
2023-10-10 09:23:51 +03:00
fbarbu15
aa93a441d5
use loadash instead of custom function
2023-10-10 09:15:36 +03:00
fbarbu15
c9389e3d07
improve teardown nodes
2023-10-10 09:03:44 +03:00
fbarbu15
1d1c7a28a8
updated wrong cursor test
2023-10-10 08:51:41 +03:00
Danish Arora
94d63f4548
Merge branch 'master' into chore/new-store-tests
2023-10-09 22:05:34 +05:30
Danish Arora
b10c46b910
fix(store)!: use `pubSubTopic` from `DecodedMessage` for `createCursor` ( #1640 )
...
* fix!(store): Cursor: use pubsubtopic from Message
* add control to check cursor topic should match decoder
* fix
2023-10-09 21:25:38 +05:30
fbarbu15
b0d658c4a1
add comments for known issues
2023-10-09 14:52:40 +03:00
fbarbu15
95dbac3c57
self review
2023-10-06 13:34:30 +03:00
fbarbu15
0e5ff3e13d
add final tests
2023-10-06 12:45:00 +03:00
fbarbu15
5519877b5e
adjustments
2023-10-06 11:24:10 +03:00
fbarbu15
0b1f2ec31d
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
2023-10-05 19:07:02 +03:00
fbarbu15
c52b895c1e
new store tests
2023-10-05 19:06:37 +03:00
dependabot[bot]
0bc4a96807
chore(deps)(deps): bump js-sha3 from 0.8.0 to 0.9.2 ( #1633 )
...
Bumps [js-sha3](https://github.com/emn178/js-sha3 ) from 0.8.0 to 0.9.2.
- [Changelog](https://github.com/emn178/js-sha3/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emn178/js-sha3/compare/v0.8.0...v0.9.2 )
---
updated-dependencies:
- dependency-name: js-sha3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 14:12:20 +05:30
dependabot[bot]
d06591378f
chore(deps)(deps): bump @libp2p/interface-compliance-tests ( #1636 )
...
Bumps [@libp2p/interface-compliance-tests](https://github.com/libp2p/js-libp2p ) from 4.0.6 to 4.1.0.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v4.0.6...interface-compliance-tests-v4.1.0 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-compliance-tests"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 10:05:45 +05:30
fbarbu15
6c35a51f67
new store tests
2023-10-04 16:00:55 +03:00
fbarbu15
8fbb9c0c1b
new store tests
2023-10-04 15:40:50 +03:00
fbarbu15
00cb2c6b28
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
2023-10-04 11:57:40 +03:00
dependabot[bot]
923f21ab64
chore(deps)(deps): bump p-retry from 6.0.0 to 6.1.0 ( #1634 )
...
Bumps [p-retry](https://github.com/sindresorhus/p-retry ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/p-retry/releases )
- [Commits](https://github.com/sindresorhus/p-retry/compare/v6.0.0...v6.1.0 )
---
updated-dependencies:
- dependency-name: p-retry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 12:56:54 +05:30
Florin Barbu
29d83786b2
chore: update org ( #1632 )
...
* update org
* update other images as well
* small fix
2023-10-03 16:11:41 +05:30
fbarbu15
6778eb3809
new test
2023-10-03 12:46:22 +03:00
fbarbu15
a7ef4b80da
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
2023-10-03 10:06:14 +03:00
fbarbu15
9371477069
new store tests
2023-10-03 10:05:32 +03:00
Florin Barbu
856d3de265
chore: add missing ensureSubscriptions call ( #1628 )
...
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-10-02 22:32:18 +02:00
dependabot[bot]
d02838164f
chore(deps)(deps): bump fast-check from 3.13.0 to 3.13.1 ( #1629 )
...
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/dubzzz/fast-check/releases )
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md )
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.13.1/packages/fast-check )
---
updated-dependencies:
- dependency-name: fast-check
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-10-02 22:28:51 +05:30
dependabot[bot]
64f38651bf
chore(deps)(deps): bump libp2p from 0.46.11 to 0.46.12 ( #1630 )
...
Bumps [libp2p](https://github.com/libp2p/js-libp2p ) from 0.46.11 to 0.46.12.
- [Release notes](https://github.com/libp2p/js-libp2p/releases )
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json )
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v0.46.11...libp2p-v0.46.12 )
---
updated-dependencies:
- dependency-name: libp2p
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 22:11:49 +05:30
fbarbu15
2ff19c7901
merge master
2023-10-02 13:11:12 +03:00
Florin Barbu
f1d8d6097f
chore(static sharding): add tests for multiple pubsub topics ( #1624 )
...
* new tests for static sharding
* store tests
* small fixes after ci run
* small fixes after ci run
* small fixes after ci run
* multiple pubsubtopics on nwaku node
2023-10-02 15:07:00 +05:30