You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create new module cumulus/parachains/runtimes/constants
move rococo.rs and westend.rs there (similar as polkadot-fellows has system-parachains-constants module)
move mod constants to the new module (fellows has its own copy already)
remove AssetHubPolkadotAuraId a move it to the polkadot-fellows
revisit mod types and mod opaque
Questions:
What about common types like: AccountId, Balance,.... Can we share them between polkadot-sdk and polkadot-fellows repo? Or better split all of them?
What is the purpose of these types here? To be shared/used:
by all parachains?
by testnets?
by fellows runtimes?
or should everybody defines them separately? (types for testnet parachains, types for fellows parachain in fellows repo, ...)
What about AssetHubPolkadotAuraId? It is used for some stuff in parachain-polkadot module e.g. here and/or here. Remove from parachains-common and have definitions on two places (somewhere in polkadot-parachain and polkadot-fellows)? Or leave as it is?
The text was updated successfully, but these errors were encountered:
The `parachains-common` contains a lots of constants and type
definitions which are used for `polkadot-sdk`'s testnet runtimes and
also for `polkadot-fellows`'s production [SP
runtimes](https://github.com/polkadot-fellows/runtimes/tree/main/system-parachains/constants).
This PR cleans `parachains-common` module to contain only common and
generic functionality.
Testnet-specific constants have been moved to the separate module
dedicated just for testnets:
`polkadot-sdk/cumulus/parachains/runtimes/constants/`
Part of: #3054
---------
Co-authored-by: georgepisaltu <george.pisaltu@parity.io>
IMO for the AssetHubPolkadotAuraId having a definition in fellows and a definition in polkadot-parachain is the way to go, since it belongs with the fellowship and will never change anyway. Also it's just an alias.
Context: Basti's comment
Continuation of #3041
TODO
cumulus/parachains/runtimes/constants
rococo.rs
andwestend.rs
there (similar aspolkadot-fellows
hassystem-parachains-constants
module)mod constants
to the new module (fellows has its own copy already)AssetHubPolkadotAuraId
a move it to thepolkadot-fellows
mod types
andmod opaque
Questions:
polkadot-sdk
andpolkadot-fellows
repo? Or better split all of them?parachain-polkadot
module e.g. here and/or here. Remove fromparachains-common
and have definitions on two places (somewhere inpolkadot-parachain
andpolkadot-fellows
)? Or leave as it is?The text was updated successfully, but these errors were encountered: