From d194732150049269af6c205068a07a2875745ff4 Mon Sep 17 00:00:00 2001 From: ronanyeah Date: Wed, 26 Nov 2025 15:11:31 -0600 Subject: [PATCH 1/2] Add gh action --- .github/workflows/bytecode-build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/bytecode-build.yml diff --git a/.github/workflows/bytecode-build.yml b/.github/workflows/bytecode-build.yml new file mode 100644 index 0000000..b1c7474 --- /dev/null +++ b/.github/workflows/bytecode-build.yml @@ -0,0 +1,18 @@ +name: bytecode-build +run-name: Building Sui package bytecode +on: workflow_dispatch +jobs: + build: + runs-on: ubuntu-latest + container: mysten/sui-tools:mainnet + steps: + - uses: actions/checkout@v4 + + - name: Build Sui package and dump bytecode + run: sui move build --dump-bytecode-as-base64 --ignore-chain > bytecode.json + + - uses: actions/upload-artifact@v4 + with: + name: bytecode-${{ github.sha }} + path: bytecode.json + retention-days: 30 From 97ce2e093248a80a3d4b7cc69ce5781040c5f150 Mon Sep 17 00:00:00 2001 From: ronanyeah Date: Wed, 26 Nov 2025 16:42:12 -0600 Subject: [PATCH 2/2] Bump edition --- contracts/Move.lock | 2 +- contracts/Move.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/Move.lock b/contracts/Move.lock index 644bc53..a0c4a76 100644 --- a/contracts/Move.lock +++ b/contracts/Move.lock @@ -44,5 +44,5 @@ dependencies = [ [move.toolchain-version] compiler-version = "1.56.2" -edition = "2024.beta" +edition = "2024" flavor = "sui" diff --git a/contracts/Move.toml b/contracts/Move.toml index f71bfa3..b0f3d1b 100644 --- a/contracts/Move.toml +++ b/contracts/Move.toml @@ -1,6 +1,6 @@ [package] name = "liquid_staking" -edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move +edition = "2024" # edition = "legacy" to use legacy (pre-2024) Move published-at = "0xc89f4edb8f4dafb97934dbfce11ac132c07759c3bdda6f31d09c7fdca3b80b76" # license = "" # e.g., "MIT", "GPL", "Apache 2.0" # authors = ["..."] # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"]