Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sui-transaction-builder] Remove dependency on sui-adapter (#11163)
## Description Remove logic in the transaction builder that relies on the execution layer, namely: - Type checking move call parameters, which other SDKs do not do, and is complicated by execution versioning. - Preventing calls to non-entry functions in `Normal` execution mode (which is not longer a restriction with the introduction of programmable transactions). This removes the dependency on `sui-adapter` from `sui-json` and `sui-sdk`. ## Test Plan ``` $ cargo simtest $ env SUI_SKIP_SIMTESTS=1 cargo nextest run ``` ### Type of Change (Check all that apply) - [x] user-visible impact - [x] breaking change for a client SDKs - [x] 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 - `unsafe_moveCall` and `unsafe_batchTransaction` now ignore their `execution_mode` parameter, and always allow calls to non-entry programmable transactions. - Rust SDK no longer performs type resolution and checks (matching behaviour with TypeScript SDK).
- Loading branch information
7915de5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
wallet-adapter – ./sdk/wallet-adapter/example
sui-wallet-adapter.vercel.app
wallet-adapter-git-main-mysten-labs.vercel.app
wallet-adapter-mysten-labs.vercel.app
7915de5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sui-wallet-kit – ./sdk/wallet-adapter/site
sui-wallet-kit.vercel.app
sui-wallet-kit-git-main-mysten-labs.vercel.app
sui-wallet-kit-mysten-labs.vercel.app
7915de5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
explorer-storybook – ./apps/explorer
explorer-storybook-mysten-labs.vercel.app
explorer-storybook-git-main-mysten-labs.vercel.app
explorer-storybook.vercel.app
7915de5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
explorer – ./apps/explorer
explorer-git-main-mysten-labs.vercel.app
explorer-topaz.vercel.app
explorer-mysten-labs.vercel.app
explorer.sui.io
7915de5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 Validators 500/s Owned Transactions Benchmark Results
4 Validators 500/s Shared Transactions Benchmark Results
20 Validators 50/s Owned Transactions Benchmark Results
20 Validators 50/s Shared Transactions Benchmark Results
Narwhal Benchmark Results