Skip to content

[gRPC migration] Phase 4 — Migrate node-internal tests' transaction building/transport JSON-RPC → gRPC #12100

Description

@Thoralf-M

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

  • crates/iota-e2e-tests/tests/ node-internal suites that use JSON-RPC as
    transport (reconfiguration, protocol_version, full_node,
    transaction_orchestrator, traffic_control, abstract_account, …)
    — ~103 #[sim_test] + ~16 tokio. Migrate transaction building to the
    gRPC builder; keep them as simtests.
  • Remaining iota-cluster-test test cases still using
    client.transaction_builder().

Out of scope

Acceptance

  • Node-internal tests build transactions via the gRPC client and remain
    #[sim_test]; subjects under test are unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-toolsIssues related to the Developer Tools Teamsc-platformIssues related to the Smart Contract Platform group.

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions