Skip to content

Commit

Permalink
burn extrinsic integration (#1244)
Browse files Browse the repository at this point in the history
* burn extrinsic integration

* Extra comment

* Update
  • Loading branch information
Dinonard authored May 16, 2024
1 parent 4cbf1a2 commit e8a29e7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions runtime/local/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for SubstrateWeight<T>
.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)
}
}
7 changes: 7 additions & 0 deletions runtime/shibuya/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for SubstrateWeight<T>
.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)
}
}

0 comments on commit e8a29e7

Please sign in to comment.