Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow up work on TransactionExtension - fix weights and clean up UncheckedExtrinsic #6418

Merged
merged 25 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3eee059
Remove stale extenstion version from v4 struct
georgepisaltu Nov 7, 2024
c04fffa
Whitelist storage items commonly read every block
georgepisaltu Nov 8, 2024
2e88d75
Update substrate weight template
georgepisaltu Nov 8, 2024
4dfe581
".git/.scripts/commands/bench-all/bench-all.sh" --target_dir=substrate
Nov 8, 2024
c3bf0e8
Fix weight compilation
georgepisaltu Nov 11, 2024
d6c999c
More granular whitelist in sys extensions
georgepisaltu Nov 11, 2024
25bcc85
Merge remote-tracking branch 'upstream/master' into second-tx-ext-fix
georgepisaltu Nov 11, 2024
a54f916
Add prdoc
georgepisaltu Nov 11, 2024
6287213
Typo in prdoc
georgepisaltu Nov 11, 2024
3dfe258
Other typos
georgepisaltu Nov 11, 2024
85cf99f
Replace proxy and multisig weights
georgepisaltu Nov 11, 2024
48cfdea
Include ext version into inherited implication
georgepisaltu Nov 11, 2024
e927eed
Merge remote-tracking branch 'upstream/master' into second-tx-ext-fix
georgepisaltu Nov 11, 2024
eec5d7a
Fix prdoc
georgepisaltu Nov 11, 2024
dcb2b14
fix tests
gui1117 Nov 12, 2024
65e741d
Fix authorization example tests
georgepisaltu Nov 12, 2024
103fb7b
Fix verify signature tests
georgepisaltu Nov 12, 2024
dbf227a
Merge remote-tracking branch 'upstream/master' into second-tx-ext-fix
georgepisaltu Nov 13, 2024
31aac7d
Revert broker weight update
georgepisaltu Nov 13, 2024
cb0bf2e
Revert nomination pools weights update
georgepisaltu Nov 13, 2024
c1e8e50
Revert staking weights update
georgepisaltu Nov 13, 2024
a349e34
Merge remote-tracking branch 'upstream/master' into second-tx-ext-fix
georgepisaltu Nov 13, 2024
f925ef8
Fix typo
georgepisaltu Nov 13, 2024
5cd03c8
Merge remote-tracking branch 'upstream/master' into second-tx-ext-fix
georgepisaltu Nov 13, 2024
9c4c7e9
Merge branch 'master' into second-tx-ext-fix
gui1117 Nov 14, 2024
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
2 changes: 1 addition & 1 deletion substrate/.maintain/frame-umbrella-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub trait WeightInfo {

/// Weights for `{{pallet}}` using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
{{#if (eq pallet "frame_system")}}
{{#if (or (eq pallet "frame_system") (eq pallet "frame_system_extensions"))}}
impl<T: crate::Config> WeightInfo for SubstrateWeight<T> {
{{else}}
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
Expand Down
1 change: 0 additions & 1 deletion substrate/bin/node/testing/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ impl BenchKeyring {
preamble: Preamble::Signed(
sp_runtime::MultiAddress::Id(signed),
signature,
0,
tx_ext,
),
function: payload.0,
Expand Down
1 change: 0 additions & 1 deletion substrate/bin/node/testing/src/keyring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ pub fn sign(
preamble: sp_runtime::generic::Preamble::Signed(
sp_runtime::MultiAddress::Id(signed),
signature,
0,
tx_ext,
),
function: payload.0,
Expand Down
420 changes: 210 additions & 210 deletions substrate/frame/alliance/src/weights.rs

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions substrate/frame/asset-conversion/ops/src/weights.rs

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

107 changes: 56 additions & 51 deletions substrate/frame/asset-conversion/src/weights.rs

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

Loading
Loading