commit da1b6dd9e3c3fc03fac16edfddb9dd9450f41017
parent 5101c2d6bae4a82ffcaef20d669d7638ad285c5d
Author: srfsh <dev@srf.sh>
Date: Thu, 21 Jul 2022 20:09:13 +0300
zencode/src/verify_graphql: fix types and simplify return value
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zencode/src/verify_graphql.zen b/zencode/src/verify_graphql.zen
@@ -1,8 +1,8 @@
Scenario eddsa: verify the signature of a graph query
Given I have a 'base64' named 'graphql'
-Given I have a 'eddsa signature'
-Given I have a 'base58' named 'eddsa public key'
+Given I have a 'base58' named 'eddsa signature'
+Given I have a 'base64' named 'eddsa public key'
# check that the graph query is reentrant
# When I create the count of char '{' found in 'graphql'
@@ -22,4 +22,4 @@ Given I have a 'base58' named 'eddsa public key'
When I verify the 'graphql' has a eddsa signature in 'eddsa signature' by 'eddsa public key'
-Then print the string 'VALID SIGNATURE'
+Then print the string '1'