Use old cli version

This commit is contained in:
armaniferrante 2021-08-29 10:38:56 -07:00
parent a698e05078
commit 4efc348a15
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
5 changed files with 10 additions and 13 deletions

View File

@ -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

View File

@ -1,8 +1,2 @@
anchor_version = "0.4.4"
[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"
[scripts]
test = "mocha -t 1000000 tests/"

6
Cargo.lock generated
View File

@ -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",

View File

@ -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"
}
}

View File

@ -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==