-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathrun_rpc_tests_remote_ethereum.sh
More file actions
executable file
·34 lines (30 loc) · 1.19 KB
/
run_rpc_tests_remote_ethereum.sh
File metadata and controls
executable file
·34 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
set -e # Enable exit on error
# The workspace directory, no default because run_rpc_tests has it
WORKSPACE="$1"
# The result directory, no default because run_rpc_tests has it
RESULT_DIR="$2"
# Disabled tests for Ethereum mainnet in remote (grpc) configuration
DISABLED_TEST_LIST=(
# Erigon2 and Erigon3 never supported this api methods
trace_rawTransaction
engine_
# these tests/apis are disabled because some methods are not implmented on grpc
eth_getProof
eth_simulateV1
# Temporary disable required block 24298763
debug_traceBlockByNumber/test_51.json
# Temporary disable required block 23917742
debug_traceTransaction/test_149.json
erigon_getLogsByHash/test_01.json
eth_getBlockReceipts/test_01.json
eth_createAccessList/test_16.json
eth_getBlockReceipts/test_06.json
ots_getBlockDetails/test_01.json
ots_getBlockDetailsByHash/test_01.json
ots_getBlockTransactions/test_02.json
)
# Transform the array into a comma-separated string
DISABLED_TESTS=$(IFS=,; echo "${DISABLED_TEST_LIST[*]}")
# Call the main test runner script with the required and optional parameters
"$(dirname "$0")/run_rpc_tests.sh" mainnet v2.6.0 "$DISABLED_TESTS" "$WORKSPACE" "$RESULT_DIR"