File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -115,17 +115,22 @@ with our test chain. The chain files are located in `./cmd/devp2p/internal/ethte
115
115
2 . import blocks from ` chain.rlp `
116
116
3 . run the client using the resulting database. For geth, use a command like the one below:
117
117
118
- geth --datadir <datadir > --nodiscover --nat=none --networkid 3503995874084926 --verbosity 5
119
-
120
- Tests also require access to the engine API.
121
-
118
+ geth \
119
+ --datadir <datadir > \
120
+ --nodiscover \
121
+ --nat=none \
122
+ --networkid 3503995874084926 \
123
+ --verbosity 5 \
124
+ --authrpc.jwtsecret 0x7365637265747365637265747365637265747365637265747365637265747365
125
+
126
+ Note that the tests also require access to the engine API.
122
127
The test suite can now be executed using the devp2p tool.
123
128
124
129
devp2p rlpx eth-test \
125
- -chain internal/ethtest/testdata \
126
- -node enode://.... \
127
- -engineapi http://127.0.0.1:8546 \
128
- -jwt 0x424242424242424242424242...
130
+ -- chain internal/ethtest/testdata \
131
+ -- node enode://.... \
132
+ -- engineapi http://127.0.0.1:8551 \
133
+ --jwtsecret 0x7365637265747365637265747365637265747365637265747365637265747365
129
134
130
135
Repeat the above process (re-initialising the node) in order to run the Eth Protocol test suite again.
131
136
You can’t perform that action at this time.
0 commit comments