Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rust-sdk): Simulate WaitForLocalExecution (#18996)
## Description If transaction execution requires waiting for local execution, then simulate it by polling, to account for the fact that fullnodes will soon start to ignore this parameter. ## Test plan Run the programmable transaction SDK example: ``` sui-sdk$ cargo run --example programmable_transactions_api ``` Run the tic-tac-toe E2E example: ``` examples/tic-tac-toe/cli$ env $(cat testnet.env) \ cargo run -- new $(sui client active-address) | | ---+---+--- | | ---+---+--- | | -> X: <ADDRESS> O: <ADDRESS> GAME: <GAME> examples/tic-tac-toe/cli$ env $(cat testnet.env) \ cargo run -- move -r 0 -c 0 $GAME ... ``` --- ## 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: - [X] Rust SDK: Adds support for simulating `WaitForLocalExecution` in the client, using polling, as the flag will be ignored by fullnodes shortly. - [ ] REST API:
- Loading branch information