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
A clear and concise description of what the bug is.
Impact
Indicate how significant you believe the impact of the bug is. Bugs that lead to data loss or corruption would be considered critical. In such cases, please also add the critical label.
To reproduce
Have 4 messages in the store
Send a store v3 request that returns all 4 message. Ex response: {"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":{"data":"FU17V6jRMxU+Y+Kc+3JhEY9DeNeUiD00r6K288of5eA="}},{"messageHash":{"data":"JkVa/QrmhoEsVMvTroD0+0VIrL+bQ+PUDX8P0pH0mQk="}},{"messageHash":{"data":"7exieG0Juu60Avg8lPNqhlaSI6xJWhtNxacRGj8/rBc="}},{"messageHash":{"data":"CD0UNeVnNYVXjbhvVS/wRvVTA4Nvl7thShSh8siWPpM="}}]}
Send another request with a cursor that doesn't correspond to any of the messages in the store. Ex: curl -v -X GET "http://127.0.0.1:54511/store/v3/messages?cursor=LOFSS2EfEYy1sAZktV0KVEdGPDG1gprMDVjUYM7QL2I%3D&pageSize=100&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F0%2F0" -H "Content-Type: application/json"
Actual behavior
All messages in the store are returned
Expected behavior
Either empty messages list or an error saying that cursor doesn't match any message in the store
Problem
A clear and concise description of what the bug is.
Impact
Indicate how significant you believe the impact of the bug is. Bugs that lead to data loss or corruption would be considered
critical
. In such cases, please also add thecritical
label.To reproduce
{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":{"data":"FU17V6jRMxU+Y+Kc+3JhEY9DeNeUiD00r6K288of5eA="}},{"messageHash":{"data":"JkVa/QrmhoEsVMvTroD0+0VIrL+bQ+PUDX8P0pH0mQk="}},{"messageHash":{"data":"7exieG0Juu60Avg8lPNqhlaSI6xJWhtNxacRGj8/rBc="}},{"messageHash":{"data":"CD0UNeVnNYVXjbhvVS/wRvVTA4Nvl7thShSh8siWPpM="}}]}
curl -v -X GET "http://127.0.0.1:54511/store/v3/messages?cursor=LOFSS2EfEYy1sAZktV0KVEdGPDG1gprMDVjUYM7QL2I%3D&pageSize=100&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F0%2F0" -H "Content-Type: application/json"
Actual behavior
All messages in the store are returned
Expected behavior
Either empty messages list or an error saying that cursor doesn't match any message in the store
nwaku version/commit hash
harbor.status.im/wakuorg/nwaku:latest
Additional context
Logs
node.log
The text was updated successfully, but these errors were encountered: