Skip to content

Commit

Permalink
update crates
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Apr 18, 2024
1 parent d218c05 commit fe6d2f6
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 24 deletions.
4 changes: 2 additions & 2 deletions client/balance_of_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "balance_of_call"
Expand Down
4 changes: 2 additions & 2 deletions client/get_approved_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "get_approved_call"
Expand Down
4 changes: 2 additions & 2 deletions client/is_approved_for_all_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "is_approved_for_all_call"
Expand Down
4 changes: 2 additions & 2 deletions client/mint_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "mint_call"
Expand Down
4 changes: 2 additions & 2 deletions client/owner_of_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "owner_of_call"
Expand Down
4 changes: 2 additions & 2 deletions client/transfer_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 = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "transfer_call"
Expand Down
4 changes: 2 additions & 2 deletions client/updated_receipts/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 = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "updated_receipts"
Expand Down
6 changes: 3 additions & 3 deletions contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ version = "1.5.1"
edition = "2018"

[dependencies]
casper-contract = { version = "3.0.0", default-features = false, optional = true }
casper-types = { version = "3.0.0", default-features = false }
casper-contract = { version = "4.0.0", default-features = false, optional = true }
casper-types = { version = "4.0.1", default-features = false }
serde = { version = "1.0.80", default-features = false }
serde_json = { version = "1.0.59", default-features = false }
serde-json-wasm = { version = "0.5.1", default-features = false }
base16 = { version = "0.2.1", default-features = false }
casper-event-standard = { version = "0.4.1", default-features = false }
casper-event-standard = { version = "0.5.0", default-features = false }
hex = { version = "0.4.3", default-features = false }

[[bin]]
Expand Down
8 changes: 7 additions & 1 deletion contract/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,13 @@ fn generate_entry_points() -> EntryPoints {
// data if needed
let migrate = EntryPoint::new(
ENTRY_POINT_MIGRATE,
vec![Parameter::new(ARG_NFT_PACKAGE_KEY, CLType::Any)],
vec![
Parameter::new(ARG_NFT_PACKAGE_KEY, CLType::String),
Parameter::new(ARG_EVENTS_MODE, CLType::U8),
Parameter::new(ARG_ACL_PACKAGE_MODE, CLType::Bool),
Parameter::new(ARG_PACKAGE_OPERATOR_MODE, CLType::Bool),
Parameter::new(ARG_OPERATOR_BURN_MODE, CLType::Bool),
],
CLType::Unit,
EntryPointAccess::Public,
EntryPointType::Contract,
Expand Down
4 changes: 2 additions & 2 deletions test-contracts/minting_contract/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 = "3.0.0"
casper-types = "3.0.0"
casper-contract = "4.0.0"
casper-types = "4.0.1"

[[bin]]
name = "minting_contract"
Expand Down
8 changes: 4 additions & 4 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name = "tests"
version = "1.5.1"
edition = "2018"
[dependencies]
casper-engine-test-support = { version = "5.0.0", default-features = false }
casper-engine-test-support = { version = "7.0.1", default-features = false }
contract = { path = "../contract", default-features = false }
casper-execution-engine = { version = "5.0.0", default-features = false }
casper-types = { version = "3.0.0", default-features = false }
casper-execution-engine = { version = "7.0.1", default-features = false }
casper-types = { version = "4.0.1", default-features = false }
serde = { version = "1.0.80", default-features = false }
serde_json = { version = "1.0.59", default-features = false }
once_cell = "1"
blake2 = { version = "0.9.0", default-features = false }
base16 = { version = "0.2.1", default-features = false }
rand = "0.8.5"
sha256 = "1.0.3"
casper-event-standard = { version = "0.4.0", default-features = false }
casper-event-standard = { version = "0.5.0", default-features = false }

0 comments on commit fe6d2f6

Please sign in to comment.