You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of algorand/go-algorand#3890, accessing a Box requires specifying the box name in the (new) static Boxes array. The story requests adding SDK support + tests for submitting Application Call transactions with a static Boxes array.
We should able to specify the boxes that an application call will touch: i.e. ApplicationCallTxn needs a new "boxes" field.
The atomic transaction composer also needs an update to the add_method_call function, and possibly some other updates (not well understood by me yet).
Encoding note:
The SDK exposes an API where apps are directly referenced: appl(A, ForeignApps=[B], Boxes=[(A, "hello"), (B, "goodbye")])
In contrast, the transaction encoding translates the app reference to the foreign app index (e.g. A to 0): appl(A, ForeignApps=[B], Boxes=[(0, "hello"), (1, "goodbye")]).
Dependencies
Urgency
The text was updated successfully, but these errors were encountered:
michaeldiamant
changed the title
SDKs: Support Box static array in transactions
SDKs: Support Box static array in transactions + algod box search APIs
Jul 14, 2022
Problem
As of algorand/go-algorand#3890, accessing a Box requires specifying the box name in the (new) static Boxes array. The story requests adding SDK support + tests for submitting Application Call transactions with a static Boxes array.
SDKs in-scope:
Solution
appl(A, ForeignApps=[B], Boxes=[(A, "hello"), (B, "goodbye")])
A
to0
):appl(A, ForeignApps=[B], Boxes=[(0, "hello"), (1, "goodbye")])
.Dependencies
Urgency
The text was updated successfully, but these errors were encountered: