Skip to content

Add Bulletin chainspecs for Polkadot, Westend, and Paseo#523

Merged
x3c41a merged 7 commits into
mainfrom
nm-chainspecs
May 14, 2026
Merged

Add Bulletin chainspecs for Polkadot, Westend, and Paseo#523
x3c41a merged 7 commits into
mainfrom
nm-chainspecs

Conversation

@mudigal
Copy link
Copy Markdown
Contributor

@mudigal mudigal commented May 12, 2026

Summary

  • Add chainspecs/ directory with Bulletin chain specifications copied from paritytech/chainspecs
  • Includes Polkadot, Westend, and Paseo networks
  • Each network has chainspec.json and raw.json (Polkadot also includes genesis-head)

Structure

chainspecs/
├── paseo/
│   ├── chainspec.json
├── polkadot/
│   ├── chainspec.json
└── westend/
    ├── chainspec.json

Enables

Closes

@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 12, 2026

We don't need raw.json or genesis head, they can be generated.

@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 12, 2026

Also thinking about flat structure should be enough - like polkadot-sdk: https://github.com/paritytech/chainspecs/blob/main/polkadot/parachain/asset-hub/chainspec.json

./chainspecs/bulletin-polkadot.json
./chainspecs/bulletin-westend.json
./chainspecs/bulletin-paseo-next.json
./chainspecs/bulletin-paseo-next-next.json

btw. which paseo version is:

chainspecs/
├── paseo/
│   ├── chainspec.json

@karolk91 wdyt?

@mudigal
Copy link
Copy Markdown
Contributor Author

mudigal commented May 13, 2026

@karolk91
Copy link
Copy Markdown
Collaborator

do we need the chainspec copies here? I think the source of truth is https://github.com/paritytech/chainspecs

@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 13, 2026

do we need the chainspec copies here? I think the source of truth is https://github.com/paritytech/chainspecs

I thought the same first, but looks like this this repo just doing submodules and symlinks

@karolk91
Copy link
Copy Markdown
Collaborator

do we need the chainspec copies here? I think the source of truth is https://github.com/paritytech/chainspecs

I thought the same first, but looks like this this repo just doing submodules and symlinks

Oh, ok, thanks I haven't noticed that

Also thinking about flat structure should be enough - like polkadot-sdk: https://github.com/paritytech/chainspecs/blob/main/polkadot/parachain/asset-hub/chainspec.json

./chainspecs/bulletin-polkadot.json ./chainspecs/bulletin-westend.json ./chainspecs/bulletin-paseo-next.json ./chainspecs/bulletin-paseo-next-next.json

btw. which paseo version is:

chainspecs/
├── paseo/
│   ├── chainspec.json

@karolk91 wdyt?

  1. Regarding structure - I don't have any preference here, so I think following polkadot-sdk pattern makes sense for consistency
  2. As for Paseo - there are 2 chainspecs currently:
    https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin-next
    https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin
    so I guess we can focus on the bulletin-next since bulletin will get decommissioned. Current chainspecs/paseo/chainspec.json file in this PR has paraid 5118 so we need to change that to the bulletin-next variant

@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 13, 2026

2. As for Paseo - there are 2 chainspecs currently:
https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin-next
https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin
so I guess we can focus on the bulletin-next since bulletin will get decommissioned. Current chainspecs/paseo/chainspec.json file in this PR has paraid 5118 so we need to change that to the bulletin-next variant

Let' clean this Paseo first and also reflect that here: paritytech/chainspecs#1263
Either 1.:
chainspecs/paseo/next-chainspec.json
chainspecs/paseo/next-v2-chainspec.json
chainspecs/polkadot/chainspec.json
chainspecs/westend/chainspec.json
Or 2.:
chainspecs/paseo-next-chainspec.json
chainspecs/paseo-next-v2-chainspec.json
chainspecs/polkadot-chainspec.json
chainspecs/westend-chainspec.json

I am voting for 2., no need for subdirs just for four json files

Copy link
Copy Markdown
Collaborator

@bkontur bkontur left a comment

Choose a reason for hiding this comment

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

@mudigal
Copy link
Copy Markdown
Contributor Author

mudigal commented May 13, 2026

  1. As for Paseo - there are 2 chainspecs currently:
    https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin-next
    https://github.com/paritytech/chainspecs/tree/main/paseo/parachain/bulletin
    so I guess we can focus on the bulletin-next since bulletin will get decommissioned. Current chainspecs/paseo/chainspec.json file in this PR has paraid 5118 so we need to change that to the bulletin-next variant

Let' clean this Paseo first and also reflect that here: paritytech/chainspecs#1263 Either 1.: chainspecs/paseo/next-chainspec.json chainspecs/paseo/next-v2-chainspec.json chainspecs/polkadot/chainspec.json chainspecs/westend/chainspec.json Or 2.: chainspecs/paseo-next-chainspec.json chainspecs/paseo-next-v2-chainspec.json chainspecs/polkadot-chainspec.json chainspecs/westend-chainspec.json

I am voting for 2., no need for subdirs just for four json files

Options sounds good. Will update according to that.

@x3c41a x3c41a enabled auto-merge (squash) May 14, 2026 13:47
@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 14, 2026

@karolk91 @x3c41a I am just thinking about some simple CI tests, that will:

  • download polkadot-omni-node (version by env)
  • matrix try to connect to all polkadot-omni-node --chain <chain-specs>
  • wait it starts syncing/downloading few blocks

wdyt? Follow-up?

@x3c41a
Copy link
Copy Markdown
Contributor

x3c41a commented May 14, 2026

@karolk91 @x3c41a I am just thinking about some simple CI tests, that will:

  • download polkadot-omni-node (version by env)
  • matrix try to connect to all polkadot-omni-node --chain <chain-specs>
  • wait it starts syncing/downloading few blocks

wdyt? Follow-up?

looks like a good smoke test! worth adding.
I'll do it as a follow up PR

@x3c41a x3c41a merged commit 273b188 into main May 14, 2026
45 checks passed
@x3c41a x3c41a deleted the nm-chainspecs branch May 14, 2026 14:19
@x3c41a x3c41a mentioned this pull request May 14, 2026
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.

4 participants