Skip to content

Commit

Permalink
update namespace and torii config
Browse files Browse the repository at this point in the history
  • Loading branch information
loothero committed Mar 3, 2025
1 parent 98c8867 commit 939a639
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions client/.env.local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MAINNET
VITE_PUBLIC_CHAIN=mainnet
VITE_PUBLIC_NAMESPACE=ds_v1_1_1
VITE_PUBLIC_TOURNAMENT_NAMESPACE=budokan_v_1_0_0
VITE_PUBLIC_NAMESPACE=ds_v1_1_2
VITE_PUBLIC_TOURNAMENT_NAMESPACE=budokan_v_1_0_1
VITE_PUBLIC_NODE_URL=https://api.cartridge.gg/x/starknet/mainnet
VITE_PUBLIC_TORII=https://api.cartridge.gg/x/darkshuffle-mainnet/torii

Expand Down
4 changes: 2 additions & 2 deletions client/.env.production
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MAINNET
VITE_PUBLIC_CHAIN=mainnet
VITE_PUBLIC_NAMESPACE=ds_v1_1_1
VITE_PUBLIC_TOURNAMENT_NAMESPACE=budokan_v_1_0_0
VITE_PUBLIC_NAMESPACE=ds_v1_1_2
VITE_PUBLIC_TOURNAMENT_NAMESPACE=budokan_v_1_0_1
VITE_PUBLIC_NODE_URL=https://api.cartridge.gg/x/starknet/mainnet
VITE_PUBLIC_TORII=https://api.cartridge.gg/x/darkshuffle-mainnet/torii

Expand Down
2 changes: 1 addition & 1 deletion client/src/sdk/tournaments.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import manifest from "../../manifest_tournaments.json";

class TournamentSDK {
constructor(rpcUrl) {
this.namespace = "budokan_v_1_0_0"
this.namespace = "budokan_v_1_0_1"
this.contractName = "Budokan"
this.contractAddress = "0x3d445b63c8653983b8a5b8c5c0e52f7b944f9ce3b3ecf2cb208921e400feec1"
this.provider = new DojoProvider(manifest, rpcUrl);
Expand Down
16 changes: 8 additions & 8 deletions contracts/dojo_mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ world_address = "0x06a9e4c6f0799160ea8ddc43ff982a5f83d7f633e9732ce42701de1288ff7
world_block = 948010

[namespace]
default = "ds_v1_1_1"
default = "ds_v1_1_2"

[writers]
"ds_v1_1_1" = [
"ds_v1_1_1-game_systems",
"ds_v1_1_1-battle_systems",
"ds_v1_1_1-draft_systems",
"ds_v1_1_1-map_systems",
"ds_v1_1_1-config_systems",
"ds_v1_1_2" = [
"ds_v1_1_2-game_systems",
"ds_v1_1_2-battle_systems",
"ds_v1_1_2-draft_systems",
"ds_v1_1_2-map_systems",
"ds_v1_1_2-config_systems",
]

[init_call_args]
"ds_v1_1_1-game_systems" = [
"ds_v1_1_2-game_systems" = [
"0x000B39b235b44c53a2E9F0c5D35939D9C8E8dAFDd0a2ba2E695b501Fc1e9fd2f",
]
4 changes: 2 additions & 2 deletions contracts/src/constants.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ const LCG_PRIME: u128 = 281474976710656;
const VERSION: felt252 = '0.0.1';

fn DEFAULT_NS() -> @ByteArray {
@"ds_v1_1_1"
@"ds_v1_1_2"
}

fn DEFAULT_NS_STR() -> ByteArray {
"ds_v1_1_1"
"ds_v1_1_2"
}

fn SCORE_MODEL() -> ByteArray {
Expand Down
4 changes: 2 additions & 2 deletions contracts/torii.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ contracts = [
"erc721:0x2ffe2edea10d1622b9cc65ce18b441755f322253e24e6cd862518ab037009f5"
]

namespaces = ["ds_v1_1_1", "budokan_v_1_0_0"]
namespaces = ["ds_v1_1_2", "budokan_v_1_0_1"]

[events]
raw = true
historical = ["ds_v1_1_1-TrophyCreation", "ds_v1_1_1-TrophyProgression"]
historical = ["ds_v1_1_2-TrophyCreation", "ds_v1_1_2-TrophyProgression"]

0 comments on commit 939a639

Please sign in to comment.