Section 7 - using operator.key in tests #327
Replies: 2 comments 1 reply
-
How do you think we can write the test if we don't assume that an operator signs the transaction like we did in the test? You are correct that in a real scenario we won't be the one to use the operator key to sign the transaction but in essence the operator will sign the transaction and that is what we are trying to prove. You need to understand that a test scenario is different from a real transaction scenario. |
Beta Was this translation helpful? Give feedback.
-
Wow that was fast! Thanks @EngrPips. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody. Checking this test:
I realizes that we use an
operator
who in a real scenario will be hidden to us. So, I'm not understand (yet) how this is a valid test. In a previous test (testSignatureReplay()
) a previous signed message is re-send, but here, a all new message is involve. Please... give me some light :)Regards.
Beta Was this translation helpful? Give feedback.
All reactions