From 10a0049d18ba4cc04efbdc338137cd1db2471b8a Mon Sep 17 00:00:00 2001 From: "Robert G. Jakabosky" Date: Fri, 10 Jan 2025 20:06:58 +0800 Subject: [PATCH] Bump contract gas fees. --- integration/rust-toolchain.toml | 3 ++- integration/tests/contract_permissions.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/integration/rust-toolchain.toml b/integration/rust-toolchain.toml index 12f6c86b7b..4962bfc2f0 100644 --- a/integration/rust-toolchain.toml +++ b/integration/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] -channel = "nightly-2024-05-01" +channel = "nightly-2024-11-14" +components = [ "rustfmt" ] profile = "minimal" diff --git a/integration/tests/contract_permissions.rs b/integration/tests/contract_permissions.rs index c1b5cd7e1e..04b36c4c5e 100644 --- a/integration/tests/contract_permissions.rs +++ b/integration/tests/contract_permissions.rs @@ -49,7 +49,7 @@ async fn contract_as_secondary_key_change_identity() -> Result<()> { .polymesh_contracts() .instantiate_with_code_perms( 0, - Weight::from_parts(10_000_000_000, 0), + Weight::from_parts(10_000_000_000, 20_000), None, call_runtime_bytes.to_vec(), vec![0x9b, 0xae, 0x9d, 0x5e], // Selector for `new` constructor. @@ -134,7 +134,7 @@ async fn contract_as_secondary_key_change_identity() -> Result<()> { .call( contract.into(), 0, - Weight::from_parts(10_000_000_000, 0), + Weight::from_parts(19_000_000_000, 40_000), None, encoded_call, )?