20
20
21
21
## P2p tests
22
22
23
- ### [ RPC] ( ../.. /p2p/tests/rpc.rs)
23
+ ### [ RPC] ( https://github.com/o1-labs/openmina/blob/develop /p2p/tests/rpc.rs)
24
24
25
25
- ` rust_to_rust ` : test that rust node can receive and send response to and from
26
26
another rust node
34
34
` attempt to subtract with overflow ` in yamux
35
35
- ` block ` : fails with ` attempt to subtract with overflow ` in yamux
36
36
37
- ### [ Kademlia] ( ../.. /p2p/tests/kademlia.rs)
37
+ ### [ Kademlia] ( https://github.com/o1-labs/openmina/blob/develop /p2p/tests/kademlia.rs)
38
38
39
39
- ` kademlia_routing_table ` : tests that node receives peers using kademlia
40
40
- ` kademlia_incoming_routing_table ` : test that kademlia is updated with incoming
45
45
- ` discovery_seed_multiple_peers ` : test node discovery and identify integration
46
46
- ` test_bad_node ` : test that if node gives us invalid peers we handle it
47
47
48
- ### [ Identify] ( ../.. /p2p/tests/identify.rs)
48
+ ### [ Identify] ( https://github.com/o1-labs/openmina/blob/develop /p2p/tests/identify.rs)
49
49
50
50
- ` rust_node_to_rust_node ` : test if rust node can identify another rust node
51
51
52
- ### [ Connection] ( ../.. /p2p/tests/connection.rs)
52
+ ### [ Connection] ( https://github.com/o1-labs/openmina/blob/develop /p2p/tests/connection.rs)
53
53
54
54
- ` rust_to_rust ` : test if rust node can connect to rust node
55
55
- ` rust_to_libp2p ` : test if out node can connect to rust libp2p
66
66
67
67
## Scenarios
68
68
69
- ### [ Connection Discovery] ( ../.. /node/testing/src/scenarios/multi_node/connection_discovery.rs)
69
+ ### [ Connection Discovery] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/src/scenarios/multi_node/connection_discovery.rs)
70
70
71
71
We want to test whether the Rust node can connect and discover peers from Ocaml
72
72
node, and vice versa
@@ -104,7 +104,7 @@ node, and vice versa
104
104
these nodes connect to the Rust node, the test makes sure that they also have
105
105
each other’s addresses as their peers.
106
106
107
- ### [ P2P Connections] ( ../.. /node/testing/tests/p2p_basic_connections.rs)
107
+ ### [ P2P Connections] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/p2p_basic_connections.rs)
108
108
109
109
- ` SimultaneousConnections ` : Tests if two nodes are connecting to each other at
110
110
the same time, they should be connected, so each one has exactly one
@@ -123,28 +123,28 @@ node, and vice versa
123
123
124
124
- ` MaxNumberOfPeersIs1 ` Two nodes with max peers = 1 can connect to each other.
125
125
126
- ### [ P2P Kademlia] ( ../.. /node/testing/tests/p2p_kad.rs)
126
+ ### [ P2P Kademlia] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/p2p_kad.rs)
127
127
128
128
Test related to kademlia layer.
129
129
130
130
- ` KademliaBootstrap ` : Test that node discovers peers another rust node and is
131
131
able to bootstrap
132
132
133
- ### [ P2P Pubsub] ( ../.. /node/testing/tests/p2p_pubsub.rs)
133
+ ### [ P2P Pubsub] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/p2p_pubsub.rs)
134
134
135
135
Tests related to pubsub layer.
136
136
137
137
- ` P2pReceiveMessage ` Test that node receives message over meshsub from node
138
138
139
- ### [ P2P Incoming] ( ../.. /node/testing/tests/p2p_basic_incoming.rs)
139
+ ### [ P2P Incoming] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/p2p_basic_incoming.rs)
140
140
141
141
Tests related to handling incoming connections.
142
142
143
143
- ` AcceptIncomingConnection ` : Node should accept incoming connections.
144
144
- ` AcceptMultipleIncomingConnections ` : Node should accept multiple incoming
145
145
connections.
146
146
147
- ### [ P2P Outgoing] ( ../.. /node/testing/tests/p2p_basic_outgoing.rs)
147
+ ### [ P2P Outgoing] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/p2p_basic_outgoing.rs)
148
148
149
149
Tests related to outgoing connections
150
150
@@ -171,7 +171,7 @@ Tests related to outgoing connections
171
171
- ` ConnectToInitialPeersBecomeReady ` : Node should be able to connect to all
172
172
initial peers after they become ready.
173
173
174
- ### [ Single Node] ( ../.. /node/testing/tests/single_node.rs) :
174
+ ### [ Single Node] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/single_node.rs) :
175
175
176
176
We want to test whether the Rust node is compatible with the OCaml node. We
177
177
achieve this by attempting to connect the Openmina node to the existing OCaml
@@ -194,7 +194,7 @@ cluster.
194
194
- ` SoloNodeBootstrap ` : Set up single Rust node and bootstrap snarked ledger,
195
195
bootstrap ledger and blocks.
196
196
197
- ### [ Multi Node] ( ../.. /node/testing/tests/multi_node.rs) :
197
+ ### [ Multi Node] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/multi_node.rs) :
198
198
199
199
We also want to test a scenario in which the network consists only of Openmina
200
200
nodes. If the Openmina node is using a functionality that is implemented only in
@@ -209,7 +209,7 @@ testing is completely local and under our control.
209
209
- ` MultiNodeBasicConnectivityInitialJoining ` : Tests that node maintains number
210
210
of peers between minimum and maximum allowed peers.
211
211
212
- ### [ Record/Replay] ( ../.. /node/testing/tests/record_replay.rs)
212
+ ### [ Record/Replay] ( https://github.com/o1-labs/openmina/blob/develop /node/testing/tests/record_replay.rs)
213
213
214
214
- ` RecordReplayBootstrap ` : Bootstrap a rust node while recorder of state and
215
215
input actions is enabled and make sure we can successfully replay it.
0 commit comments