Skip to content

Conversation

@x3c41a
Copy link
Contributor

@x3c41a x3c41a commented Jan 21, 2026

  1. Parametrised all examples with network_address and private_key. Propagated those parameters through just,
  2. Added stats to store_big_data.js,
  3. Connected Kubo to live testnet. Docs in justfile under run-tests-against function,
  4. Unified logging (JS) and echoing (justfile); those looked disorganized.

Closes #174

@x3c41a x3c41a marked this pull request as draft January 21, 2026 10:14
x3c41a and others added 8 commits January 21, 2026 13:21
…ed_data.js

The store() function now returns { cid, blockHash, blockNumber } instead of
just the CID. Update the destructuring to extract the cid property correctly.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Replace the simple "Number of blocks" metric with a detailed breakdown
showing the transaction count for each block in the measured range,
including a visual bar chart for quick distribution analysis.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@x3c41a x3c41a mentioned this pull request Jan 27, 2026
2 tasks
@x3c41a x3c41a marked this pull request as ready for review January 27, 2026 13:30
@x3c41a x3c41a requested a review from bkontur January 27, 2026 13:30
@x3c41a x3c41a changed the title WIP parametrisation CI improvement [2] Jan 27, 2026
Comment on lines 626 to 628
# ipfs_api_url - IPFS API URL (default: http://127.0.0.1:5001 for local Docker Kubo)
run-tests-against-westend seed ipfs_api_url="http://127.0.0.1:5001":
just run-tests-against "wss://westend-bulletin-rpc.polkadot.io" "{{ seed }}" "{{ ipfs_api_url }}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@x3c41a please also add this for Paseo here - we have the WS url

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shall I just parametrise this function? e.g. run-tests-against-live-chain <network> <seed> <ipfs_api_url>?

bkontur and others added 4 commits January 28, 2026 17:55
Calculate startBlock and endBlock from the first and last blocks where
transactions were actually included, rather than querying the current
block number at start/end times.

Also show all blocks (including empty ones) in the TRANSACTIONS PER BLOCK
section, displaying 0 txs for blocks without transactions.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Wait for finalized blocks in authorizePreimage and authorizeAccount
calls to ensure authorization is complete before proceeding with store.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

Add stats + CI improvement

3 participants