Skip to content

Commit

Permalink
ENG-578: Comments about static vs dynamic env
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Feb 26, 2024
1 parent 369f1f1 commit 19bf736
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fendermint/testing/materializer/src/docker/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ use crate::{
const COMETBFT_IMAGE: &str = "cometbft/cometbft:v0.37.x";
const FENDERMINT_IMAGE: &str = "fendermint:latest";

/// The static environment variables are the ones we can assign during node creation,
/// ie. they don't depend on other nodes' values which get determined during their creation.
const STATIC_ENV: &str = "static.env";
/// The dynamic environment variables are ones we can only during the start of the node,
/// by which time all other nodes will have been created. Examples of this are network
/// identities which depend on network keys being created; in order to create a fully
/// connected network, we first need all network keys to be created, then we can look
/// all of them up during the start of each node.
/// These go into a separate file just so it's easy to recreate them.
const DYNAMIC_ENV: &str = "dynamic.env";

const RESOLVER_P2P_PORT: u32 = 26655;
Expand Down

0 comments on commit 19bf736

Please sign in to comment.