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

Update Substrate ecosystem dependencies to polkadot-v0.9.6 series #532

Merged
merged 15 commits into from
Jun 28, 2021

Conversation

JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented Jun 24, 2021

Closes #531 by updating all of our dependencies

This updates the spec version of all runtimes. No storage migration is necessary for randomness collective flip as explained here paritytech/substrate#9061 (comment)

This requires changing the spec names: see bccbcf8

@JoshOrndorff
Copy link
Contributor Author

This is pretty close to done. Just have to vanquish the testing beast.

Status of Rust tests:

# Show that base path is empty of data to begin with
joshy@pop-os:/tmp/doing-cis-job-for-it/chains/moonriver/db$ ls

# Run a node and let it start syncing
joshy@pop-os:~/ProgrammingProjects/moonbeam$ ./target/release/moonbeam --base-path /tmp/doing-cis-job-for-it --chain moonriver

# Show that some data was downloaded
joshy@pop-os:/tmp/doing-cis-job-for-it/chains/moonriver/db$ ls
000006.log  CURRENT  db_version  IDENTITY  LOCK  LOG  MANIFEST-000005  OPTIONS-000030  OPTIONS-000032

# Run the purge command
joshy@pop-os:~/ProgrammingProjects/moonbeam$ ./target/release/moonbeam purge-chain -y --base-path /tmp/doing-cis-job-for-it --chain moonriver

# Show that the data is now empty
joshy@pop-os:/tmp/doing-cis-job-for-it/chains/moonriver/db$ ls

# Make sure the export genesis state subcommand works
$ ./target/release/moonbeam export-genesis-state --chain moonriver
0x000000000000000000000000000000000000000000000000000000000000000000a6345aff162d4e6c6633d91adf9b21a3f84da5e90e587668f16539d4ce496d0803170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400

# Make sure the export genesis wasm subcommand worksjoshy@pop-os:~/ProgrammingProjects/moonbeam$ ./target/release/moonbeam export-genesis-wasm --chain moonriver > tempfile
joshy@pop-os:~/ProgrammingProjects/moonbeam$ ls -l 
total 1692
...
-rw-rw-r-- 1 joshy joshy 1290968 Jun 24 16:00 tempfile

Status of the TS tests:
They won't run in CI until the above-mentioned rust test issues are solved.
They run locally, and all pass except for one:

  196 passing (1m)
  16 pending
  1 failing

  1) Trace filter - Concurrency
       "before all" hook: Setup: Create 50 blocks with 1 contract loop execution each for "should allow concurrent execution":
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/joshy/ProgrammingProjects/moonbeam/tests/tests/test-trace-concurrency.ts)
      at listOnTimeout (internal/timers.js:557:17)
      at processTimers (internal/timers.js:500:7)

@crystalin
Copy link
Collaborator

I updated the spec templates (and edited the PR description to include the information)

@JoshOrndorff
Copy link
Contributor Author

@crystalin Thank you so much for finishing this.

The expects you added to the test will make them easier to diagnose in the future.

@4meta5 4meta5 mentioned this pull request Jun 26, 2021
1 task
@crystalin crystalin merged commit 8e22e4e into master Jun 28, 2021
@crystalin crystalin deleted the joshy-dep-update-0.9.6 branch June 28, 2021 14:10
@JoshOrndorff JoshOrndorff mentioned this pull request Jun 30, 2021
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.

Update substrate/polkadot/cumulus from v0.9.4 to v0.9.6
3 participants