Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios committed Mar 27, 2024
1 parent 3e9a8a0 commit 990184e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/renewal/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[move]
version = 0
manifest_digest = "B1CC478BB870AD9F498AAA3BE80D7E97D7D3FEE6BF61C3FB24697C9E375FC8F8"
deps_digest = "3C4103934B1E040BB6B23F1D610B4EF9F2F1166A50A104EADCF77467C004C600"

dependencies = [
{ name = "Sui" },
Expand All @@ -10,11 +12,11 @@ dependencies = [

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

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

dependencies = [
{ name = "MoveStdlib" },
Expand Down
2 changes: 1 addition & 1 deletion packages/renewal/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "renewal"
version = "0.0.1"

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet", override=true }
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet", override=true }
suins = { local = "../suins" }

[addresses]
Expand Down
2 changes: 1 addition & 1 deletion packages/suins/Move.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-fram

[addresses]
#mainnet
suins = "0xb7004c7914308557f7afbaf0dca8dd258e18e306cb7a45b28019f3d0a693f162"
suins = "0xd22b24490e0bae52676651b4f56660a5ff8022a2576e0089f79b3c88d44e08f0"

#testnet
#suins = "0x701b8ca1c40f11288a1ed2de0a9a2713e972524fbab748a7e6c137225361653f"
2 changes: 1 addition & 1 deletion scripts/transactions/renewals/publish_renewals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const publish = async () => {

// on GH Action, the sui binary is located on root. Referencing that as `/` doesn't work.
const suiFolder = process.env.ORIGIN === 'gh_action' ? '../../sui' : 'sui';
const publishCall = `${suiFolder} client publish --gas-budget 3000000000 --gas ${gasObject} --serialize-unsigned-transaction`
const publishCall = `${suiFolder} client publish --gas-budget 3000000000 --gas ${gasObject} --serialize-unsigned-transaction --skip-dependency-verification`

// to suins/..(packages)/..(base)/scripts/tx/tx-data.txt
execSync(`cd $PWD/../packages/renewal && ${publishCall} > $PWD/../../scripts/tx/tx-data.txt`);
Expand Down

0 comments on commit 990184e

Please sign in to comment.