Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Generate chain specs and genesis for dev and stage #196

Merged
merged 2 commits into from
Nov 9, 2022
Merged
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
201 changes: 201 additions & 0 deletions .docker/chainspec/rococo-local.json

Large diffs are not rendered by default.

453 changes: 453 additions & 0 deletions .docker/chainspec/subzero-dev.json

Large diffs are not rendered by default.

469 changes: 469 additions & 0 deletions .docker/chainspec/subzero-stage.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .docker/subzero.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@ RUN mv /usr/share/ca* /tmp && \
ln -s /subzero/.local/share/subzero /data

COPY --from=builder /subzero/target/$PROFILE/subzero /usr/local/bin
COPY --from=builder /subzero/.docker/chainspec /chainspec

# checks
RUN ldd /usr/local/bin/subzero && \
/usr/local/bin/subzero --version

# Shrinking
RUN rm -rf /usr/lib/python* && \
rm -rf /usr/bin /usr/sbin /usr/share/man
# RUN rm -rf /usr/lib/python* && \
# rm -rf /usr/bin /usr/sbin /usr/share/man

USER subzero
EXPOSE 30333 9933 9944 9615
Expand Down
5 changes: 1 addition & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "orml"]
path = modules/orml
url = https://github.com/open-web3-stack/open-runtime-module-library.git
[submodule "gamedao-protocol"]
path = modules/gamedao-protocol
url = git@github.com:gamedaoco/gamedao-protocol.git
url = https://github.com/gamedaoco/gamedao-protocol.git
5 changes: 4 additions & 1 deletion bin/subzero/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subzero-node"
version = "3.2.62"
version = "3.2.63"
authors = ["ZERO <play@zero.io>"]
description = "A substrate node for video games and beyond."
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
Expand Down Expand Up @@ -59,6 +59,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkad
sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
Expand Down Expand Up @@ -89,6 +90,8 @@ cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus",
cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.28" }

primitives = { version = "2.0.0", package = "zero-primitives", default-features = false, path = "../../../modules/primitives" }
gamedao-control = { path = "../../../modules/gamedao-protocol/control", default-features = false }
orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch= "polkadot-v0.9.28", default-features = false }

[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
Expand Down
Loading