From 1e3b4d0bfaa30bccf32bf71471da15283cb72954 Mon Sep 17 00:00:00 2001 From: stefan-mysten <135084671+stefan-mysten@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:01:47 -0800 Subject: [PATCH] ci: update to sui v1.39.3 and use --ignore-chain in sui move build (#75) --- .github/workflows/ci.yml | 18 +----------------- Makefile | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7a911709..33553652a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: - name: Get the Sui testnet binary and start a local network shell: bash env: - SUI_BINARY_VERSION: "1.39.1" # used for downloading a specific Sui binary versions that matches the GraphQL schema for local network tests + SUI_BINARY_VERSION: "1.39.3" # used for downloading a specific Sui binary versions that matches the GraphQL schema for local network tests SUI_NETWORK_RELEASE: "testnet" # which release to use run: | ASSET_NAME="sui-$SUI_NETWORK_RELEASE-v$SUI_BINARY_VERSION-ubuntu-x86_64.tgz" @@ -111,22 +111,6 @@ jobs: echo "$(pwd)" >> $GITHUB_PATH # we need it on the path for calling sui move build for some tests ./sui start --force-regenesis --with-faucet --with-indexer --with-graphql --pg-port 5432 --pg-db-name sui_indexer_v2 --epoch-duration-ms $EPOCH_DURATION_MS & - - name: Set up the CLI environment (need a client.yaml for calling some Sui commands) - shell: bash - run: | - mkdir -p $HOME/.sui/sui_config - tee $HOME/.sui/sui_config/client.yaml < ../../$@ + cd crates/sui-transaction-builder/tests/$(*F) && sui move build --ignore-chain --dump-bytecode-as-base64 > ../../$@ .PHONY: test-with-localnet test-with-localnet: package_test_example_v1.json package_test_example_v2.json