-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(benchmark): 🧪 update ethereum benchmark with new statements
- Loading branch information
1 parent
3821dc5
commit 1533a55
Showing
4 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
Scenario 'ethereum': batch verification | ||
|
||
Given I have a 'ethereum address array' named 'ethereum addresses' | ||
and I have a 'ethereum signature array' named 'ethereum signatures' | ||
Given I have a 'ethereum address signature pair array' named 'address_signature_pair' | ||
and I have a 'string' named 'message' | ||
|
||
When I verify the 'message' has an array of ethereum signatures in 'ethereum signatures' by 'ethereum addresses' | ||
When I verify the ethereum address signature pair array 'address_signature_pair' of 'message' | ||
|
||
Then print the string 'OK' |
7 changes: 3 additions & 4 deletions
7
test/benchmark/eth/lua_for/batch_verification_result.zen.bench
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
Scenario ethereum: verify sig | ||
Given I have a 'ethereum address array' named 'ethereum addresses' | ||
and I have a 'ethereum signature array' named 'ethereum signatures' | ||
Given I have a 'ethereum address signature pair array' named 'address_signature_pair' | ||
and I have a 'string' named 'message' | ||
|
||
When I create the verification result verifying the 'message' has an array of ethereum signatures in 'ethereum signatures' by 'ethereum addresses' | ||
When I use the ethereum address signature pair array 'address_signature_pair' to create the result array of 'message' | ||
|
||
Then print the 'verification result' | ||
Then print the 'result array' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters