Skip to content

Commit f512e95

Browse files
0xMimirdannywillems
andcommitted
Update node/testing/tests/single_node.rs
Co-authored-by: Danny Willems <[email protected]>
1 parent 51db703 commit f512e95

File tree

8 files changed

+44
-45
lines changed

8 files changed

+44
-45
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ jobs:
578578
# to allow connection with replayer
579579
# TODO: remove when replayer supports identify
580580
KEEP_CONNECTION_WITH_UNKNOWN_STREAM: true
581-
REPLAYER_MULTIADDR: "/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWNazk9D7RnbHFaPEfrL7BReAKr3rDRf7PivS2Lwx3ShAA"
581+
REPLAYER_MULTIADDR: "/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQpHwQQFaUsZXVmDV7ATB6hhYv7z1d4cVGr4f9awaNUrg"
582582
BPF_ALIAS: /coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
583583
strategy:
584584
matrix:

Cargo.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/testing/src/scenarios/solo_node/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub struct SoloNodeBootstrap;
2222
// This test will fail if we don't start with this as the initial time because
2323
// the time validation for the first block will reject it.
2424
fn first_block_slot_timestamp_nanos(config: &RustNodeTestingConfig) -> u64 {
25-
let first_block_global_slot = 279218; // Update if replay changes
25+
let first_block_global_slot = 280188; // Update if replay changes
2626
let protocol_constants = config.genesis.protocol_constants().unwrap();
2727
let genesis_timestamp_ms = protocol_constants.genesis_state_timestamp.0.as_u64();
2828
let milliseconds_per_slot = constraint_constants().block_window_duration_ms;

node/testing/tests/single_node.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ scenario_test!(
3232
// ```bash
3333
// export MINA_DISCOVERY_FILTER_ADDR=false
3434
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
35-
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWNazk9D7RnbHFaPEfrL7BReAKr3rDRf7PivS2Lwx3ShAA
35+
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQpHwQQFaUsZXVmDV7ATB6hhYv7z1d4cVGr4f9awaNUrg
3636
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
37-
38-
3937
// cargo test --release \
4038
// --package=mina-node-testing
4139
// --package=cli -- \
4240
// --exact bootstrap_from_replayer
4341
// --nocapture
42+
// ```
4443
scenario_test!(
4544
bootstrap_from_replayer,
4645
SoloNodeBootstrap,

test.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQpHwQQFaUsZXVmDV7ATB6hhYv7z1d4cVGr4f9awaNUrg

website/docs/developers/testing/scenario-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ For network connectivity in testing environments, you may need to configure:
450450

451451
```bash
452452
# Enable connection to replayer service (used in CI)
453-
export REPLAYER_MULTIADDR="/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWNazk9D7RnbHFaPEfrL7BReAKr3rDRf7PivS2Lwx3ShAA"
453+
export REPLAYER_MULTIADDR="/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQpHwQQFaUsZXVmDV7ATB6hhYv7z1d4cVGr4f9awaNUrg"
454454

455455
# Allow local address discovery
456456
export MINA_DISCOVERY_FILTER_ADDR=false

website/docs/node-operators/infrastructure/replayer-nodes.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: o1Labs replayer nodes for debugging and verification
44
sidebar_position: 7
55
---
66

7+
import CodeBlock from "@theme/CodeBlock";
8+
import ReplayerNodesList from "!!raw-loader!../../developers/scripts/infrastructure/replayer-nodes.txt";
9+
710
# Replayer Nodes
811

912
This section is still a work in progress. It will cover nodes running with
@@ -15,4 +18,9 @@ replaying node execution, see the
1518
[Replayer documentation](/docs/developers/testing/replayer) in the developers
1619
testing section.
1720

18-
Track progress: [Issue #1619](https://github.com/o1-labs/mina-rust/issues/1619)
21+
<CodeBlock
22+
language="text"
23+
title="website/docs/developers/scripts/infrastructure/replayer-nodes.txt"
24+
>
25+
{ReplayerNodesList}
26+
</CodeBlock>

0 commit comments

Comments
 (0)