diff --git a/Cargo.lock b/Cargo.lock index c561ff6d9a..9b338e5c1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8159,7 +8159,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.3.0#401f8a3e9448db854f5605b679fa085b8f445039" +source = "git+https://github.com/AstarNetwork/polkadot-sdk?branch=astar-release-polkadot-v1.3.0#158bd98d6fb530e91fbf555751cc0feec371062a" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/Cargo.toml b/Cargo.toml index 6380f32d77..f4c2949c95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,10 @@ edition = "2021" homepage = "https://astar.network" repository = "https://github.com/AstarNetwork/Astar" +[patch."https://github.com/paritytech/polkadot-sdk"] +# Remove this after uplifting to polkadot-sdk version `v1.12.0` or higher. +pallet-balances = { git = "https://github.com/AstarNetwork/polkadot-sdk", branch = "astar-release-polkadot-v1.3.0" } + [workspace.dependencies] # General deps # (wasm) diff --git a/runtime/local/src/weights/pallet_balances.rs b/runtime/local/src/weights/pallet_balances.rs index ae19a9ccbc..6758d5b3ab 100644 --- a/runtime/local/src/weights/pallet_balances.rs +++ b/runtime/local/src/weights/pallet_balances.rs @@ -150,4 +150,11 @@ impl pallet_balances::WeightInfo for SubstrateWeight .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 30_151_000 picoseconds. + Weight::from_parts(30_968_000, 0) + } } diff --git a/runtime/shibuya/src/weights/pallet_balances.rs b/runtime/shibuya/src/weights/pallet_balances.rs index ae19a9ccbc..6758d5b3ab 100644 --- a/runtime/shibuya/src/weights/pallet_balances.rs +++ b/runtime/shibuya/src/weights/pallet_balances.rs @@ -150,4 +150,11 @@ impl pallet_balances::WeightInfo for SubstrateWeight .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 30_151_000 picoseconds. + Weight::from_parts(30_968_000, 0) + } }