Skip to content

Commit b72c9e0

Browse files
committed
tests: add test for net_version
1 parent 1a0df6e commit b72c9e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Calls net_version to retrieve the network ID, which is expected to be equal to the chainID of the test chain.
2+
>> {"jsonrpc":"2.0","id":1,"method":"net_version"}
3+
<< {"jsonrpc":"2.0","id":1,"result":"3503995874084926"}

0 commit comments

Comments
 (0)