Skip to content

Commit

Permalink
Add paseo as standard chain (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsa authored Mar 20, 2024
1 parent ab4c7c4 commit e77b7dd
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/assets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ embedded_chainspec(embedded_chainspec_polkadot ${PROJECT_SOURCE_DIR}/examples/po
embedded_chainspec(embedded_chainspec_kusama ${PROJECT_SOURCE_DIR}/examples/kusama/kusama.json)
embedded_chainspec(embedded_chainspec_rococo ${PROJECT_SOURCE_DIR}/examples/rococo/rococo.json)
embedded_chainspec(embedded_chainspec_westend ${PROJECT_SOURCE_DIR}/examples/westend/westend.json)
embedded_chainspec(embedded_chainspec_paseo ${PROJECT_SOURCE_DIR}/examples/paseo/paseo.json)

set(OUTPUT embedded_keys.cpp)
if(EMBEDDINGS)
Expand Down
1 change: 1 addition & 0 deletions core/assets/assets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace kagome::assets {
extern const char *const embedded_chainspec_kusama;
extern const char *const embedded_chainspec_rococo;
extern const char *const embedded_chainspec_westend;
extern const char *const embedded_chainspec_paseo;
extern const std::vector<std::pair<const char *, const char *>> embedded_keys;

} // namespace kagome::assets
2 changes: 2 additions & 0 deletions core/assets/embedded_chainspec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ namespace kagome::assets {
res = embedded_chainspec_rococo;
} else if (name == "westend") {
res = embedded_chainspec_westend;
} else if (name == "paseo") {
res = embedded_chainspec_paseo;
}
if (res == nullptr) {
return std::nullopt;
Expand Down
422 changes: 422 additions & 0 deletions examples/paseo/paseo.json

Large diffs are not rendered by default.

0 comments on commit e77b7dd

Please sign in to comment.