Skip to content

Commit 090b710

Browse files
authored
feat: teritori-test-7 (#1218)
Signed-off-by: Norman Meier <norman@samourai.coop>
1 parent 7d4c433 commit 090b710

File tree

5 files changed

+32
-38
lines changed

5 files changed

+32
-38
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Here are the steps to follow:
212212

213213
The Teritori dApp is a multi-networks app. Meaning it can be used with multiple blockchains and web3 stacks. We use the term `Network` because the underlying distributed ledger technology could be something else than a blockchain.
214214

215-
It's important to understand the implications of that and not hardcode `tori` everywhere. Even when we only talk avout Teritori, there is currently two official Teritori chains, the Teritori mainnet, with chain id `teritori-1` and the Teritori testnet with chain id `teritori-test-6` and it's important to support both in all code.
215+
It's important to understand the implications of that and not hardcode `tori` everywhere. Even when we only talk avout Teritori, there is currently two official Teritori chains, the Teritori mainnet, with chain id `teritori-1` and the Teritori testnet with chain id `teritori-test-7` and it's important to support both in all code.
216216

217217
We define network-related constants in the [networks package](packages/networks) and generate code from it for go programs. You should get all network information from this packages and add any new network-related information there.
218218

cosmwasm-contracts/cw721-membership/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ADMIN=testnet-adm
22
ADMIN_ADDR=$(shell teritorid keys show $(ADMIN) --keyring-backend test --output json | jq -r .address)
33
NODE_FLAG=--node https://rpc.testnet.teritori.com:443
4-
TX_FLAGS=--from $(ADMIN) --chain-id teritori-test-6 $(NODE_FLAG) --gas auto --gas-adjustment 1.3 -y -b sync --output json --keyring-backend test -o json
4+
TX_FLAGS=--from $(ADMIN) --chain-id teritori-test-7 $(NODE_FLAG) --gas auto --gas-adjustment 1.3 -y -b sync --output json --keyring-backend test -o json
55
QUERY_FLAGS=$(NODE_FLAG) -o json
66
CODE_ID=66
77
CONFIG=$(shell cat config.json | jq --rawfile desc desc.txt -r '.admin_addr="$(ADMIN_ADDR)" | .description=$$desc | tojson | @sh')

cosmwasm-contracts/nft-marketplace/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ADMIN=testnet-adm
22
ADMIN_ADDR=$(shell teritorid keys show $(ADMIN) --keyring-backend test --output json | jq -r .address)
33
NODE_FLAG=--node https://rpc.testnet.teritori.com:443
4-
TX_FLAGS=--from $(ADMIN) --chain-id teritori-test-6 $(NODE_FLAG) --gas auto --gas-adjustment 1.3 -y -b sync --output json --keyring-backend test -o json
4+
TX_FLAGS=--from $(ADMIN) --chain-id teritori-test-7 $(NODE_FLAG) --gas auto --gas-adjustment 1.3 -y -b sync --output json --keyring-backend test -o json
55
QUERY_FLAGS=$(NODE_FLAG) -o json
66
CODE_ID=52
77
CONFIG=$(shell cat config.json | jq --rawfile desc desc.txt -r '.admin_addr="$(ADMIN_ADDR)" | .description=$$desc | tojson | @sh')

networks.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -11043,7 +11043,7 @@
1104311043
{
1104411044
"id": "teritori-testnet",
1104511045
"kind": "Cosmos",
11046-
"chainId": "teritori-test-6",
11046+
"chainId": "teritori-test-7",
1104711047
"displayName": "Teritori Testnet",
1104811048
"registryName": "teritoritestnet",
1104911049
"icon": "teritori.svg",
@@ -11062,7 +11062,7 @@
1106211062
"featureObjects": [
1106311063
{
1106411064
"type": "CosmWasmPremiumFeed",
11065-
"membershipContractAddress": "tori1rs244rjrhap2v4setxlugkh8ungxlrsh8asvh0trsgvqvplvkd5q7752l6",
11065+
"membershipContractAddress": "",
1106611066
"mintDenom": "utori"
1106711067
}
1106811068
],
@@ -11109,33 +11109,33 @@
1110911109
"no-legacy-stdTx",
1111011110
"ibc-go"
1111111111
],
11112-
"nameServiceContractAddress": "tori14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s3hewys",
11112+
"nameServiceContractAddress": "",
1111311113
"nameServiceDefaultImage": "ipfs://bafkreieqcwmjcb64r42ygs6a4dswz63djzgayjn3rhzjber3e42cknawlm",
1111411114
"nameServiceTLD": ".tori",
11115-
"vaultContractAddress": "tori17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgs9ezf0j",
11116-
"riotContractAddressGen0": "tori1hzz0s0ucrhdp6tue2lxk3c03nj6f60qy463we7lgx0wudd72ctmstg4wkc",
11115+
"vaultContractAddress": "",
11116+
"riotContractAddressGen0": "",
1111711117
"riotContractAddressGen1": "",
1111811118
"riotSquadStakingContractAddressV1": "",
1111911119
"riotSquadStakingContractAddressV2": "",
1112011120
"distributorContractAddress": "",
1112111121
"riotersFooterContractAddress": "",
1112211122
"secondaryDuringMintList": [
11123-
"tori1rs244rjrhap2v4setxlugkh8ungxlrsh8asvh0trsgvqvplvkd5q7752l6",
11124-
"tori14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s3hewys",
11125-
"tori1hzz0s0ucrhdp6tue2lxk3c03nj6f60qy463we7lgx0wudd72ctmstg4wkc",
11123+
"",
11124+
"",
11125+
"",
1112611126
""
1112711127
],
1112811128
"excludeFromLaunchpadList": [
1112911129
""
1113011130
],
11131-
"socialFeedContractAddress": "tori1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrqazuvxk",
11132-
"daoCoreCodeId": 4,
11133-
"daoPreProposeSingleCodeId": 5,
11134-
"daoProposalSingleCodeId": 6,
11135-
"daoCw4GroupCodeId": 7,
11136-
"daoVotingCw4CodeId": 8,
11137-
"daoFactoryCodeId": 9,
11138-
"daoFactoryContractAddress": "tori1s85asu5dckeelmgzrwqakxc8tc4gllutjq4uq3a4lwak2hfp9c3q4spguf"
11131+
"socialFeedContractAddress": "",
11132+
"daoCoreCodeId": -1,
11133+
"daoPreProposeSingleCodeId": -1,
11134+
"daoProposalSingleCodeId": -1,
11135+
"daoCw4GroupCodeId": -1,
11136+
"daoVotingCw4CodeId": -1,
11137+
"daoFactoryCodeId": -1,
11138+
"daoFactoryContractAddress": ""
1113911139
},
1114011140
{
1114111141
"id": "cosmos-registry:terpnettestnet",

packages/networks/teritori-testnet/index.ts

+13-19
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,21 @@ import { teritoriTestnetCurrencies } from "./currencies";
22
import { CosmWasmPremiumFeed, NetworkFeature } from "../features";
33
import { CosmosNetworkInfo, NetworkKind } from "../types";
44

5-
const nameServiceContractAddress =
6-
"tori14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s3hewys";
5+
const nameServiceContractAddress = "";
76

87
const premiumFeedFeature: CosmWasmPremiumFeed = {
98
type: NetworkFeature.CosmWasmPremiumFeed,
10-
membershipContractAddress:
11-
"tori1rs244rjrhap2v4setxlugkh8ungxlrsh8asvh0trsgvqvplvkd5q7752l6",
9+
membershipContractAddress: "",
1210
mintDenom: "utori",
1311
};
1412

15-
const riotContractAddressGen0 =
16-
"tori1hzz0s0ucrhdp6tue2lxk3c03nj6f60qy463we7lgx0wudd72ctmstg4wkc";
13+
const riotContractAddressGen0 = "";
1714
const riotContractAddressGen1 = "";
1815

1916
export const teritoriTestnetNetwork: CosmosNetworkInfo = {
2017
id: "teritori-testnet",
2118
kind: NetworkKind.Cosmos,
22-
chainId: "teritori-test-6",
19+
chainId: "teritori-test-7",
2320
displayName: "Teritori Testnet",
2421
registryName: "teritoritestnet",
2522
icon: "teritori.svg",
@@ -65,8 +62,7 @@ export const teritoriTestnetNetwork: CosmosNetworkInfo = {
6562
nameServiceDefaultImage:
6663
"ipfs://bafkreieqcwmjcb64r42ygs6a4dswz63djzgayjn3rhzjber3e42cknawlm",
6764
nameServiceTLD: ".tori",
68-
vaultContractAddress:
69-
"tori17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgs9ezf0j",
65+
vaultContractAddress: "",
7066
riotContractAddressGen0,
7167
riotContractAddressGen1,
7268
riotSquadStakingContractAddressV1: "",
@@ -80,14 +76,12 @@ export const teritoriTestnetNetwork: CosmosNetworkInfo = {
8076
riotContractAddressGen1,
8177
],
8278
excludeFromLaunchpadList: [riotContractAddressGen1],
83-
socialFeedContractAddress:
84-
"tori1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrqazuvxk",
85-
daoCoreCodeId: 4,
86-
daoPreProposeSingleCodeId: 5,
87-
daoProposalSingleCodeId: 6,
88-
daoCw4GroupCodeId: 7,
89-
daoVotingCw4CodeId: 8,
90-
daoFactoryCodeId: 9,
91-
daoFactoryContractAddress:
92-
"tori1s85asu5dckeelmgzrwqakxc8tc4gllutjq4uq3a4lwak2hfp9c3q4spguf",
79+
socialFeedContractAddress: "",
80+
daoCoreCodeId: -1,
81+
daoPreProposeSingleCodeId: -1,
82+
daoProposalSingleCodeId: -1,
83+
daoCw4GroupCodeId: -1,
84+
daoVotingCw4CodeId: -1,
85+
daoFactoryCodeId: -1,
86+
daoFactoryContractAddress: "",
9387
};

0 commit comments

Comments
 (0)