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

Add generation of contract clients and an AssembledTransaction abstraction #891

Merged
merged 2 commits into from
Jan 5, 2024

Commits on Jan 5, 2024

  1. feat: spec.generateContractClient; AssembledTx

    - new e2e tests copied from cli `ts-tests` for the generated bindings, but
      with TypeScript removed because the ContractClient is generated here
      dynamically at run time, so we cannot know the types at compile time in
      the tests.
    - generate JSON specs from local .wasm files during initiaze.sh instead
      of generating TS bindings. As explained in the new wasms/specs/README,
      this is a bummer, but is temporary
    chadoh committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    20cbf66 View commit details
    Browse the repository at this point in the history
  2. chore: rollback test/contract_spec changes

    ContractClient is now fully tested in `tests/e2e` rather than in this
    file
    
    Keeping this in a separate commit in case we decide it's better to go
    back and do things "The tests/unit way" instead of the new tests/e2e
    way. It feels maybe silly to have both.
    chadoh committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    af361a5 View commit details
    Browse the repository at this point in the history