Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

upgrade to 2.0.0-rc5 (like rococo) #98

Closed
brenzi opened this issue Sep 7, 2020 · 2 comments · Fixed by #99
Closed

upgrade to 2.0.0-rc5 (like rococo) #98

brenzi opened this issue Sep 7, 2020 · 2 comments · Fixed by #99
Assignees

Comments

@brenzi
Copy link
Contributor

brenzi commented Sep 7, 2020

first, upgrade (merge, not rebase! keep our history and tags)
https://github.com/scs/substrate-api-client-test-node

then the api-client

@brenzi brenzi self-assigned this Sep 9, 2020
@brenzi
Copy link
Contributor Author

brenzi commented Sep 9, 2020

git checkout master
git pull
git checkout -b upgrade-to-v2.0.0-rc5
git fetch upstream
git merge 8f769dbd971c44f0ca6747fa1595f6e6a7e57c64

merging an upstream tag didn't work. needed to name the commit

..and resolve conflicts!

*stick to crates.io in Cargo.toml's! * upstream wants to depend on git but that's not good for us. we prefer to checkin Cargo.lock files to avoid accidental upgrades

won't build with nightly-2020-02-06-x86_64-unknown-linux-gnu. needs more recent nightly

ran into this: paritytech/substrate#6167

had to edit Cargo.lock to get rid of 2.0.0-rc6 and 0.8.0-rc6 deps

then run sed -i '/^checksum/d' Cargo.lock

@brenzi
Copy link
Contributor Author

brenzi commented Sep 9, 2020

stuck at:
paritytech/substrate#6167 (comment)

update

fixed by

cargo update -p parity-scale-codec-derive

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 a pull request may close this issue.

1 participant