mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
paras: fix weight computation (#4673)
Looks like it is an artifact of prior code and now it is redundant.
This commit is contained in:
@@ -1425,7 +1425,7 @@ impl<T: Config> Pallet<T> {
|
|||||||
code_hash: &ValidationCodeHash,
|
code_hash: &ValidationCodeHash,
|
||||||
causes: Vec<PvfCheckCause<T::BlockNumber>>,
|
causes: Vec<PvfCheckCause<T::BlockNumber>>,
|
||||||
) -> Weight {
|
) -> Weight {
|
||||||
let mut weight = T::DbWeight::get().writes(1);
|
let mut weight = 0;
|
||||||
|
|
||||||
for cause in causes {
|
for cause in causes {
|
||||||
// Whenever PVF pre-checking is started or a new cause is added to it, the RC is bumped.
|
// Whenever PVF pre-checking is started or a new cause is added to it, the RC is bumped.
|
||||||
|
|||||||
Reference in New Issue
Block a user