near / near-sdk-as

Tools for building NEAR smart contracts in AssemblyScript
https://near.github.io/near-sdk-as/
Other
115 stars 44 forks source link

Provide test/example for promise_batch_action_* calls #111

Open mikedotexe opened 4 years ago

mikedotexe commented 4 years ago

Use case As I user, I want to use the methods listed around here: https://github.com/near/near-sdk-as/blob/a7dcaf3f4937e6c7bc71c4462e4f1d6ec5d69ff7/assembly/runtime/env/imports.ts#L129 in order to make batch promise calls. I would like to take an example from either a test (probably simulation test in this case) that uses batch promises, or have some examples in comments to model after.

Acceptance Criteria Code is available in near-sdk-as in a way that a user can copy/paste and modify batch promise calls in order to use in their own smart contract.

willemneal commented 4 years ago

fixed by #86