Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to play #561

Merged
merged 10 commits into from
Nov 3, 2023
94 changes: 40 additions & 54 deletions cardano-lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,44 +128,30 @@ let
shelley_qa = rec {
useByronWallet = false;
private = true;
domain = "world.dev.cardano.org";
relaysNew = "shelley-qa-node.world.dev.cardano.org";
explorerUrl = "https://shelley-qa-explorer.world.dev.cardano.org";
smashUrl = "https://shelley-qa-smash.world.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
domain = "play.dev.cardano.org";
relaysNew = "shelley-qa-node.play.dev.cardano.org";
explorerUrl = "https://shelley-qa-explorer.play.dev.cardano.org";
smashUrl = "https://shelley-qa-smash.play.dev.cardano.org";
metadataUrl = "https://metadata.play.dev.cardano.org";
edgeNodes = [
{
addr = relaysNew;
port = 30003;
port = 3001;
}
];
edgePort = 30003;
networkConfig = import ./shelley_qa-config.nix;
usePeersFromLedgerAfterSlot = 32000;
};

p2p = rec {
useByronWallet = false;
private = false;
domain = "p2p.dev.cardano.org";
relaysNew = "relays.p2p.dev.cardano.org";
explorerUrl = "https://explorer.p2p.dev.cardano.org";
smashUrl = "https://smash.p2p.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
edgeNodes = [];
edgePort = 3001;
networkConfig = import ./p2p-config.nix;
usePeersFromLedgerAfterSlot = 14680;
networkConfig = import ./shelley_qa-config.nix;
usePeersFromLedgerAfterSlot = 9208700;
};

preprod = rec {
useByronWallet = false;
private = false;
domain = "world.dev.cardano.org";
relaysNew = "preprod-node.world.dev.cardano.org";
explorerUrl = "https://preprod-explorer.world.dev.cardano.org";
smashUrl = "https://preprod-smash.world.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
domain = "play.dev.cardano.org";
relaysNew = "preprod-node.play.dev.cardano.org";
explorerUrl = "https://preprod-explorer.play.dev.cardano.org";
smashUrl = "https://preprod-smash.play.dev.cardano.org";
metadataUrl = "https://metadata.play.dev.cardano.org";
mithrilAggregatorEndpointUrl = "https://aggregator.release-preprod.api.mithril.network/aggregator";
mithrilEraReaderParams = {
address = "addr_test1qpkyv2ws0deszm67t840sdnruqgr492n80g3y96xw3p2ksk6suj5musy6w8lsg3yjd09cnpgctc2qh386rtxphxt248qr0npnx";
Expand All @@ -174,22 +160,22 @@ let
edgeNodes = [
{
addr = relaysNew;
port = 30000;
port = 3001;
}
];
edgePort = 30000;
edgePort = 3001;
networkConfig = import ./preprod-config.nix;
usePeersFromLedgerAfterSlot = 4642000;
usePeersFromLedgerAfterSlot = 42855241;
};

preview = rec {
useByronWallet = false;
private = false;
domain = "world.dev.cardano.org";
relaysNew = "preview-node.world.dev.cardano.org";
explorerUrl = "https://preview-explorer.world.dev.cardano.org";
smashUrl = "https://preview-smash.world.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
domain = "play.dev.cardano.org";
relaysNew = "preview-node.play.dev.cardano.org";
explorerUrl = "https://preview-explorer.play.dev.cardano.org";
smashUrl = "https://preview-smash.play.dev.cardano.org";
metadataUrl = "https://metadata.play.dev.cardano.org";
mithrilAggregatorEndpointUrl = "https://aggregator.pre-release-preview.api.mithril.network/aggregator";
mithrilEraReaderParams = {
address = "addr_test1qrv5xfwh043mlc3vk5d97s4nmhxu7cmleyssvhx37gkfyejfe8d38v3vsfgetjafgrsdc49krug8wf04h5rmtengtejqlxrksk";
Expand All @@ -198,50 +184,50 @@ let
edgeNodes = [
{
addr = relaysNew;
port = 30002;
port = 3001;
}
];
edgePort = 30002;
edgePort = 3001;
networkConfig = import ./preview-config.nix;
usePeersFromLedgerAfterSlot = 322000;
usePeersFromLedgerAfterSlot = 31536600;
};

sanchonet = rec {
useByronWallet = false;
private = false;
domain = "world.dev.cardano.org";
relaysNew = "sanchonet-node.world.dev.cardano.org";
explorerUrl = "https://sanchonet-explorer.world.dev.cardano.org";
smashUrl = "https://sanchonet-smash.world.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
domain = "play.dev.cardano.org";
relaysNew = "sanchonet-node.play.dev.cardano.org";
explorerUrl = "https://sanchonet-explorer.play.dev.cardano.org";
smashUrl = "https://sanchonet-smash.play.dev.cardano.org";
metadataUrl = "https://metadata.play.dev.cardano.org";
edgeNodes = [
{
addr = relaysNew;
port = 30004;
port = 3001;
}
];
edgePort = 30004;
edgePort = 3001;
networkConfig = import ./sanchonet-config.nix;
usePeersFromLedgerAfterSlot = 8877900;
usePeersFromLedgerAfterSlot = 12268800;
};

private = rec {
useByronWallet = false;
private = true;
domain = "world.dev.cardano.org";
relaysNew = "private-node.world.dev.cardano.org";
explorerUrl = "https://private-explorer.world.dev.cardano.org";
smashUrl = "https://private-smash.world.dev.cardano.org";
metadataUrl = "https://metadata.world.dev.cardano.org";
domain = "play.dev.cardano.org";
relaysNew = "private-node.play.dev.cardano.org";
explorerUrl = "https://private-explorer.play.dev.cardano.org";
smashUrl = "https://private-smash.play.dev.cardano.org";
metadataUrl = "https://metadata.play.dev.cardano.org";
edgeNodes = [
{
addr = relaysNew;
port = 30007;
port = 3001;
}
];
edgePort = 30007;
edgePort = 3001;
networkConfig = import ./private-config.nix;
usePeersFromLedgerAfterSlot = 32000;
usePeersFromLedgerAfterSlot = 496900;
};
};

Expand Down
52 changes: 0 additions & 52 deletions cardano-lib/p2p-config.nix

This file was deleted.

Loading