You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using js-waku and go-waku as clients and nwaku as a service node, We (I and @richard-ramos) noticed inconsistent behaviour with the genration in contentTopic
The flow is:
Publish using lightPush from js-waku on contentTopic: /0/qaku/1/persist/json
Subscribe to filter using go-waku on contentTopic: /qaku/1/persist/json
Observe that messages are not pushed to the fitler node
Problem
When using js-waku and go-waku as clients and nwaku as a service node, We (I and @richard-ramos) noticed inconsistent behaviour with the genration in
contentTopic
The flow is:
lightPush
fromjs-waku
on contentTopic:/0/qaku/1/persist/json
go-waku
on contentTopic:/qaku/1/persist/json
After a lot of looking we realized the reason is the missing generation number which is optional (https://github.com/waku-org/specs/blob/b38f248b4fb56a442f609c605b9ab65471b5afed/standards/core/relay-sharding.md?plain=1#L195), but IMO the default should be added by the service node if not provided
Impact
Medium - it can be workarounded by using (or not using) the generation number across app implementations
To reproduce
As mentioned above
Expected behavior
Service node (nwaku) adds default generation number (
0
) if it is not included in the contentTopicScreenshots/logs
If applicable, add screenshots or logs to help explain your problem.
nwaku version/commit hash
js-waku 0.0.29
go-waku v0.8.1-0.20240921011719-821481fec446
nwaku - waku.test and waku.sandbox fleets
CC @SionoiS @Ivansete-status
The text was updated successfully, but these errors were encountered: