Skip to content

upgrade to substrate alpha 5#33

Merged
ETeissonniere merged 14 commits intomasterfrom
eliott/upgrade-alpha-5
Apr 13, 2020
Merged

upgrade to substrate alpha 5#33
ETeissonniere merged 14 commits intomasterfrom
eliott/upgrade-alpha-5

Conversation

@ETeissonniere
Copy link
Member

@ETeissonniere ETeissonniere commented Apr 8, 2020

Upgrade node and runtime to alpha.5

Bump all deps to alpha.5 and bump the different versions around the place.

Fixes #30.

Testing

  • The node runs fine on a development network
  • The node runs fine on a local network
  • The node runs fine on an upgraded local network
  • The node can synchronize the existing network

@ETeissonniere
Copy link
Member Author

When trying to synchronize an exiting network we don't seem to be able to connect to the network's peers.

This is what we get when attempting to upgrade an existing node

$ ./target/release/nodle-chain -d /tmp/b2 --bob --chain local
2020-04-08 16:57:04 Nodle Chain Node
2020-04-08 16:57:04   version 2.0.0-349758b-x86_64-macos
2020-04-08 16:57:04   by Eliott Teissonniere <eliott@nodle.co>, 2019-2020
2020-04-08 16:57:04 Chain specification: Local Testnet
2020-04-08 16:57:04 Node name: Bob
2020-04-08 16:57:04 Roles: AUTHORITY
Error: Service(Client(Backend("BABE DB is corrupted. Decode error: Error decoding field EpochChanges.inner")))

@ETeissonniere
Copy link
Member Author

Seems like paritytech/substrate#5487 contains some migration code that could fix this

@ETeissonniere ETeissonniere marked this pull request as ready for review April 13, 2020 15:13
@ETeissonniere
Copy link
Member Author

Discarding this in privileges to the beta finalization

@ETeissonniere ETeissonniere force-pushed the eliott/upgrade-alpha-5 branch from a98f497 to 03e7e1c Compare April 13, 2020 18:46
@ETeissonniere ETeissonniere merged commit c27ff44 into master Apr 13, 2020
@ETeissonniere ETeissonniere deleted the eliott/upgrade-alpha-5 branch April 13, 2020 20:17
@ETeissonniere ETeissonniere mentioned this pull request Apr 13, 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.

Upgrade to alpha.5

1 participant