sui icon indicating copy to clipboard operation
sui copied to clipboard

Basic light client CLI

Open gdanezis opened this issue 1 year ago • 1 comments

Description

This PR adds a new command line utility that:

  • Syncs to all end-of-epoch checkpoints found either on a given list or by binary search (less efficient)
  • Check that a TID in a checkpoint sequence number is valid, based on checking committee certificates on the checkpoint, and print the effects digest.
  • Prints all events in a TID or the objects with OID
  • Checks that all types are correct by checking the transactions that created the modules are correct.

Test Plan

How did you test the new or updated feature?


If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.

Type of Change (Check all that apply)

  • [ ] protocol change
  • [x] user-visible impact
  • [ ] breaking change for a client SDKs
  • [ ] breaking change for FNs (FN binary must upgrade)
  • [ ] breaking change for validators or node operators (must upgrade binaries)
  • [ ] breaking change for on-chain data layout
  • [ ] necessitate either a data wipe or data migration

Release notes

Added a basic light client to cryptographically check outcomes of transactions without a full node.

gdanezis avatar Dec 04 '23 15:12 gdanezis

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

Name Status Preview Comments Updated (UTC)
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2023 9:14am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2023 9:14am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Dec 22, 2023 9:14am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 22, 2023 9:14am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Dec 22, 2023 9:14am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 22, 2023 9:14am

vercel[bot] avatar Dec 04 '23 15:12 vercel[bot]