Use anchor v0.18.0

This commit is contained in:
armaniferrante 2021-10-24 22:16:22 -07:00
parent 89ef88aef0
commit 26e2d7870c
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
2 changed files with 37 additions and 18 deletions

48
Cargo.lock generated
View File

@ -25,7 +25,9 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
[[package]]
name = "anchor-attribute-access-control"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cb6a4b9c53ca04146d47df41db96e79ca3fd1fe60ba2691b317648a5e314bbd"
dependencies = [
"anchor-syn",
"anyhow",
@ -37,7 +39,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-account"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "568fdd7655eca414649cba63c10d34856569aa07acc5996d50eaf74e28495f80"
dependencies = [
"anchor-syn",
"anyhow",
@ -50,7 +54,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-error"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1653f067f9830a3851d3171c3a5b94b4a25780369e7d57961a3d8eff0dff5272"
dependencies = [
"anchor-syn",
"proc-macro2",
@ -60,7 +66,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-event"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0e5631befc10143e6c64dea1ce4d1106300ab06f8b82e33c33bacb076057402"
dependencies = [
"anchor-syn",
"anyhow",
@ -71,7 +79,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-interface"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32f56e9d28f58effb298763e6397ebadfb7b84e3a853fd1995d8316d4d76fe5d"
dependencies = [
"anchor-syn",
"anyhow",
@ -83,7 +93,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-program"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c1f2ba3fe5da5f5653742781d0fcecbddb7105e4f933ba968802a2e10db294c"
dependencies = [
"anchor-syn",
"anyhow",
@ -94,7 +106,9 @@ dependencies = [
[[package]]
name = "anchor-attribute-state"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3086b3196184a98f8ff1fe4584c4f391c686bf38cfab2cbfac9f224cdcfef5cd"
dependencies = [
"anchor-syn",
"anyhow",
@ -105,7 +119,9 @@ dependencies = [
[[package]]
name = "anchor-derive-accounts"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "640ae4b58427c05900d4903bd5a042fc7841272977d643b3e7f3ea73f6704720"
dependencies = [
"anchor-syn",
"anyhow",
@ -116,7 +132,9 @@ dependencies = [
[[package]]
name = "anchor-lang"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c38773566b5111c76f47cb33c93a82b86131cb35405587a90be639de904cf00"
dependencies = [
"anchor-attribute-access-control",
"anchor-attribute-account",
@ -135,20 +153,23 @@ dependencies = [
[[package]]
name = "anchor-spl"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c995dfac730f6ead86280aa32636e0abd6ec3189dd42e37cc3be4df380cc7008"
dependencies = [
"anchor-lang",
"lazy_static",
"serum_dex",
"solana-program",
"spl-associated-token-account",
"spl-governance",
"spl-token 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "anchor-syn"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dda645a57fe2222560ebb5fde2e22d6fd1e2b65dd7ba14250c468b285bd615f"
dependencies = [
"anyhow",
"bs58 0.3.1",
@ -972,7 +993,8 @@ dependencies = [
[[package]]
name = "serum_dex"
version = "0.4.0"
source = "git+https://github.com/project-serum/serum-dex?rev=1be91f2#1be91f2863d8ecede32daaae7e768034e24bbc79"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02705854bae4622e552346c8edd43ab90c7425da35d63d2c689f39238f8d8b25"
dependencies = [
"arrayref",
"bincode",

View File

@ -15,9 +15,6 @@ cpi = ["no-entrypoint"]
default = []
[dependencies]
# TODO: use versions after next Anchor publish.
anchor-lang = { path = "/home/armaniferrante/Documents/code/src/github.com/project-serum/anchor/lang" }
anchor-spl = { path = "/home/armaniferrante/Documents/code/src/github.com/project-serum/anchor/spl" }
#anchor-lang = { git = "https://github.com/project-serum/anchor", branch = "armani/solana" }
#anchor-spl = { git = "https://github.com/project-serum/anchor", branch = "armani/solana" }
anchor-lang = "0.18.0"
anchor-spl = "0.18.0"
spl-governance = { git = "https://github.com/solana-labs/solana-program-library", features = ["no-entrypoint"] }