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
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending=True and pagesize=2
2- expected : pages are returned forwardly
3-actual : pages returned backwardly
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending=False and pagesize=2
2- expected : pages are returned backwardly
3-actual : pages returned backwardly
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending="ABC" and pagesize=2
2- expected : pages are returned forwardly
3-actual : pages returned forwardly
Expected behavior
there is no way to get pages forward unless ascending flag is set to wrong value like string or special characters
Problem
ascending flag isn't working correctly
Impact
Can't retrieve pages via store API forwardly
To reproduce
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending=True and pagesize=2
2- expected : pages are returned forwardly
3-actual : pages returned backwardly
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending=False and pagesize=2
2- expected : pages are returned backwardly
3-actual : pages returned backwardly
1-sending 4 messages
2- Call REST API "get /store/v3/messages" with flag ascending="ABC" and pagesize=2
2- expected : pages are returned forwardly
3-actual : pages returned forwardly
Expected behavior
there is no way to get pages forward unless ascending flag is set to wrong value like string or special characters
nwaku version/commit hash
c5a825e
The text was updated successfully, but these errors were encountered: