Skip to content

Conversation

@gleb-urvanov
Copy link
Contributor

No description provided.

Copy link
Member

@mnaamani mnaamani left a comment

Choose a reason for hiding this comment

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

Nice trick, just needs small fix to use the edited chainspec.json file, maybe also add the chainspec.json file to .gitignore ?

sed -i 's/"evictStorageProviderProposalGracePeriod":.*/"evictStorageProviderProposalGracePeriod": 0,/' chainspec.json
sed -i 's/"setStorageRoleParametersProposalGracePeriod":.*/"setStorageRoleParametersProposalGracePeriod": 0,/' chainspec.json
yes | cargo run --release -p joystream-node -- purge-chain --dev
cargo run --release -p joystream-node -- --dev
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cargo run --release -p joystream-node -- --dev
cargo run --release -p joystream-node -- --chain ./chainspec.json

To use the custom chainspec file that was produced.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, also removed build from the script

@mnaamani
Copy link
Member

Included in #399

@mnaamani mnaamani closed this May 19, 2020
Lezek123 pushed a commit to Lezek123/substrate-runtime-joystream that referenced this pull request May 21, 2020
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.

2 participants