commit 83f2ae2b56fea9018eec9c286600e587e2d237fd parent ac34de615fa7bcb2ee9de1120df9cbd0864f3350 Author: Jaromil <jaromil@dyne.org> Date: Fri, 1 Jul 2022 11:22:11 +0200 check graph query reentrancy commented until zenroom is updated in zvm Diffstat:
M | zencode/verify_graphql.zen | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/zencode/verify_graphql.zen b/zencode/verify_graphql.zen @@ -4,6 +4,22 @@ Given I have a 'base64' named 'graphql' and a 'schnorr signature' and a 'schnorr public key' in 'pubkeys' +# check that the graph query is reentrant +# When I create the count of char '{' found in 'graphql' +# and I rename 'count' to 'open' +# and I create the count of char '}' found in 'graphql' +# and I remove 'count' +# and I remove 'open' +# When I create the count of char '(' found in 'graphql' +# and I rename 'count' to 'open' +# and I create the count of char ')' found in 'graphql' +# and I remove 'count' +# and I remove 'open' +# When I create the count of char '[' found in 'graphql' +# and I rename 'count' to 'open' +# and I create the count of char ']' found in 'graphql' +# and I verify 'count' is equal to 'open' + When I verify the 'graphql' has a schnorr signature in 'schnorr signature' by 'schnorr public key' Then print the string 'VALID SIGNATURE'