Kernel/SDK: implement `store_read_all` and `store_write_all`
Context
The current version of store_read
(and store_write
) currently cannot read (write) more than 2048 at once, following the host functions implementation. This MR implements store_read_all
and store_overwrite_all
that can read and write arbitrary big values.
Note that these two functions have been implemented in !8147 (closed), but it might be useful to generalize them.
It depends on !8567 (merged).
Manually testing the MR
Run the tests, as no kernel uses it for now:
make build-kernels
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rst
for the protocol and the environment,CHANGES.rst
at the root of the repository for everything else). -
Select suitable reviewers using the Reviewers
field below. -
Select as Assignee
the next person who should take action on that MR
Edited by Pierrick Couderc