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

Polkadot v1.1.0 upgrade #1

Merged
merged 8 commits into from
Sep 25, 2023

Conversation

rimbi
Copy link

@rimbi rimbi commented Sep 14, 2023

This is the PR upgrade dependencies to polkadot v1.1.0.

  • Upgrade substrate
    • rebase repo to v1.0.0
    • apply changes to new polkadot-sdk repo
  • Upgrade polkadot
    • rebase repo to v1.0.0
    • apply changes to new polkadot-sdk repo
  • Upgrade cumulus
    • rebase repo to v1.0.0
    • apply changes to new polkadot-sdk repo
  • Upgrade polkadot-sdk to v1.1.0
  • Upgrade frontier
  • Upgrade orml
  • Update moonbeam

@librelois
Copy link

I think that we don't need to cherry-pick 37714ed anymore, superseeded by paritytech/substrate#14508. cc @fgamundi to confirm

@fgamundi
Copy link

That's right, that cherry pick is not needed anymore. And the flag to ignore the onchain heap pages has been enabled in Moonbeam since the last deps upgrade https://github.com/moonbeam-foundation/moonbeam/blob/master/node/service/src/lib.rs#L489

@rimbi rimbi force-pushed the cem-upgrade-to-polkadot-1.1.0 branch from 893898c to e31b21b Compare September 14, 2023 13:21
@rimbi
Copy link
Author

rimbi commented Sep 14, 2023

I think that we don't need to cherry-pick 37714ed anymore, superseeded by paritytech/substrate#14508. cc @fgamundi to confirm

done 👍

@rimbi rimbi requested a review from fgamundi September 22, 2023 17:05
@rimbi
Copy link
Author

rimbi commented Sep 22, 2023

Kindly reminder @librelois @Agusrodri @fgamundi

@crystalin
Copy link
Collaborator

@rimbi if the PR is ready for review, you should mark is as so. It is currently marked as a "draft"

@librelois
Copy link

This PR looks good to me, and it seem's that we still need theses 7 cherry-picks! At least we have the list of all chery-pick in one place now :)

@rimbi rimbi self-assigned this Sep 25, 2023
@rimbi rimbi merged commit a503972 into moonbeam-polkadot-v1.1.0 Sep 25, 2023
2 of 3 checks passed
@rimbi rimbi deleted the cem-upgrade-to-polkadot-1.1.0 branch September 25, 2023 09:56
RomarQ pushed a commit that referenced this pull request Feb 8, 2024
1. Benchmark results are collected in a single struct.
2. The output of the results is prettified.
3. The result struct used to save the output as a yaml and store it in
artifacts in a CI job.

```
$ cargo run -p polkadot-subsystem-bench --release -- test-sequence --path polkadot/node/subsystem-bench/examples/availability_read.yaml | tee output.txt
$ cat output.txt

polkadot/node/subsystem-bench/examples/availability_read.yaml #1

Network usage, KiB                     total   per block
Received from peers               510796.000  170265.333
Sent to peers                        221.000      73.667

CPU usage, s                           total   per block
availability-recovery                 38.671      12.890
Test environment                       0.255       0.085


polkadot/node/subsystem-bench/examples/availability_read.yaml #2

Network usage, KiB                     total   per block
Received from peers               413633.000  137877.667
Sent to peers                        353.000     117.667

CPU usage, s                           total   per block
availability-recovery                 52.630      17.543
Test environment                       0.271       0.090


polkadot/node/subsystem-bench/examples/availability_read.yaml #3

Network usage, KiB                     total   per block
Received from peers               424379.000  141459.667
Sent to peers                        703.000     234.333

CPU usage, s                           total   per block
availability-recovery                 51.128      17.043
Test environment                       0.502       0.167

```

```
$ cargo run -p polkadot-subsystem-bench --release -- --ci test-sequence --path polkadot/node/subsystem-bench/examples/availability_read.yaml | tee output.txt
$ cat output.txt
- benchmark_name: 'polkadot/node/subsystem-bench/examples/availability_read.yaml #1'
  network:
  - resource: Received from peers
    total: 509011.0
    per_block: 169670.33333333334
  - resource: Sent to peers
    total: 220.0
    per_block: 73.33333333333333
  cpu:
  - resource: availability-recovery
    total: 31.845848445
    per_block: 10.615282815
  - resource: Test environment
    total: 0.23582828799999941
    per_block: 0.07860942933333313

- benchmark_name: 'polkadot/node/subsystem-bench/examples/availability_read.yaml #2'
  network:
  - resource: Received from peers
    total: 411738.0
    per_block: 137246.0
  - resource: Sent to peers
    total: 351.0
    per_block: 117.0
  cpu:
  - resource: availability-recovery
    total: 18.93596025099999
    per_block: 6.31198675033333
  - resource: Test environment
    total: 0.2541994199999979
    per_block: 0.0847331399999993

- benchmark_name: 'polkadot/node/subsystem-bench/examples/availability_read.yaml #3'
  network:
  - resource: Received from peers
    total: 424548.0
    per_block: 141516.0
  - resource: Sent to peers
    total: 703.0
    per_block: 234.33333333333334
  cpu:
  - resource: availability-recovery
    total: 16.54178526900001
    per_block: 5.513928423000003
  - resource: Test environment
    total: 0.43960946299999537
    per_block: 0.14653648766666513
```

---------

Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
librelois pushed a commit that referenced this pull request May 13, 2024
* Initial commit. CLI which parses RPC urls.

* Establish ws connections and make simple RPC requests.

* Complete bridge setup.

* Process subscription events.

* Ctrl-C handler.

* Write a bare-bones README and copy in design doc.

* Modularize code a little bit.

* Communicate with each chain in a separate task.

* Parse headers from RPC subscription notifications.

* Send (fake) extrinsics across bridge channels.

And now it's deadlocked.

* Fix deadlock.

* Clarify in README that this is not-in-progress.

* Move everything into a single folder

* Move Substrate relay into appropriate folder

* Get the Substrate Relay node compiling

* Update Cargo.lock

* Use new composite accounts from Substrate

* Remove specification document

It has been moved to the Wiki on the Github repo.

* Update author + remove comments

* Use latest master for jsonrpsee

Required renaming some stuff (e.g Client -> RawClient)

Co-authored-by: Jim Posen <jim.posen@gmail.com>
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.

5 participants