Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/dev-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ on:
type: string
required: false
default: ""
# Push a `truapi-provider-dev` or `truapi-provider-dev-<suffix>` tag to publish
# a dev snapshot; the part after `truapi-provider-dev-` becomes the dist-tag suffix.
# Triggers: a `truapi-provider-dev[-<suffix>]` tag (suffix becomes the
# dist-tag suffix), or a chain-spec change landing on main. The paths filter
# only applies to branch pushes, never tags.
push:
tags:
- "truapi-provider-dev*"
branches:
- main
paths:
- "rust/crates/truapi-provider/networks/**"

permissions:
contents: read
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-chain-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ jobs:
derives to on the left and the stale catalog constant on the right. Copy the left one
into `networks.rs`, and update any consumer that pins the old hash.

Publish a new `@parity/truapi-provider` for consumers to pick up the refresh.
Merging this publishes a dev snapshot of `@parity/truapi-provider` automatically
(dev-publish.yml triggers on chain-spec changes landing on main). Consumers still
need to bump to the new snapshot to pick up the refresh.
branch: auto/chain-spec-update
commit-message: "chore(truapi-provider): refresh bundled chain specs"
delete-branch: true
Expand Down
2 changes: 1 addition & 1 deletion rust/crates/truapi-provider/networks/paseo.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Asset Hub Local","id":"asset-hub-local","chainType":"Local","bootNodes":["/dns4/previewnet.substrate.dev/tcp/31335/wss/p2p/12D3KooWFAk8DMwHtU7Xaf1c5wbPw1sHNa9871o8F3DYJmt2e7Uc"],"telemetryEndpoints":null,"protocolId":null,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"relay_chain":"paseo-local","para_id":1500,"codeSubstitutes":{},"genesis":{"stateRootHash":"0xf04dc8807c6e006b96ff3bb36f3fc00e20ec483ba6cd2ed97df779c8d1a25f99"}}
{"name":"Asset Hub Local","id":"asset-hub-local","chainType":"Local","bootNodes":["/dns4/previewnet.substrate.dev/tcp/31335/wss/p2p/12D3KooWFAk8DMwHtU7Xaf1c5wbPw1sHNa9871o8F3DYJmt2e7Uc"],"telemetryEndpoints":null,"protocolId":null,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"relay_chain":"paseo-local","para_id":1500,"codeSubstitutes":{},"genesis":{"stateRootHash":"0xf69a0f85720608b3de84ab234ea49be66531b671d501325cf9cb4355a5a07e8d"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"bootNodes":["/dns4/previewnet.substrate.dev/tcp/31333/wss/p2p/12D3KooWB9ykzLTAViWXvkyCLy9BRY1nhGjCFnR1pPXxU8ASvRJa"],"chainType":"Local","codeSubstitutes":{},"genesis":{"stateRootHash":"0x61601c7f22aee70febf74b0d747f08ac091ea8661f488839120b738b5c81dd5a"},"id":"bulletin-local","name":"Bulletin Local","para_id":1501,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"protocolId":null,"relay_chain":"paseo-local","telemetryEndpoints":null}
{"bootNodes":["/dns4/previewnet.substrate.dev/tcp/31333/wss/p2p/12D3KooWB9ykzLTAViWXvkyCLy9BRY1nhGjCFnR1pPXxU8ASvRJa"],"chainType":"Local","codeSubstitutes":{},"genesis":{"stateRootHash":"0x55e38eeca60ee01a35201a9b2cc44ccbcd690e912007a116c11fece7cdd338ac"},"id":"bulletin-local","name":"Bulletin Local","para_id":1501,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"protocolId":null,"relay_chain":"paseo-local","telemetryEndpoints":null}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"bootNodes":["/dns4/previewnet.substrate.dev/tcp/31336/wss/p2p/12D3KooWDKiYC3apkS1F6nR7rUwrv5usxKM9eJK1qjTDLpXVK2f3"],"chainType":"Local","codeSubstitutes":{},"genesis":{"stateRootHash":"0xa2a0e33e918e6ecaf54ceba35ba428eb576c9862355a398024c25ed728b03f4b"},"id":"individuality-local","name":"Individuality Local","para_id":1502,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"protocolId":null,"relay_chain":"paseo-local","telemetryEndpoints":null}
{"bootNodes":["/dns4/previewnet.substrate.dev/tcp/31336/wss/p2p/12D3KooWDKiYC3apkS1F6nR7rUwrv5usxKM9eJK1qjTDLpXVK2f3"],"chainType":"Local","codeSubstitutes":{},"genesis":{"stateRootHash":"0x4a1e36575a9b775421d7cf35497972f32ff6d00f9a7a8284a4c58555854f0b9e"},"id":"individuality-local","name":"Individuality Local","para_id":1502,"properties":{"tokenDecimals":10,"tokenSymbol":"PAS"},"protocolId":null,"relay_chain":"paseo-local","telemetryEndpoints":null}
2 changes: 1 addition & 1 deletion rust/crates/truapi-provider/networks/previewnet.json

Large diffs are not rendered by default.

Loading