Skip to content

Commit

Permalink
run-tests: add is_testnet flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig authored Feb 2, 2024
1 parent a97c75c commit e929077
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/kit/run-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ port = 8080
home = "home/first"
fake_node_name = "first.os"
runtime_verbose = false
is_testnet = true

[[tests.nodes]]

port = 8081
home = "home/second"
fake_node_name = "second.os"
runtime_verbose = false
is_testnet = true


[[tests]]
Expand All @@ -99,6 +101,7 @@ port = 8080
home = "home/first"
fake_node_name = "first.os"
runtime_verbose = false
is_testnet = true
```

which has the directory structure
Expand Down Expand Up @@ -209,6 +212,7 @@ Key | Value Type | Value Description
`password` | String or Null | Password of fake node (default: `"secret"`)
`rpc` | String or Null | [`wss://` URI of Ethereum RPC](../login.md#starting-the-kinode-node)
`runtime_verbose` | Boolean | Whether to print `stdout`/`stderr` from the node
`is_testnet` | Boolean | Whether to connect to Sepolia testnet (`false` -> Optimism mainnet)

## Test package format

Expand Down

0 comments on commit e929077

Please sign in to comment.