Skip to content

Conversation

@rosarp
Copy link
Member

@rosarp rosarp commented Jan 16, 2026

Adding example as per #167

@bkontur
Copy link
Collaborator

bkontur commented Jan 21, 2026

@rosarp please rebase/merge with main

@rosarp rosarp force-pushed the rs-authorize-preimage-store branch from 85529d6 to 01ab969 Compare January 21, 2026 14:29
@rosarp
Copy link
Member Author

rosarp commented Jan 21, 2026

@rosarp please rebase/merge with main

rebase completed

rosarp and others added 12 commits January 21, 2026 22:34
authorizePreimage with batchSize
- Add run-test-authorize-preimage-and-store recipe to justfile
- Refactor CI to use shared service lifecycle instead of standalone recipe
- Add test for Westend parachain

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add toBinary helper for PAPI Binary conversion
- Add toHex helper to common.js and reuse in store_chunked_data.js
- Fix authorizePreimage to pass contentHash as hex string
- Fix missing return in map callback (implicit return)
- Simplify store() to use toBinary helper

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Use tx.getBareTx() + client.submitAndWatch() for unsigned transactions
- Make function async to simplify control flow
- Remove duplicate subscribe callback code

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bkontur bkontur marked this pull request as ready for review January 23, 2026 00:52
@bkontur bkontur enabled auto-merge (squash) January 23, 2026 00:54
@bkontur bkontur merged commit 17a39da into paritytech:main Jan 23, 2026
8 checks passed
@rosarp rosarp deleted the rs-authorize-preimage-store branch January 29, 2026 07:26
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