Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Update to latest Substrate #90

Merged
merged 3 commits into from
Jan 18, 2019
Merged

Update to latest Substrate #90

merged 3 commits into from
Jan 18, 2019

Conversation

gavofyork
Copy link
Member

@gavofyork gavofyork commented Jan 18, 2019

From #89 (@gnunicorn ):

Update to latest substrate to fix the faulty generation of the default path. Before this change the default path was hardcoded to use the Substrate directory, for all substrate-based chains, which lead to clashes. With this fix the default directory changes to use the polkadot directory. However, this also means it will not automatically detect the previous chain data anymore (but start fresh) unless you rename the directory accordingly.

If you want to keep your old chain data rename the directories as follows (casing matters!):

  • Linux/*nix in ~/.local/share/ rename Substrate to polkadot
  • MacOS in $HOME/Library/Application Support rename Substrate to polkadot
  • redox in ~/.share/ rename Substrate to polkadot
  • Windows in %USERPROFILE%\AppData\Local rename Substrate to polkadot

Fixes #86

@gavofyork gavofyork requested a review from gnunicorn January 18, 2019 13:33
Copy link
Contributor

@gnunicorn gnunicorn left a comment

Choose a reason for hiding this comment

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

Minor update in either code or instructions needed.

src/main.rs Outdated Show resolved Hide resolved
gnunicorn and others added 2 commits January 18, 2019 15:09
Co-Authored-By: gavofyork <github@gavwood.com>
@gavofyork gavofyork merged commit cd584b5 into master Jan 18, 2019
@gavofyork gavofyork deleted the gav-alt-89 branch January 18, 2019 15:30
tomusdrw pushed a commit that referenced this pull request Mar 26, 2021
imstar15 pushed a commit to imstar15/polkadot that referenced this pull request Aug 25, 2021
* Align trie iteration to substrate.

* Can use expect on trie error, remove debug_assert
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polkadot uses wrong default directory
2 participants