op
A test operation call, consisting of a name (an operation's mount name), and a list of arguments (a list<gtv>
).
Since
0.10.4
See also
Constructors
Properties
Functions
Assert that this test operation call fails.
More precisely:
Build a test block containing a single test transaction, which contains only this test operation call.
Assert that the building fails (i.e. that invoking this test transaction call results in a thrown exception).
Assert that this test operation call fails.
More precisely:
Build a test block containing a single test transaction, which contains only this test operation call.
Assert that the building fails (i.e. that invoking this test transaction call results in a thrown exception).
Checks that the given message is a substring of the thrown message. For example my_tx.run_must_fail('out of bounds')
succeeds if an exception with message Run-time error: List index out of bounds: 0 (size 0)
is thrown.
Create a test transaction builder containing this test operation call, and add the given private keys as signers of the test transaction.
When the test transaction builder is built, the transaction will be signed with all given private keys.
Create a test transaction builder containing this test operation call, and add the private keys in the given list as signers of the test transaction.
When the returned test transaction builder is built, the transaction will be signed with all private keys in the list.
Create a test transaction builder containing this test operation call, and add the keypairs in the given list as signers of the test transaction.
When the returned test transaction builder is built, the transaction will be signed with all keypairs in the list.
Create a test transaction builder containing this test operation call, and add the given keypairs as signers of the test transaction.
When the returned test transaction builder is built, the transaction will be signed with all given keypairs.
Convert this test operation call to a gtx_operation
.
Inverse of gtx_operation.to_test_op()
.
Create a test transaction builder containing this test operation call.