Skip to content

Polkadot staging update#1265

Closed
svyatonik wants to merge 14 commits intomasterfrom
polkadot-staging-update
Closed

Polkadot staging update#1265
svyatonik wants to merge 14 commits intomasterfrom
polkadot-staging-update

Conversation

@svyatonik
Copy link
Copy Markdown
Contributor

@svyatonik svyatonik commented Dec 22, 2021

(polkadot-staging will be used to tag substrate-relay 1.0 => push substrate-relay 1.0 image)

Will need to be sure that there are no differences between master and updated polkadot-staging - will update description with results.

UPD:

svyatonik@xwnotebook:~/dev$ git clone --depth 1 -b master https://github.com/paritytech/parity-bridges-common.git parity-bridges-common-master
Cloning into 'parity-bridges-common-master'...
remote: Enumerating objects: 455, done.
remote: Counting objects: 100% (455/455), done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 455 (delta 113), reused 209 (delta 33), pack-reused 0
Receiving objects: 100% (455/455), 581.24 KiB | 903.00 KiB/s, done.
Resolving deltas: 100% (113/113), done.
Checking connectivity... done.
svyatonik@xwnotebook:~/dev$ git clone --depth 1 -b polkadot-staging-update https://github.com/paritytech/parity-bridges-common.git parity-bridges-common-polkadot-staging-update
Cloning into 'parity-bridges-common-polkadot-staging-update'...
remote: Enumerating objects: 455, done.
remote: Counting objects: 100% (455/455), done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 455 (delta 113), reused 209 (delta 33), pack-reused 0
Receiving objects: 100% (455/455), 580.91 KiB | 0 bytes/s, done.
Resolving deltas: 100% (113/113), done.
Checking connectivity... done.
svyatonik@xwnotebook:~/dev$ diff --exclude .git -qr parity-bridges-common-master parity-bridges-common-polkadot-staging-update
svyatonik@xwnotebook:~/dev$ 

fewensa and others added 14 commits December 1, 2021 16:13
* Decouple the PoA bridge code from Rialto
* Remove Rialto PoA bridge code
* Remove relays/bin-ethereum code
* Remove relays/client-ethereum code
* Remove modules/ethereum code
* Remove modules/ethereum-contract-builtin code
* Remove PoA bridge documentation
* Remove primitives/ethereum-poa code
* Decouple Rialto from currency-exchange
* Fix building with runtime-benchmarks
* Fix should_encode_bridge_send_message_call test
    Because we removed some runtime modules/pallets, the
    substrate2substrate bridge pallet has a different index within
    the runtime so its calls have a different encoding.
    Update the test to use the new encoding.
* Update readme - no more PoA bridge
* Remove deployments/bridges/poa-rialto
    Also removes:
    - deployments/networks/eth-poa.yml
    - deployments/networks/OpenEthereum.Dockerfile
* Remove deployments/dev/poa-config
* Update deployments readme - no more PoA bridge
* Remove eth-related scripts
    Deletes:
    - deployments/networks/eth-poa.yml
    - scripts/run-openethereum-node.sh
* Remove poa-relay from gitlab-ci
* Dockerfiles to use substrate-relay as default
* Remove modules/currency-exchange code
* Remove primitives/currency-exchange code

Signed-off-by: acatangiu <adrian@parity.io>
* Decouple `relays/client-substrate` from `headers_relay`
* Remove `blocks_in_state` from `SyncLoopMetrics`
    This metric was only relevant for PoA <> Substrate bridge.
* Move `sync_loop_metrics.rs` to `relays/finality`
* Remove unused `SyncLoopMetrics::update()`
* Hook up SyncLoopMetrics to finality_loop
* Delete now unused `relays/headers`

Signed-off-by: acatangiu <adrian@parity.io>
* unify metric names

* refactor standalone metrics

* headers sync metrics

* post-merge fix

* fix compilation

* fmt

* fix dashboards

* fix local dashboards

* update Rococo/Wococo runtime version

* remove commented code

* fixed grumbles

* fmt

* fixed widget names
* Add Beefy pallet to Rialto runtime

* Add Beefy gadget to Rialto node

* Add MMR pallet to Rialto runtime

* Add Beefy pallet to Millau runtime

* Add Beefy gadget to Millau node

* Add MMR pallet to Millau runtime

* Add pallet_beefy_mmr to Millau runtime

* Add pallet_beefy_mmr to Rialto runtime

* Implement MMR and BEEFY APIs in Rialto

* fix unit tests

- should_encode_bridge_send_message_call() tests for new
  runtime encoding resulted from newly added pallets.
- runtime size_of::<Call>() slightly increased from newly
  added pallets.

* fix grumbles

* tighten clippy allowances

* fix more grumbles

* Add MMR RPC to Rialto and Millau nodes

Also implement MmrApi in Millau runtime.

* rialto: use upstream polkadot_client::RuntimeApiCollection
* fixed storage_parameter_key

* added test for storage_parameter_key
Signed-off-by: Adrian Catangiu <adrian@parity.io>
@svyatonik svyatonik added the A-chores Something that has to be done, as part of regular maintenance label Dec 22, 2021
@svyatonik svyatonik marked this pull request as ready for review December 22, 2021 10:00
Copy link
Copy Markdown
Collaborator

@acatangiu acatangiu left a comment

Choose a reason for hiding this comment

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

The update looks good, but I don't get why we're doing it now. The process is still unclear to me 🥲

@acatangiu
Copy link
Copy Markdown
Collaborator

The update looks good, but I don't get why we're doing it now. The process is still unclear to me smiling_face_with_tear

Nevermind, this is good, I thought the update is the other way around! 👍

@svyatonik
Copy link
Copy Markdown
Contributor Author

Yeah - still not clear to me as well :) I just was going to publish substrate-relay image (to use in Rococo <> Wococo bridge) and I was thinking that it'd be better to tag some commit in our release branch.

@svyatonik
Copy link
Copy Markdown
Contributor Author

Oh, I'm dumb 😕 - this is polkadot-staging to master PR. Should be opposite - will reopen :)

@svyatonik svyatonik closed this Dec 23, 2021
@acatangiu acatangiu deleted the polkadot-staging-update branch December 23, 2021 12:04
svyatonik pushed a commit that referenced this pull request Jul 17, 2023
* Update SVG

* Rename `canvas-kusama` folder `contracts-rococo`

* Search-Replace `canvas-kusama` with `contracts-rococo`

* Search-Replace `canvas_kusama` with `contracts_rococo`

* Search-Replace `canvas_rococo` with `contracts_rococo`

* Rename `canvas-rococo.json` to `contracts-rococo.json`

* Rename `CanvasKusamaChainSpec` to `ContractsRococoChainSpec`

* Migrate chain specs and configurations to `contracts-rococo`

* Adapt readme

* Improve directory structure

* Remove last occurrences of `canvas`

* Apply `cargo fmt`

* Update README.md

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Fix funny indentation

* Fix wasm path renaming

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-chores Something that has to be done, as part of regular maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants