concordium-rust-smart-contracts icon indicating copy to clipboard operation
concordium-rust-smart-contracts copied to clipboard

Update docs for StateBox/StateSet: how to construct a new box/set

Open annenkov opened this issue 2 years ago • 1 comments

Description

StateBox and StateSet documentation is missing the details about how to construct them using the StateBuilder. (StateMap has an example that could easily be copied and altered).

annenkov avatar Sep 19 '22 13:09 annenkov

I've expanded this to also include StateSet as that is also missing.

This task could also include a simple but more complete use-case example for each state type. Similar to this BTreeMap example, BTreeSet example, and Box example.

Bargsteen avatar Sep 21 '22 08:09 Bargsteen