Skip to content

Commit

Permalink
chore: update flatland
Browse files Browse the repository at this point in the history
Signed-off-by: giac-mysten <[email protected]>
  • Loading branch information
giac-mysten committed Oct 16, 2024
1 parent 5f51311 commit 3c1b1e2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions flatland/mint-site/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { MintFlatlander } from "./MintFlatlander";
import baseX from "base-x";

const BASE36 = "0123456789abcdefghijklmnopqrstuvwxyz";
const SITE_OBJECT_ID = "0x049b6d3f34789904efcc20254400b7dca5548ee35cd7b5b145a211f85b2532fa";
const SITE_OBJECT_ID = "0xd20b90149409ba5d005d4a2cd981db9494bc3cdb2f04c47ca1af98dd8f71610a";
const FLATLAND_LINK = "https://en.wikipedia.org/wiki/Flatland";
const b36 = baseX(BASE36);

Expand Down Expand Up @@ -92,7 +92,7 @@ function App() {
<Text>
<Strong>
Please connect your Testnet wallet (button on the top
right)
left)
</Strong>
</Text>
)}
Expand Down
2 changes: 1 addition & 1 deletion flatland/mint-site/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// SPDX-License-Identifier: Apache-2.0

export const TESTNET_FLATLAND_PACKAGE_ID =
"0x55d3cec3a5f131e515f8b66b0111490b74eb4274645e61b6bc34915f6abe7f63";
"0x4cb65566af16acb9ae48c437e99653e77c06c1b712329486987223ca99f44575";
export const MAINNET_FLATLAND_PACKAGE_ID = "0xTODO";
16 changes: 8 additions & 8 deletions flatland/move/flatland/Move.lock
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# @generated by Move, please check-in and do not edit manually.

[move]
version = 2
version = 3
manifest_digest = "0A19AC1DB586D569FC602B2CD6D2D4AEE9554FA7E906F170DB67F7276F29E67D"
deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082"
dependencies = [
{ name = "Sui" },
{ id = "Sui", name = "Sui" },
]

[[move.package]]
name = "MoveStdlib"
id = "MoveStdlib"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/testnet", subdir = "crates/sui-framework/packages/move-stdlib" }

[[move.package]]
name = "Sui"
id = "Sui"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/testnet", subdir = "crates/sui-framework/packages/sui-framework" }

dependencies = [
{ name = "MoveStdlib" },
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[move.toolchain-version]
compiler-version = "1.31.1"
compiler-version = "1.35.1"
edition = "2024.beta"
flavor = "sui"

[env]

[env.testnet]
chain-id = "4c78adac"
original-published-id = "0x55d3cec3a5f131e515f8b66b0111490b74eb4274645e61b6bc34915f6abe7f63"
latest-published-id = "0x55d3cec3a5f131e515f8b66b0111490b74eb4274645e61b6bc34915f6abe7f63"
original-published-id = "0x4cb65566af16acb9ae48c437e99653e77c06c1b712329486987223ca99f44575"
latest-published-id = "0x4cb65566af16acb9ae48c437e99653e77c06c1b712329486987223ca99f44575"
published-version = "1"

[env.devnet]
Expand Down
2 changes: 1 addition & 1 deletion flatland/move/flatland/sources/flatland.move
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use sui::random::{Random, RandomGenerator};

const BASE36: vector<u8> = b"0123456789abcdefghijklmnopqrstuvwxyz";
const VISUALIZATION_SITE: address =
@0x901fb0569e5054eea1bea1500d1fdfefa8b5cc4def4574c0c99c64b3af24a3ab;
@0xa169a210be515b075859c1692f5cab95cadfb02a164a175abf67d1d475d94e65;

// editorconfig-checker-disable
const POINTS_TABLE: vector<vector<u8>> = vector[
Expand Down
2 changes: 1 addition & 1 deletion flatland/nft-viz/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from "@mysten/sui.js/utils";
import * as baseX from "base-x";

const FLATLAND_PACKAGE = "0x55d3cec3a5f131e515f8b66b0111490b74eb4274645e61b6bc34915f6abe7f63";
const FLATLAND_PACKAGE = "0x4cb65566af16acb9ae48c437e99653e77c06c1b712329486987223ca99f44575";
const BASE36 = "0123456789abcdefghijklmnopqrstuvwxyz";
const b36 = baseX(BASE36);

Expand Down

0 comments on commit 3c1b1e2

Please sign in to comment.