Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update seal calls #1025

Merged
merged 27 commits into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f06d01b
macro def
xermicus Sep 20, 2022
971e5f9
update existing ext decls
xermicus Sep 21, 2022
dced4e7
Merge branch 'main' into update-seal-calls
xermicus Sep 22, 2022
f2955ec
update seal_get_storage in target emitter
xermicus Sep 23, 2022
d9c90b7
update seal_set_storage signature with key len
xermicus Sep 23, 2022
76f3d8b
add key len to seal_clear_storage calls
xermicus Sep 23, 2022
f764672
Merge branch 'main' into update-seal-calls
xermicus Sep 26, 2022
5b4001f
update seal_call build call
xermicus Sep 26, 2022
cc29cb6
update seal_instantiate build call
xermicus Sep 26, 2022
21a9221
update seal_terminate build call
xermicus Sep 26, 2022
f2ddd57
fix seal module names in the linker
xermicus Sep 26, 2022
2097eb4
update mockVM impls
xermicus Sep 26, 2022
68e797f
draft set_storage and clear_storage for returning values
xermicus Sep 26, 2022
710b779
implement return type of set and clear storage in mock VM
xermicus Sep 27, 2022
858c8cf
introduce macros for building calls
xermicus Sep 27, 2022
4a9e498
make substrate target emit more readable
xermicus Sep 27, 2022
760ce59
use helper macros for emit in substrate storage too
xermicus Sep 27, 2022
65018be
seal_random now returns 4 bytes more including the block number
xermicus Sep 28, 2022
91c5b61
revert to 32 byte keys, does not matter in this PR
xermicus Sep 28, 2022
848b14f
preserve salt length of 32bytes in both cases
xermicus Sep 28, 2022
21fa06d
seal_call flags can be done later
xermicus Sep 28, 2022
548008c
lints
xermicus Sep 28, 2022
b697ae8
rename helper macros
xermicus Sep 29, 2022
a5e56e8
return old length in mock VM storage ops
xermicus Sep 29, 2022
a2b8a88
implement key length check in substrate mock VM
xermicus Sep 29, 2022
b021e37
remove commented out code and better explain todos
xermicus Sep 29, 2022
42454a8
Update src/emit/substrate/target.rs
xermicus Sep 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading