Skip to content

modify message processor trait to return worst case weight + refund excess weight#20

Merged
ParthDesai merged 1 commit into
tanssi-polkadot-stable2506from
apply-worst-case-message-processor
Jan 7, 2026
Merged

modify message processor trait to return worst case weight + refund excess weight#20
ParthDesai merged 1 commit into
tanssi-polkadot-stable2506from
apply-worst-case-message-processor

Conversation

@ParthDesai
Copy link
Copy Markdown

Description

Cherry-pick of paritytech#10688

It modifies message processor trait to return worst case weight, plus modifes process_message to return correct weight so that we can refund excess weight.

@ParthDesai ParthDesai merged commit 438e465 into tanssi-polkadot-stable2506 Jan 7, 2026
151 of 243 checks passed
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 15, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
tmpolaczyk pushed a commit that referenced this pull request Jan 20, 2026
…xcess weight (#20)

Co-authored-by: girazoki <gorka.irazoki@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants