Skip to content

Bump substrate#220

Merged
clangenb merged 7 commits into
masterfrom
ec_bump_substrate_218
Mar 11, 2022
Merged

Bump substrate#220
clangenb merged 7 commits into
masterfrom
ec_bump_substrate_218

Conversation

@echevrier
Copy link
Copy Markdown
Contributor

@echevrier echevrier commented Mar 9, 2022

Closes #218.

Changes:

  • bump substrate paritytech/substrate@f5f286d
  • bump sp-runtime, sp-io, sp-keyring, sp-core, spc-rpc, sp-application-crypto to v6.0.0
  • bump sp-version to v5.0.0
  • bump scale-codec v3, bump scale-info v2.

@clangenb
Copy link
Copy Markdown
Collaborator

clangenb commented Mar 9, 2022

Sorry, I did some minor beautification while debugging the broken no_std build: found this unfortunately: #218 (comment)

Comment thread Cargo.lock
@@ -1,3768 +0,0 @@
# This file is automatically @generated by Cargo.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Was this a conscious decision to remove the lock file? I am uncertain if I approve:

  • Local builds are getting less reproducible
  • We can no longer check in the lock file, which version works.

I know they say that libraries should not have a lock-file, but we have a hybrid case, we want to be able to build the example binaries.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I added it again for now, we could discuss that another time.

Comment thread Cargo.lock
@@ -1,3768 +0,0 @@
# This file is automatically @generated by Cargo.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Was this a conscious decision to remove the lock file? I am uncertain if I approve:

  • Local builds are getting less reproducible
  • We can no longer check in the lock file, which version works.

I know they say that libraries should not have a lock-file, but we have a hybrid case, we want to be able to build the example binaries.

@clangenb clangenb changed the title Bump substrate to commit 8df8d908c4d77a8dd19751784b6aca62159ddda8 Bump substrate Mar 11, 2022
Copy link
Copy Markdown
Collaborator

@clangenb clangenb left a comment

Choose a reason for hiding this comment

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

Looks good to me now!

@haerdib Do you also want to have a quick look?

@clangenb clangenb requested a review from haerdib March 11, 2022 07:33
Copy link
Copy Markdown
Contributor

@haerdib haerdib left a comment

Choose a reason for hiding this comment

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

One small comment, otherwise it looks good :)

Comment thread Cargo.lock
]

[[package]]
name = "parity-scale-codec"
Copy link
Copy Markdown
Contributor

@haerdib haerdib Mar 11, 2022

Choose a reason for hiding this comment

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

We now have two versions of parity-scale-codec.
I took a short look at the lock file, and it seems the old codec version is imported due to an old version of primitive-types, defined here:

primitive-types = { version = "0.10.1", optional = true, features = ["codec"] }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I will fix this. Good catch.

@clangenb clangenb merged commit f05bd92 into master Mar 11, 2022
@clangenb clangenb deleted the ec_bump_substrate_218 branch April 5, 2022 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bump substrate (because of crate version increase in substrate master branch)

3 participants