op

function op(ops: list<rell.test.op>): rell.test.tx

Add a list of test operation calls to this test transaction builder.

Since

0.10.4

Parameters

ops

the list of operations to add


function op(ops: rell.test.op...): rell.test.tx

Add test operation calls to this test transaction builder.

Since

0.10.4

Parameters

ops

the operations to add


Add a list of test operation calls to this test transaction builder.

The test operation calls are given as struct<operation> values.

For example, calls to the operation:

operation my_op(foo: integer, bar: list<text>) { ... }

may be passed as a struct<my_op>:

my_transaction_builder.op([
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
]);

Since

0.10.4

Parameters

ops

the list of test operation calls to add to this transaction builder


Add the given test operation calls to this test transaction builder.

The test operation calls are given as struct<operation> values.

For example, calls to the operation:

operation my_op(foo: integer, bar: list<text>) { ... }

may be passed as a struct<my_op>:

my_transaction_builder.op(
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
);

Since

0.10.4

Parameters

ops

the test operation calls to add to this transaction builder