Skip to content

Conversation

@raymondkfcheung
Copy link
Contributor

@raymondkfcheung raymondkfcheung commented Nov 27, 2025

  • Align events between Bulletin and SDK
  • Extends Stored and Renewed events with a hash: ContentHash field.
  • Replaces log with tracing to match Bulletin’s logging approach.

Addresses paritytech/polkadot-bulletin-chain#86, paritytech/polkadot-bulletin-chain#123

Relates to

@raymondkfcheung raymondkfcheung requested a review from a team as a code owner November 27, 2025 12:14
@raymondkfcheung raymondkfcheung self-assigned this Nov 27, 2025
@raymondkfcheung raymondkfcheung added the T1-FRAME This PR/Issue is related to core FRAME, the framework. label Nov 27, 2025
@raymondkfcheung
Copy link
Contributor Author

/cmd prdoc --audience runtime_dev --bump patch

@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/19737407163
Failed job name: test-linux-stable

Comment on lines -24 to +31
log = { workspace = true }
pallet-balances = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, workspace = true, default-features = true }
sp-inherents = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-transaction-storage-proof = { workspace = true }
tracing = { workspace = true }
Copy link
Contributor

@x3c41a x3c41a Nov 27, 2025

Choose a reason for hiding this comment

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

Why do you remove log and add tracing here? I don't see tracing added anywhere else except for this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Make it consistent with the Bulletin chain repo. If you prefer, I can remove tracing, and then add it back later when it's needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, I don't mind having this change as part of this PR but, please, make sure to mention this change in the PR description or the prdoc file (or both 🙃)

Copy link
Contributor

Choose a reason for hiding this comment

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

because when I see something like this - first thing that comes to mind - is that it was an unintentional change

Copy link
Contributor Author

@raymondkfcheung raymondkfcheung Nov 28, 2025

Choose a reason for hiding this comment

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

Updated the PR desc and PRDoc: be7c1c6

@raymondkfcheung
Copy link
Contributor Author

/cmd bench --pallet pallet_transaction_storage

@github-actions
Copy link
Contributor

Command "bench --pallet pallet_transaction_storage" has started 🚀 See logs here

@github-actions
Copy link
Contributor

Command "bench --pallet pallet_transaction_storage" has failed ❌! See logs here

@bkontur
Copy link
Contributor

bkontur commented Nov 28, 2025

Command "bench --pallet pallet_transaction_storage" has failed ❌! See logs here

@raymondkfcheung this won't work, you need to use --runtime dev, but first we need to fix: #10203
cc: @rosarp

@raymondkfcheung raymondkfcheung changed the title Add hash field to Event::Stored and Event::Renewed Align Events of Bulletin ↔ SDK Dec 2, 2025
@raymondkfcheung raymondkfcheung changed the title Align Events of Bulletin ↔ SDK Align Events Between Bulletin and SDK Dec 2, 2025
@raymondkfcheung raymondkfcheung changed the title Align Events Between Bulletin and SDK Align Events between Bulletin and SDK Dec 2, 2025
@bkontur bkontur added the A4-backport-stable2512 Pull request must be backported to the stable2512 release branch label Dec 3, 2025
@raymondkfcheung raymondkfcheung added this pull request to the merge queue Dec 3, 2025
Merged via the queue into master with commit f757162 Dec 3, 2025
260 of 265 checks passed
@raymondkfcheung raymondkfcheung deleted the ray-add-events branch December 3, 2025 14:27
paritytech-release-backport-bot bot pushed a commit that referenced this pull request Dec 3, 2025
* Align events between Bulletin and SDK
* Extends `Stored` and `Renewed` events with a `hash: ContentHash`
field.
* Replaces `log` with `tracing` to match Bulletin’s logging approach.

Addresses
paritytech/polkadot-bulletin-chain#86,
paritytech/polkadot-bulletin-chain#123

Relates to
- [x] paritytech/polkadot-bulletin-chain#124
- [x] paritytech/polkadot-bulletin-chain#127
- [x] paritytech/polkadot-bulletin-chain#129

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit f757162)
@paritytech-release-backport-bot

Successfully created backport PR for stable2512:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2512 Pull request must be backported to the stable2512 release branch T1-FRAME This PR/Issue is related to core FRAME, the framework.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants