sui icon indicating copy to clipboard operation
sui copied to clipboard

rest: add transaction execution endpoint

Open bmwill opened this issue 9 months ago • 4 comments

Description

Add a transaction execution endpoint to the rest api that utilizes the new transaction execution 2.0 ability to ask for input/output objects from validators.

This PR also introduces a dependency on https://github.com/bmwill/sui-sdk which is a from-scratch implementation of the sui core types that includes compatibilities via bcs for all types as well as a newly designed, canonical, json representation for all core types.

One note is that we may or may not want to finish are conversions to/from these new types and the core types. Presently in this PR we leverage the bcs compatibility aspect and just convert via ser/de.

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • [ ] Protocol:
  • [ ] Nodes (Validators and Full nodes):
  • [ ] Indexer:
  • [ ] JSON-RPC:
  • [ ] GraphQL:
  • [ ] CLI:
  • [ ] Rust SDK:

bmwill avatar May 09 '24 16:05 bmwill

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 1:52am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview May 23, 2024 1:52am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview May 23, 2024 1:52am
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview May 23, 2024 1:52am

vercel[bot] avatar May 09 '24 16:05 vercel[bot]

@bmwill is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 10 '24 03:05 vercel[bot]

Thanks! Should we review sui-sdk first and get it into mysten repositories?

lxfind avatar May 13 '24 16:05 lxfind

Thanks! Should we review sui-sdk first and get it into mysten repositories?

Just moved this repo to mystenlabs/sui-rust-sdk and setup CI/branch protections and the like there.

bmwill avatar May 22 '24 15:05 bmwill