From 4efc348a151b02d31b7908d7c6a940a97d538935 Mon Sep 17 00:00:00 2001 From: armaniferrante Date: Sun, 29 Aug 2021 10:38:56 -0700 Subject: [PATCH] Use old cli version --- .travis.yml | 1 + Anchor.toml | 6 ------ Cargo.lock | 6 ++++-- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cd0ceb..ce59c82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: - ANCHOR_VERSION="0.4.4" before_deploy: + - cargo install --git https://github.com/project-serum/anchor --tag v${ANCHOR_VERSION} anchor-cli --locked - anchor build --verifiable - echo "### SHA256 Checksums" > release_notes.md - sha256sum target/deploy/lockup.so > lockup_binary.txt diff --git a/Anchor.toml b/Anchor.toml index adc1ff7..2ebd5af 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -1,8 +1,2 @@ -anchor_version = "0.4.4" - -[provider] cluster = "localnet" wallet = "~/.config/solana/id.json" - -[scripts] -test = "mocha -t 1000000 tests/" diff --git a/Cargo.lock b/Cargo.lock index 876b5a8..62b6f6c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "ahash" version = "0.4.7" @@ -524,7 +526,7 @@ checksum = "03b07a082330a35e43f63177cc01689da34fbffa0105e1246cf0311472cac73a" [[package]] name = "lockup" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anchor-lang", "anchor-spl", @@ -702,7 +704,7 @@ checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581" [[package]] name = "registry" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anchor-lang", "anchor-spl", diff --git a/package.json b/package.json index 95a4670..460d984 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/project-serum/stake#readme", "devDependencies": { - "@project-serum/anchor-cli": "^0.13.2" + "@project-serum/anchor-cli": "^0.4.4" } } diff --git a/yarn.lock b/yarn.lock index b994454..32fa993 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@project-serum/anchor-cli@^0.13.2": - version "0.13.2" - resolved "https://registry.yarnpkg.com/@project-serum/anchor-cli/-/anchor-cli-0.13.2.tgz#0dc0e4512a999b3908c3002379de37aa6c54887f" - integrity sha512-5wUkycPVyXTNZM7TleqF06owB1ALDecjBeMtHuBCDW5tGQQYVvU9SryjIgJmZjUChqgCQ38+kz+gi6IrJA+hjw== +"@project-serum/anchor-cli@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@project-serum/anchor-cli/-/anchor-cli-0.4.4.tgz#da5c3546e066f7f5d2feac517a65918900ffcadd" + integrity sha512-N9bP/BHuJRM87Y06RHFGCw9YkInc7YqJBWaMs7UTntdiaGII4bHSoBw1h71V0FpMqFZNdGlVxkqyaOKevNLrFA==