Skip to content

Add C-Chain EVM workload to Antithesis tests#5228

Draft
DracoLi wants to merge 2 commits intomasterfrom
dl/antithesis-cchain-workload
Draft

Add C-Chain EVM workload to Antithesis tests#5228
DracoLi wants to merge 2 commits intomasterfrom
dl/antithesis-cchain-workload

Conversation

@DracoLi
Copy link
Copy Markdown
Contributor

@DracoLi DracoLi commented Apr 12, 2026

Why this should be merged

Scheduled Antithesis runs exercise Subnet-EVM workloads but not the C-Chain, which is a coverage gap for one of the most used chains.

Fixes #5188

How this works

The Antithesis avalanchego harness already randomizes P/X Chain issue/verify flows; this adds the same style of branch for C-Chain under the existing fault injection.

Each worker has a deterministic C-Chain key. Everyone except the genesis-funded worker gets a one-time AVAX top-up on C-Chain from that funder. The flow signs a small dynamic-fee self-transfer (RPC-suggested tip and base fee) and sends it with SendTransaction.

After inclusion, we open each node’s C-Chain JSON-RPC (/ext/bc/C/rpc), wait for a receipt, and require success on every URI so the cluster agrees; Antithesis reachability is recorded when that passes.

How this was tested

Tested via a 5 hour manual Antithesis run that included these changes.

Need to be documented in RELEASES.md?

No

@DracoLi DracoLi force-pushed the dl/antithesis-cchain-workload branch 5 times, most recently from f43f9de to 6effaad Compare April 13, 2026 00:07
@DracoLi DracoLi force-pushed the dl/antithesis-cchain-workload branch from 6effaad to 893df79 Compare April 13, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add C-Chain transaction workload to Antithesis tests

1 participant