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

feat: add wasm tx generator for snap sign #4

Merged
merged 19 commits into from
Nov 15, 2023
Merged

Commits on Nov 14, 2023

  1. feat: add wasm tx generator for snap sign

    This commit introduces a WASM transaction parser and encoder to the
    snap. The returned bytes of the `signTransaction` method will be a borsh
    serialized transaction, that can be directly sent to sequencers.
    
    It adds the bytecode of the wasm to the hardcoded snap source so its
    source is committed to the hash of the published snap. It is done that
    way to avoid exploits from the UI that might return malicious WASM files
    and sign tampered messages for the user - having the bytes of the WASM
    committed to the plugin asserts the signature will be only for the
    intended message.
    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f77dc1b View commit details
    Browse the repository at this point in the history
  2. upd lockfiles

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    776c5a3 View commit details
    Browse the repository at this point in the history
  3. add wasm32-wasi target to CI

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    151abc0 View commit details
    Browse the repository at this point in the history
  4. add wasmtools to CI

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ee34a87 View commit details
    Browse the repository at this point in the history
  5. add binaryen to ci reqs

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    cdfd1cf View commit details
    Browse the repository at this point in the history
  6. update binaryes version

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    832fab4 View commit details
    Browse the repository at this point in the history
  7. install binaryen to ci

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    fa11d55 View commit details
    Browse the repository at this point in the history
  8. add wabt

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    46924a3 View commit details
    Browse the repository at this point in the history
  9. remove build-wasm workflow

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    b115d2e View commit details
    Browse the repository at this point in the history
  10. restore package json

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0d6c821 View commit details
    Browse the repository at this point in the history
  11. fix style issues

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    5ddc819 View commit details
    Browse the repository at this point in the history
  12. omit lint

    vlopes11 committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ca8f790 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    2834e86 View commit details
    Browse the repository at this point in the history
  2. update workflow

    vlopes11 committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    6028b6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    857757e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    95304ed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c683f5 View commit details
    Browse the repository at this point in the history
  6. upd path on ci script

    vlopes11 committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    f6f1730 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70af423 View commit details
    Browse the repository at this point in the history