Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6fcc3f1
Substrate monthly update.
Neopallium Nov 21, 2022
e1c0386
Apply substrate monthly 2022-11 changes.
Neopallium Nov 21, 2022
f57c4bb
Apply more monthly 2022-11 changes.
Neopallium Nov 22, 2022
d78a398
cargo fmt and update `clap`
Neopallium Nov 23, 2022
2b58c6e
Fix no_std build errors.
Neopallium Nov 23, 2022
35aaf3a
Fix benchmarks.
Neopallium Nov 23, 2022
8b54cb7
Fix compiling of tests.
Neopallium Nov 29, 2022
3255660
Fix staking & transaction-payment tests.
Neopallium Nov 29, 2022
cdb39a3
Allow use of deprecated remove_prefix.
Neopallium Nov 29, 2022
e2722ee
Fix benchmarks.
Neopallium Nov 30, 2022
0e0fca5
Cargo fmt
Neopallium Dec 12, 2022
2e98fbc
Fixup.
Neopallium Dec 12, 2022
933d77f
Allow use of kill_prefix
Neopallium Dec 21, 2022
26f307d
FIXUP: Settlement weights.
Neopallium Dec 21, 2022
928c6a9
Fix issue with schedule weight limit.
Neopallium Dec 22, 2022
243aa3b
Fix contracts GAS_LIMIT to include a proof_size.
Neopallium Dec 22, 2022
2a8d026
Fix expected bridge weights in tests.
Neopallium Dec 22, 2022
dd37154
Add missing migrations.
Neopallium Jan 13, 2023
caa2f9c
Fixup: transaction payment RPC endpoints.
Neopallium Jan 16, 2023
5b57917
Cargo lock updates.
Neopallium Jan 16, 2023
3b5e536
Apply commit
Neopallium Jan 17, 2023
122cc19
Add more changes from Substrate balances pallet.
Neopallium Jan 17, 2023
72cbfa7
Update benchmark weights template.
Neopallium Jan 18, 2023
4ee04ec
Update weights type name.
Neopallium Jan 18, 2023
dc2a9f7
Charge minimal fee if the caller is not authorized.
Neopallium Jan 18, 2023
5c2c6f2
Update weights.
Neopallium Jan 19, 2023
d75689a
Update weights in bridge tests.
Neopallium Jan 19, 2023
ec9316b
Update Substrate crates.
Neopallium Jan 19, 2023
e20c6eb
Code cleanup in transaction-payment.
Neopallium Jan 20, 2023
85d9071
Fix issue with events in transaction-payment.
Neopallium Jan 20, 2023
674cffa
Update Substrate again.
Neopallium Jan 20, 2023
d8fd0cb
Add missing RuntimeEvent.
Neopallium Jan 20, 2023
18dd63e
Apply commit https://github.com/paritytech/substrate/pull/12633
Neopallium Jan 20, 2023
7557a0a
Allow use of remove_prefix.
Neopallium Jan 20, 2023
28244f9
Cargo fmt
Neopallium Jan 20, 2023
db8bcb3
Fix event count in tests.
Neopallium Jan 20, 2023
4ea375e
Update Substrate again.
Neopallium Jan 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FIXUP: Settlement weights.
  • Loading branch information
Neopallium committed Jan 20, 2023
commit 26f307d221849f57e7d52756918174a66e5964df
12 changes: 6 additions & 6 deletions pallets/weights/src/pallet_settlement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,12 @@ impl pallet_settlement::WeightInfo for WeightInfo {
// Storage: Settlement AffirmsReceived (r:0 w:2)
// Storage: Asset BalanceOfAtScope (r:0 w:2)
fn execute_manual_instruction(l: u32) -> Weight {
(214_454_000 as Weight)
Weight::from_ref_time(214_454_000 as u64)
// Standard Error: 2_083_000
.saturating_add((516_479_000 as Weight).saturating_mul(l as Weight))
.saturating_add(DbWeight::get().reads(57 as Weight))
.saturating_add(DbWeight::get().reads((28 as Weight).saturating_mul(l as Weight)))
.saturating_add(DbWeight::get().writes(6 as Weight))
.saturating_add(DbWeight::get().writes((16 as Weight).saturating_mul(l as Weight)))
.saturating_add(Weight::from_ref_time(516_479_000 as u64).saturating_mul(l as u64))
.saturating_add(DbWeight::get().reads(57 as u64))
.saturating_add(DbWeight::get().reads((28 as u64).saturating_mul(l as u64)))
.saturating_add(DbWeight::get().writes(6 as u64))
.saturating_add(DbWeight::get().writes((16 as u64).saturating_mul(l as u64)))
}
}