datahaven/test/launcher/utils/constants.ts
undercover-cactus f922ec73f4
test: decrease the number of nodes spawn (#353)
Decrease the number of Ethereum nodes being spawn when launching the
network locally.

It is not needed to have several nodes to be able to produce blocks only
one EL, CL and validator works fine. This will save some resources.
Unfortunately it doesn't reduce the time to setup by a significant
amount.

---------

Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
2025-12-18 14:34:45 +01:00

36 lines
1 KiB
TypeScript

export const ZERO_HASH = "0x0000000000000000000000000000000000000000000000000000000000000000";
/**
* The name of the Docker network that DataHaven nodes and
* Snowbridge relayers will be connected to, in a local deployment.
*/
export const DOCKER_NETWORK_NAME = "datahaven-net";
/**
* The base services that are always launched when Kurtosis is used.
*/
export const KURTOSIS_BASE_SERVICES = ["cl-1-lodestar-reth", "el-1-reth-lodestar", "dora"];
export const COMPONENTS = {
datahaven: {
imageName: "datahavenxyz/datahaven",
componentName: "Datahaven Network",
optionName: "datahaven"
},
snowbridge: {
imageName: "datahavenxyz/snowbridge-relay",
componentName: "Snowbridge Relayers",
optionName: "relayer"
},
storagehub: {
imageName: "storagehub",
componentName: "StorageHub Components",
optionName: "datahaven" // Use datahaven option since they're part of the same network
}
} as const;
/**
* Minimum required Bun version
*/
export const MIN_BUN_VERSION = { major: 1, minor: 2 };