Skip to content

Commit

Permalink
Update networks client setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Jan 7, 2024
1 parent cbe5301 commit 2504e82
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 10 deletions.
29 changes: 29 additions & 0 deletions networks/connections.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# characterizes per network pair connectivity
{
devnet = {
osmosis-pica-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
osmosis-neutron-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
osmosis-cosmoshub-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
pica-cosmoshub-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
pica-neutron-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
neutron-cosmoshub-relayer = {
PROMETHEUS_PORT = 32123;
REST_PORT = 33123;
};
};
}
20 changes: 10 additions & 10 deletions networks/osmosis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ in

};
devnet = self // rec {
HOME = "${devnet.devnetRootDirectory}";
BINARY = "osmosisd";
BLOCK_SECONDS = 5;
CHAIN_DATA = "${HOME}/.osmosisd";
KEYRING_TEST = CHAIN_DATA;
CHAIN_ID = "osmosis-dev";
RPCPORT = 26657 + self.NETWORK_ID;
GRPCPORT = 19090 + self.NETWORK_ID;
GRPCWEB = 20091 + self.NETWORK_ID;
RESTPORT = 1516 + self.NETWORK_ID;
PROMETHEUS_PORT = 36660 + self.NETWORK_ID;
CONFIG_FOLDER = "${CHAIN_DATA}/config";
CONSENSUS_GRPC_PORT = 39090 + self.NETWORK_ID;
CONSENSUS_RPC_PORT = 38090 + self.NETWORK_ID;
P2PPORT = 26756 + self.NETWORK_ID;
BLOCK_SECONDS = 5;
FEE = "uosmo";
BINARY = "osmosisd";
GRPCPORT = 19090 + self.NETWORK_ID;
GRPCWEB = 20091 + self.NETWORK_ID;
HOME = "${devnet.devnetRootDirectory}";
KEYRING_TEST = CHAIN_DATA;
NODE = "tcp://127.0.0.1:${builtins.toString CONSENSUS_RPC_PORT}";
P2PPORT = 26756 + self.NETWORK_ID;
PROMETHEUS_PORT = 36660 + self.NETWORK_ID;
RESTPORT = 1516 + self.NETWORK_ID;
RPCPORT = 26657 + self.NETWORK_ID;
};

remote-devnet = {
Expand Down

0 comments on commit 2504e82

Please sign in to comment.