Skip to content

Commit 390137d

Browse files
authored
chore(devnet): muno -> au (#5218)
2 parents 18754b8 + fb1a6ba commit 390137d

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

drip/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"grpc_url": "http://localhost:9090",
1313
"gas_config": {
1414
"gas_price": "1.0",
15-
"gas_denom": "muno",
15+
"gas_denom": "au",
1616
"gas_multiplier": "1.1",
1717
"max_gas": 40000000
1818
},
1919
"signer": "0xaa820fa947beb242032a41b6dc9a8b9c37d8f5fbcda0966b1ec80335b10a7d6f",
2020
"coins": [
2121
{
22-
"denom": "muno",
22+
"denom": "au",
2323
"amount": 13370
2424
}
2525
]

e2e/e2e.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
memorySize = 4 * 1024;
9797
arion = {
9898
backend = "docker";
99-
projects.union-devnet.settings = networks.modules.devnet-union-minimal;
99+
projects.union-devnet.settings = networks.modules.union-v1;
100100
};
101101
};
102102
};

e2e/upgrades.nix

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let
2424
}
2525
}
2626
],
27-
"deposit": "15000000muno",
27+
"deposit": "15000000au",
2828
"title": "${version}",
2929
"summary": "Upgrade to ${version}"
3030
}' > proposal-${version}.json
@@ -39,19 +39,19 @@ let
3939
'';
4040

4141
upgradeTo = version: height: ''
42-
union.succeed('docker cp ${mkUpgradeProposal version height}/proposal-${version}.json devnet-union-minimal-union-minimal-0-1:/proposal-${version}.json')
42+
union.succeed('docker cp ${mkUpgradeProposal version height}/proposal-${version}.json union-v1-union-v1-0-1:/proposal-${version}.json')
4343
44-
print(union.succeed('docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} --root ./.unionvisor call --bundle ${bundle} -- tx gov submit-proposal proposal-${version}.json --from valoper-0 --keyring-backend test -y --gas auto --gas-adjustment 1.4 --gas-prices 1muno'))
44+
print(union.succeed('docker exec union-v1-union-v1-0-1 ${unionvisorBin} --root ./.unionvisor call --bundle ${bundle} -- tx gov submit-proposal proposal-${version}.json --from valoper-0 --keyring-backend test -y --gas auto --gas-adjustment 1.4 --gas-prices 1au'))
4545
46-
print(union.succeed("docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_VOTING_PERIOD\"'"))
47-
union.wait_until_succeeds("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_VOTING_PERIOD\"') == true ]]", timeout=30)
46+
print(union.succeed("docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_VOTING_PERIOD\"'"))
47+
union.wait_until_succeeds("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_VOTING_PERIOD\"') == true ]]", timeout=30)
4848
4949
${forEachNode (
5050
id:
51-
"print(union.succeed('docker exec devnet-union-minimal-union-minimal-${id}-1 ${unionvisorBin} --root ./.unionvisor call --bundle ${bundle} -- tx gov vote ${toString (height / 10)} yes --keyring-backend test --from valoper-${id} -y --gas auto --gas-adjustment 1.8 --gas-prices 1muno'))"
51+
"print(union.succeed('docker exec union-v1-union-v1-${id}-1 ${unionvisorBin} --root ./.unionvisor call --bundle ${bundle} -- tx gov vote ${toString (height / 10)} yes --keyring-backend test --from valoper-${id} -y --gas auto --gas-adjustment 1.8 --gas-prices 1au'))"
5252
)}
5353
54-
union.wait_until_succeeds("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_PASSED\"') == true ]]", timeout=60)
54+
union.wait_until_succeeds("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query gov proposal ${toString (height / 10)} --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.proposal.status == \"PROPOSAL_STATUS_PASSED\"') == true ]]", timeout=60)
5555
5656
union.wait_until_succeeds('[[ $(curl "http://localhost:26660/block" --fail --silent | ${pkgs.lib.meta.getExe pkgs.jq} ".result.block.header.height | tonumber > ${toString height}") == "true" ]]', timeout=120)
5757
'';
@@ -71,18 +71,18 @@ in
7171
union.wait_until_succeeds('[[ $(curl "http://localhost:26660/block" --fail --silent | ${pkgs.lib.meta.getExe pkgs.jq} ".result.block.header.height | tonumber > 40") == "true" ]]', timeout=120)
7272
7373
# Ensure foundation owns 4 delegations
74-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1jk9psyhvgkrt2cumz8eytll2244m2nnz4yt2g2 --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.pagination.total | tonumber == 4') == true ]]")
74+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1jk9psyhvgkrt2cumz8eytll2244m2nnz4yt2g2 --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.pagination.total | tonumber == 4') == true ]]")
7575
7676
# Ensure vals have 0 delegations
77-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1qp4uzhet2sd9mrs46kemse5dt9ncz4k3hjst5m --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
78-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1d348dktd9nz0y6afzh3az5j39qahc93cmwkdjf --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
79-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1asxs295fuy7jph8p8eqtc2r8zxggdc204s7unx --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
80-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1fktal7292h36h7glff5edq59vpdfn7504duw5m --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
77+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1qp4uzhet2sd9mrs46kemse5dt9ncz4k3hjst5m --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
78+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1d348dktd9nz0y6afzh3az5j39qahc93cmwkdjf --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
79+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1asxs295fuy7jph8p8eqtc2r8zxggdc204s7unx --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
80+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query staking delegations union1fktal7292h36h7glff5edq59vpdfn7504duw5m --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.delegation_responses') == null ]]")
8181
8282
# Ensure legacy tokens are burnt
83-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners muno --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
84-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners ugas --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
85-
union.succeed("[[ $(docker exec devnet-union-minimal-union-minimal-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners upoa --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
83+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners au --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
84+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners ugas --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
85+
union.succeed("[[ $(docker exec union-v1-union-v1-0-1 ${unionvisorBin} -l off --root ./.unionvisor call --bundle ${bundle} -- query bank denom-owners upoa --output json | ${pkgs.lib.meta.getExe pkgs.jq} '.denom_owners') == null ]]")
8686
'';
8787

8888
nodes = {

networks/devnet.nix

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
node = self'.packages.uniond;
4848
chainId = "union-devnet-1";
4949
chainName = "union";
50-
denom = "muno";
50+
denom = "au";
5151
keyType = "bn254";
5252
validatorCount = 4;
5353
sdkVersion = 50;
@@ -181,10 +181,10 @@
181181
portIncrease = 300;
182182
};
183183

184-
devnet-union-minimal = mkCosmosDevnet {
184+
union-v1 = mkCosmosDevnet {
185185
node = (get-flake inputs.v1_0_0).packages.${system}.uniond;
186-
chainId = "union-minimal-devnet-1";
187-
chainName = "union-minimal";
186+
chainId = "union-v1-1";
187+
chainName = "union-v1";
188188
denom = "muno";
189189
keyType = "bn254";
190190
validatorCount = 4;
@@ -217,8 +217,8 @@
217217
export UNIONVISOR_BUNDLE=${self'.packages.bundle-union-1-next}
218218
219219
${pkgs.lib.getExe self'.packages.unionvisor} init \
220-
--moniker union-devnet-minimal \
221-
--network union-minimal-devnet-1 \
220+
--moniker union-v1 \
221+
--network union-v1-1 \
222222
--seeds "" \
223223
224224
cp --no-preserve=mode -RL home/* .unionvisor/home
@@ -232,7 +232,7 @@
232232
--api.rpc-max-body-bytes 100000000 \
233233
--grpc.address 0.0.0.0:9090 \
234234
--log_level rpc-server:warn,x/wasm:debug,*:info \
235-
--minimum-gas-prices "0muno" \
235+
--minimum-gas-prices "0muno,0au" \
236236
--rpc.laddr tcp://0.0.0.0:26657 \
237237
--rpc.pprof_laddr 0.0.0.0:6060 \
238238
--rpc.unsafe
@@ -252,7 +252,7 @@
252252
devnet-stargaze = devnet-stargaze.services;
253253
devnet-osmosis = devnet-osmosis.services;
254254

255-
devnet-union-minimal = devnet-union-minimal.services;
255+
union-v1 = union-v1.services;
256256

257257
devnet-eth =
258258
{
@@ -337,7 +337,7 @@
337337
// mkNamedModule "devnet-stargaze"
338338
// mkNamedModule "devnet-osmosis"
339339
// mkNamedModule "devnet-simd"
340-
// mkNamedModule "devnet-union-minimal"
340+
// mkNamedModule "union-v1"
341341
// mkNamedModule "devnet-union";
342342

343343
mkNamedSpec = name: {
@@ -357,7 +357,7 @@
357357
// mkNamedSpec "devnet-stargaze"
358358
// mkNamedSpec "devnet-osmosis"
359359
// mkNamedSpec "devnet-simd"
360-
// mkNamedSpec "devnet-union-minimal"
360+
// mkNamedSpec "union-v1"
361361
// mkNamedSpec "devnet-union";
362362

363363
mkNamedBuild = name: {
@@ -371,7 +371,7 @@
371371
// mkNamedBuild "devnet-stargaze"
372372
// mkNamedBuild "devnet-osmosis"
373373
// mkNamedBuild "devnet-simd"
374-
// mkNamedBuild "devnet-union-minimal"
374+
// mkNamedBuild "union-v1"
375375
// mkNamedBuild "devnet-union";
376376

377377
mkArionBuild = name: ciCondition: {
@@ -452,7 +452,7 @@
452452
// (mkArionBuild "devnet-stargaze" (system == "x86_64-linux"))
453453
// (mkArionBuild "devnet-osmosis" (system == "x86_64-linux"))
454454
// (mkArionBuild "devnet-eth" (system == "x86_64-linux"))
455-
// (mkArionBuild "devnet-union-minimal" (system == "x86_64-linux"))
455+
// (mkArionBuild "union-v1" (system == "x86_64-linux"))
456456
// (builtins.foldl' (acc: elem: elem.scripts or { } // acc) { } allCosmosDevnets);
457457

458458
_module.args.networks.modules = modules;

0 commit comments

Comments
 (0)