diff --git a/client/balance_of_session/Cargo.toml b/client/balance_of_session/Cargo.toml index b2a775a0..9b7e8490 100644 --- a/client/balance_of_session/Cargo.toml +++ b/client/balance_of_session/Cargo.toml @@ -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" diff --git a/client/get_approved_session/Cargo.toml b/client/get_approved_session/Cargo.toml index e28f0197..a697fb34 100644 --- a/client/get_approved_session/Cargo.toml +++ b/client/get_approved_session/Cargo.toml @@ -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" diff --git a/client/is_approved_for_all_session/Cargo.toml b/client/is_approved_for_all_session/Cargo.toml index 14b98280..e64e1fbc 100644 --- a/client/is_approved_for_all_session/Cargo.toml +++ b/client/is_approved_for_all_session/Cargo.toml @@ -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" diff --git a/client/mint_session/Cargo.toml b/client/mint_session/Cargo.toml index cc09ef29..3673aafe 100644 --- a/client/mint_session/Cargo.toml +++ b/client/mint_session/Cargo.toml @@ -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" diff --git a/client/owner_of_session/Cargo.toml b/client/owner_of_session/Cargo.toml index b2b8f64f..b6a563e3 100644 --- a/client/owner_of_session/Cargo.toml +++ b/client/owner_of_session/Cargo.toml @@ -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" diff --git a/client/transfer_session/Cargo.toml b/client/transfer_session/Cargo.toml index fa10de71..dbb3cfd0 100644 --- a/client/transfer_session/Cargo.toml +++ b/client/transfer_session/Cargo.toml @@ -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" diff --git a/client/updated_receipts/Cargo.toml b/client/updated_receipts/Cargo.toml index 398c2a61..8f51aef6 100644 --- a/client/updated_receipts/Cargo.toml +++ b/client/updated_receipts/Cargo.toml @@ -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" diff --git a/contract/Cargo.toml b/contract/Cargo.toml index 3ce3b460..59e4b32f 100644 --- a/contract/Cargo.toml +++ b/contract/Cargo.toml @@ -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]] diff --git a/contract/src/main.rs b/contract/src/main.rs index 6a667e5d..59925b5c 100644 --- a/contract/src/main.rs +++ b/contract/src/main.rs @@ -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, diff --git a/test-contracts/minting_contract/Cargo.toml b/test-contracts/minting_contract/Cargo.toml index 5baf93fa..2d19aff0 100644 --- a/test-contracts/minting_contract/Cargo.toml +++ b/test-contracts/minting_contract/Cargo.toml @@ -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" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 4a09e7af..25fd2dec 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -3,10 +3,10 @@ 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" @@ -14,4 +14,4 @@ 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 }