Part of the gRPC transaction-building migration epic #12096. Covers the tests
that use JSON-RPC only as transport to exercise node internals. The
JSON-RPC API-surface tests are handled separately in #12103.
Goal
Migrate transaction building (and, where they only use JSON-RPC as a client
transport, the reads) in node-internal test suites to the gRPC-driven
TransactionBuilder, without changing what is under test. These stay
#[sim_test].
tonic-under-msim — RESOLVED
PR #11819 deferred sim-test migration for lack of a "tonic-under-msim
precedent". That precedent already exists: crates/iota-e2e-tests/tests/grpc/
is driven entirely by the gRPC client under the simulator (~120 #[sim_test],
verified). gRPC works under msim, so node-behaviour tests can move
JSON-RPC → gRPC and stay deterministic simtests.
Scope
Out of scope
Acceptance
- Node-internal tests build transactions via the gRPC client and remain
#[sim_test]; subjects under test are unchanged.
Part of the gRPC transaction-building migration epic #12096. Covers the tests
that use JSON-RPC only as transport to exercise node internals. The
JSON-RPC API-surface tests are handled separately in #12103.
Goal
Migrate transaction building (and, where they only use JSON-RPC as a client
transport, the reads) in node-internal test suites to the gRPC-driven
TransactionBuilder, without changing what is under test. These stay#[sim_test].tonic-under-msim— RESOLVEDPR #11819 deferred sim-test migration for lack of a "tonic-under-
msimprecedent". That precedent already exists:
crates/iota-e2e-tests/tests/grpc/is driven entirely by the gRPC client under the simulator (~120
#[sim_test],verified). gRPC works under
msim, so node-behaviour tests can moveJSON-RPC → gRPC and stay deterministic simtests.
Scope
crates/iota-e2e-tests/tests/node-internal suites that use JSON-RPC astransport (reconfiguration, protocol_version, full_node,
transaction_orchestrator, traffic_control, abstract_account, …)
— ~103
#[sim_test]+ ~16tokio. Migrate transaction building to thegRPC builder; keep them as simtests.
iota-cluster-testtest cases still usingclient.transaction_builder().Out of scope
iota-json-rpc-tests) #12103 (consolidate onto the indexer,remove node
iota-json-rpc-tests).iota/tests/cli_tests.rs, localnet,source-validation) — migrate after the tools themselves move off node
JSON-RPC (Phases 3 & 5).
typed
PTBArgumentList, not JSON args).Acceptance
#[sim_test]; subjects under test are unchanged.