From cf4da704c64295d313873b0d7b4032d8e2f6c8fd Mon Sep 17 00:00:00 2001 From: Faried Nawaz Date: Thu, 4 Apr 2024 00:59:05 +0500 Subject: [PATCH] update sui to 1.22.0 The change in https://github.com/MystenLabs/sui/pull/16697 released on April 2 defaults to a newer version of Move that does not compile the token contract created by the backend. --- backend/Dockerfile | 4 ++-- backend/backend/coin_template/token3/Move.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index fb2c4c12..6aa72e71 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ FROM node:20-bookworm-slim -ENV RELEASE="testnet-v1.21.0" -ENV RELEASE_ARCHIVE="sui-testnet-v1.21.0-ubuntu-x86_64.tgz" +ENV RELEASE="testnet-v1.22.0" +ENV RELEASE_ARCHIVE="sui-testnet-v1.22.0-ubuntu-x86_64.tgz" ENV WORK_DIR="/contracts" ENV HOME="/home/s3" diff --git a/backend/backend/coin_template/token3/Move.toml b/backend/backend/coin_template/token3/Move.toml index 65415542..ef6c1ebd 100644 --- a/backend/backend/coin_template/token3/Move.toml +++ b/backend/backend/coin_template/token3/Move.toml @@ -1,6 +1,7 @@ [package] name = "<%- packageName %>" version = "0.0.1" +edition = "legacy" # edition = "2024.alpha" # To use the Move 2024 edition, currently in alpha # license = "" # e.g., "MIT", "GPL", "Apache 2.0"