Skip to content

Commit 1ddf8ea

Browse files
committed
docs: Update documentation project structure
1 parent dd88ac3 commit 1ddf8ea

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/modules/ROOT/pages/structure.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The main source code directory contains the core implementation files organized
4646
** `expression`: Expression evaluation
4747
** `logging/`: Logging utilities
4848
** `metrics/`: Metrics utilities
49+
** `monitor/`: Monitor configuration test utilities
4950

5051
== Configuration and Data:
5152

tests/integration/blockchain/transports/http.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ async fn test_client_creation_with_test_connection_payload() {
4040
let mut server = Server::new_async().await;
4141
let mock = server
4242
.mock("POST", "/")
43-
.match_body(r#"{"id":1,"jsonrpc":"2.0","method":"system_chain","params":[]}"#)
43+
.match_body(r#"{"id":1,"jsonrpc":"2.0","method":"net_version","params":[]}"#)
4444
.with_header("content-type", "application/json")
4545
.with_status(200)
4646
.with_body(r#"{"jsonrpc":"2.0","id":0,"result":"1"}"#)
4747
.create();
4848

4949
let network = create_evm_test_network_with_urls(vec![&server.url()]);
5050
const TEST_CONNECTION_PAYLOAD: &str =
51-
r#"{"id":1,"jsonrpc":"2.0","method":"system_chain","params":[]}"#;
51+
r#"{"id":1,"jsonrpc":"2.0","method":"net_version","params":[]}"#;
5252

5353
match HttpTransportClient::new(&network, Some(TEST_CONNECTION_PAYLOAD.to_string())).await {
5454
Ok(transport) => {
@@ -146,7 +146,7 @@ async fn test_client_try_connect_with_test_connection_payload() {
146146
let mut server = Server::new_async().await;
147147
let mock = server
148148
.mock("POST", "/")
149-
.match_body(r#"{"id":1,"jsonrpc":"2.0","method":"system_chain","params":[]}"#)
149+
.match_body(r#"{"id":1,"jsonrpc":"2.0","method":"net_version","params":[]}"#)
150150
.with_header("content-type", "application/json")
151151
.with_status(200)
152152
.with_body(r#"{"jsonrpc":"2.0","id":0,"result":"1"}"#)
@@ -155,7 +155,7 @@ async fn test_client_try_connect_with_test_connection_payload() {
155155

156156
let network = create_evm_test_network_with_urls(vec![&server.url()]);
157157
const TEST_CONNECTION_PAYLOAD: &str =
158-
r#"{"id":1,"jsonrpc":"2.0","method":"system_chain","params":[]}"#;
158+
r#"{"id":1,"jsonrpc":"2.0","method":"net_version","params":[]}"#;
159159

160160
let client = HttpTransportClient::new(&network, Some(TEST_CONNECTION_PAYLOAD.to_string()))
161161
.await

0 commit comments

Comments
 (0)