Skip to content

Signed extension for rejecting obsolete messages pallet transactions#1446

Merged
svyatonik merged 3 commits into
masterfrom
obsolete-messages-signed-extension
Jun 9, 2022
Merged

Signed extension for rejecting obsolete messages pallet transactions#1446
svyatonik merged 3 commits into
masterfrom
obsolete-messages-signed-extension

Conversation

@svyatonik
Copy link
Copy Markdown
Contributor

@svyatonik svyatonik commented Jun 8, 2022

TODOs:

  • reject obsolete message delivery transactions;
  • move tests to bridges-runtime-common?

This extension depends on types from the bridges-runtime-common crate, so it is also sitting there (unlike other extensions, which reside in the pallets code).

This PR breaks several runtime APIs (not storage). So it'll made existing relays incompatible with updated pallets and existing pallets incompatible with updated relays.

@svyatonik svyatonik added P-Runtime P-Message Delivery PR-audit-needed A PR has to be audited before going live. PR-breaksrelay A PR that is going to break existing relayers. I.e. some Runtime changes render old relayers unusabl PR-breaksruntime A PR that is going to break runtime bridge compatibility. We need to be careful with upgrade. labels Jun 8, 2022
@svyatonik svyatonik marked this pull request as ready for review June 9, 2022 11:37
@svyatonik svyatonik merged commit 752864e into master Jun 9, 2022
@svyatonik svyatonik deleted the obsolete-messages-signed-extension branch June 9, 2022 11:37
Copy link
Copy Markdown
Collaborator

@serban300 serban300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ! Marking the PR as reviewed.

serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
…aritytech#1446)

* BridgeRejectObsoleteMessages

* add obsolete confirmations verification to the BridgeRejectObsoleteMessages

* move tests where they belong
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
…aritytech#1446)

* BridgeRejectObsoleteMessages

* add obsolete confirmations verification to the BridgeRejectObsoleteMessages

* move tests where they belong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P-Message Delivery P-Runtime PR-audit-needed A PR has to be audited before going live. PR-breaksrelay A PR that is going to break existing relayers. I.e. some Runtime changes render old relayers unusabl PR-breaksruntime A PR that is going to break runtime bridge compatibility. We need to be careful with upgrade.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants