Skip to content

Commit

Permalink
Fix scale deps (#124)
Browse files Browse the repository at this point in the history
Fix scale versions across the project.

Reason: The rust version for this project is fixed to 1.72.1.
`scale-info` has `derive_more` as a dependency, which in `scale-info` >
2.11.3 requires rust 1.75.0 or newer.
  • Loading branch information
JanKuczma authored Nov 12, 2024
2 parents f49ac5f + e02b5c6 commit 1cdedf0
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions amm/contracts/factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions amm/contracts/pair/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions amm/contracts/router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions amm/contracts/router_v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions amm/contracts/stable_pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion amm/drink-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ink-wrapper-types = { version = "0.9.0", default-features = false, features = [
] }

ink_primitives = "4.3.0"
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }

Expand Down
4 changes: 2 additions & 2 deletions amm/traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ edition = "2021"
ink = { version = "=4.3.0", default-features = false }
ink_metadata = { version = "=4.3.0", features = ["derive"], optional = true }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.9", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions farm/contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.3", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }

Expand Down
4 changes: 2 additions & 2 deletions farm/trait/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
[dependencies]
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
scale = { package = "parity-scale-codec", version = "=3.6.9", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.5", default-features = false, features = [
scale-info = { version = "=2.10.0", default-features = false, features = [
"derive",
], optional = true }
psp22 = { version = "=0.2.2", default-features = false }
Expand Down

0 comments on commit 1cdedf0

Please sign in to comment.