Skip to content

Commit d496342

Browse files
Move blockscout fixtures to separate dir and add README
1 parent d6e8159 commit d496342

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Blockscout test helpers
2+
3+
The directory contains a list of fixtures containing blockscout tracer code.
4+
5+
## Source data
6+
7+
- [tracer_v2](tracer_v2.min.json) - [source code](https://github.com/moonbeam-foundation/moonbeam/blob/d47da4eee70f60bd835c39f9e6098e1e4e0c9347/test/helpers/tracer/blockscout_tracer_v2.min.json)
8+
- [tracer](tracer.min.json) - [source code](https://github.com/moonbeam-foundation/moonbeam/blob/d47da4eee70f60bd835c39f9e6098e1e4e0c9347/test/helpers/tracer/blockscout_tracer.min.json)

utils/e2e-tests/ts/lib/helpers/blockscout_tracer.min.json renamed to utils/e2e-tests/ts/lib/helpers/blockscout/tracer.min.json

File renamed without changes.

utils/e2e-tests/ts/lib/helpers/blockscout_tracer_v2.min.json renamed to utils/e2e-tests/ts/lib/helpers/blockscout/tracer_v2.min.json

File renamed without changes.

utils/e2e-tests/ts/tests/evm-tracing/debugTraceTransactionGeneral.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import looper from "../../lib/abis/evmTracing/looper";
88
import heavy from "../../lib/abis/evmTracing/heavy";
99
import evmSwap from "../../lib/abis/evmSwap";
1010
import incrementor from "../../lib/abis/evmTracing/incrementor";
11-
import BS_TRACER from "../../lib/helpers/blockscout_tracer.min.json";
12-
import BS_TRACER_V2 from "../../lib/helpers/blockscout_tracer_v2.min.json";
11+
import BS_TRACER from "../../lib/helpers/blockscout/tracer.min.json";
12+
import BS_TRACER_V2 from "../../lib/helpers/blockscout/tracer_v2.min.json";
1313
import { encodeFunctionData, hexToNumber } from "viem";
1414
import { customRpcRequest } from "../../lib/rpcUtils";
1515

0 commit comments

Comments
 (0)