一键导入
diff-test
Compare ex_ethclient output with reference Ethereum implementations (geth, reth, ethrex) for the same input.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compare ex_ethclient output with reference Ethereum implementations (geth, reth, ethrex) for the same input.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Fetch and summarize an Ethereum Improvement Proposal by number. Use when implementing protocol features or researching EIP specifications.
Run Ethereum official test fixtures (state tests, blockchain tests, MPT tests) against ex_ethclient modules.
Generate Rustler NIF boilerplate for a new native module. Creates Cargo.toml, lib.rs, and Elixir wrapper module.
Show current implementation phase status, test counts per app, and next steps for ex_ethclient development.
| name | diff-test |
| description | Compare ex_ethclient output with reference Ethereum implementations (geth, reth, ethrex) for the same input. |
| user-invocable | true |
| allowed-tools | Bash, Read, WebFetch, Grep, Glob |
| argument-hint | <test-type> [test-id] |
Compare ex_ethclient output against reference implementations for: $ARGUMENTS
rlp — RLP encoding/decoding comparisontx — Transaction signing and serializationblock — Block header hashingstate — State root computationreceipt — Receipt root and gas usedIdentify the test type and optional test ID from $ARGUMENTS
For the given test type, prepare test input:
Run ex_ethclient's implementation on the input:
mix run -e "..." or invoke the relevant module functionGet reference output:
test/fixtures/reference/Compare outputs field by field:
# Differential Test Report: <test-type>
## Input
<description of test input>
## Comparison
| Field | ex_ethclient | Reference | Match |
|-------|-------------|-----------|-------|
| state_root | 0xabc... | 0xabc... | OK |
| gas_used | 21000 | 21000 | OK |
## Mismatches
<detailed analysis of any differences>
## Root Cause Analysis
<if mismatches found, suggest likely causes>