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

Update seal calls #1025

merged 27 commits into from
Sep 30, 2022

Commits on Sep 20, 2022

  1. macro def

    Signed-off-by: xermicus <[email protected]>
    xermicus committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    f06d01b View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. update existing ext decls

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    971e5f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Merge branch 'main' into update-seal-calls

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    dced4e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. update seal_get_storage in target emitter

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    f2955ec View commit details
    Browse the repository at this point in the history
  2. update seal_set_storage signature with key len

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    d9c90b7 View commit details
    Browse the repository at this point in the history
  3. add key len to seal_clear_storage calls

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    76f3d8b View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    f764672 View commit details
    Browse the repository at this point in the history
  2. update seal_call build call

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    5b4001f View commit details
    Browse the repository at this point in the history
  3. update seal_instantiate build call

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    cc29cb6 View commit details
    Browse the repository at this point in the history
  4. update seal_terminate build call

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    21a9221 View commit details
    Browse the repository at this point in the history
  5. fix seal module names in the linker

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    f2ddd57 View commit details
    Browse the repository at this point in the history
  6. update mockVM impls

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    2097eb4 View commit details
    Browse the repository at this point in the history
  7. draft set_storage and clear_storage for returning values

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    68e797f View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. implement return type of set and clear storage in mock VM

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    710b779 View commit details
    Browse the repository at this point in the history
  2. introduce macros for building calls

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    858c8cf View commit details
    Browse the repository at this point in the history
  3. make substrate target emit more readable

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    4a9e498 View commit details
    Browse the repository at this point in the history
  4. use helper macros for emit in substrate storage too

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    760ce59 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. seal_random now returns 4 bytes more including the block number

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    65018be View commit details
    Browse the repository at this point in the history
  2. revert to 32 byte keys, does not matter in this PR

    Signed-off-by: xermicus <[email protected]>
    xermicus committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    91c5b61 View commit details
    Browse the repository at this point in the history
  3. preserve salt length of 32bytes in both cases

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    848b14f View commit details
    Browse the repository at this point in the history
  4. seal_call flags can be done later

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    21fa06d View commit details
    Browse the repository at this point in the history
  5. lints

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    548008c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. rename helper macros

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    b697ae8 View commit details
    Browse the repository at this point in the history
  2. return old length in mock VM storage ops

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    a5e56e8 View commit details
    Browse the repository at this point in the history
  3. implement key length check in substrate mock VM

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    a2b8a88 View commit details
    Browse the repository at this point in the history
  4. remove commented out code and better explain todos

    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    b021e37 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Update src/emit/substrate/target.rs

    Co-authored-by: Lucas Steuernagel <[email protected]>
    Signed-off-by: Cyrill Leutwiler <[email protected]>
    xermicus and LucasSte committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    42454a8 View commit details
    Browse the repository at this point in the history