Skip to content

feat: polkadot omni node#69

Merged
moliholy merged 2 commits intomainfrom
feat/polkadot-omni-node
Nov 10, 2025
Merged

feat: polkadot omni node#69
moliholy merged 2 commits intomainfrom
feat/polkadot-omni-node

Conversation

@moliholy
Copy link
Copy Markdown
Collaborator

@moliholy moliholy commented Nov 4, 2025

This is the same PR previously reverted. With pop v0.11.0 the original issue that prevented the PR to be merged no longer exists and hence we can incorporate the changes.

@moliholy moliholy self-assigned this Nov 4, 2025
@moliholy moliholy changed the title Feat/polkadot omni node feat: polkadot omni node Nov 4, 2025
Copy link
Copy Markdown
Member

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

Tested and it works perfectly!

However, before merging, there’s one important point to consider:
In previous versions, we didn’t have a network.toml file, it was generated by pop-cli when creating a new template.
If we merge this as is, pop-cli will likely overwrite the existing network.toml when it generates the template (see: https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-chains/src/new_chain.rs#L77).

I see two possible approaches to handle this, I’ll let you decide which one you prefer:

1- Keep network.toml here and remove these two lines in pop-cli https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-chains/src/new_chain.rs#L77 for versions > 2506 in the templates.

2- Remove network.toml from here and update the pop-cli template to use this format for versions > 2506 in the network.templ https://github.com/r0gue-io/pop-cli/blob/main/crates/pop-chains/templates/base/network.templ

@moliholy
Copy link
Copy Markdown
Collaborator Author

moliholy commented Nov 4, 2025

I prefer option 1 🤔. The template in its source should embrace pop.

@moliholy
Copy link
Copy Markdown
Collaborator Author

moliholy commented Nov 10, 2025

@AlexD10S @al3mart @Daanvdplas can we progress with this PR? After r0gue-io/pop-cli#711 being merged there are no more blockers.

@moliholy moliholy requested a review from AlexD10S November 10, 2025 15:00
Copy link
Copy Markdown
Member

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

Thanks! after the changes requested in pop-cli it looks good to me to merge this one

Copy link
Copy Markdown
Member

@al3mart al3mart left a comment

Choose a reason for hiding this comment

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

Awesome, thanks 👍

@moliholy moliholy merged commit 6aad399 into main Nov 10, 2025
6 of 7 checks passed
@moliholy moliholy deleted the feat/polkadot-omni-node branch November 10, 2025 16:17
Comment on lines +49 to +60
pop build spec \
--profile release \
--id 2000 \
--type local \
--relay paseo-local \
--protocol-id custom \
--chain local_testnet \
--default-bootnode=false \
--genesis-code=false \
--genesis-state=false \
--deterministic=false \
--output ./target/release/chain-spec.json
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is not needed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Why?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nevermind

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