Skip to content

Commit

Permalink
casper deps from crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas089 committed Mar 26, 2024
1 parent c453024 commit 59d2d41
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 70 deletions.
15 changes: 10 additions & 5 deletions contracts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ exclude = [
name = "kairos-contract"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
2 changes: 1 addition & 1 deletion contracts/contract-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"

[dependencies]
serde = "1.0.197"
casper-types = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
casper-types = {version="4.0.0", default-features=false}
10 changes: 5 additions & 5 deletions contracts/deposit-contract-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dev-dependencies]
base64 = { version = "0.21.2", default-features = false, features = ["alloc"] }
casper-engine-test-support = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
casper-execution-engine = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
casper-contract = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
casper-types = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
base64 = {version = "0.21.2", default-features = false, features = ["alloc"] }
casper-engine-test-support = {version="7.0.0", default-features=false}
casper-execution-engine = {version="7.0.0", default-features=false}
casper-contract = {version="4.0.0", default-features=false}
casper-types = {version="4.0.0", default-features=false}
dotenvy = "0.15.7"

[[test]]
Expand Down
65 changes: 16 additions & 49 deletions contracts/deposit-contracts/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions contracts/deposit-contracts/contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[dependencies]
casper-contract = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", features=["std", "test-support"]}
casper-types = {git = "https://github.com/casper-network/casper-node", branch="release-1.5.6", default-features=false}
casper-contract = {version="4.0.0", features=["std", "test-support"]}
casper-types = {version="4.0.0", default-features=false}
base64 = { version = "0.20.0", default-features = false, features = ["alloc"] }
contract-types = {path="../../contract-types"}
bincode = "1.3.3"
Expand Down
4 changes: 2 additions & 2 deletions contracts/deposit-contracts/deposit-session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[dependencies]
casper-contract = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0", features=["test-support"]}
casper-types = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-contract = {version="4.0.0", features=["test-support"]}
casper-types = "4.0.0"

[[bin]]
name = "deposit-session"
Expand Down
4 changes: 2 additions & 2 deletions contracts/deposit-contracts/malicious-reader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
casper-contract = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-types = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-contract = "4.0.0"
casper-types = "4.0.0"

[[bin]]
name = "malicious-reader"
Expand Down
4 changes: 2 additions & 2 deletions contracts/deposit-contracts/malicious-session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
casper-contract = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-types = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-contract = "4.0.0"
casper-types = "4.0.0"

[[bin]]
name = "malicious-session"
Expand Down
4 changes: 2 additions & 2 deletions contracts/deposit-contracts/withdrawal-session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
casper-contract = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-types = {git = "https://github.com/jonas089/casper-node", branch="kairos-1.5.6-risc0"}
casper-contract = "4.0.0"
casper-types = "4.0.0"

[[bin]]
name = "withdrawal-session"
Expand Down

0 comments on commit 59d2d41

Please sign in to comment.