paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

Name Service Pallet as Collectives Service #14491

Open rossbulat opened 1 year ago

rossbulat commented 1 year ago

This PR expands on what was worked on in https://github.com/paritytech/substrate/pull/11052, getting the name service pallet to a production ready state.

The addition of a register_para and deregister_para will be added, ideally only callable via XCM over OpenGov proposals, as a mechanism for paras to be registered on the service. This will prevent arbitrary / non-existent Para IDs from being stored on the service. The set_address call within the name service resolver can then take a para_id in addition to the address itself, so the service knows which para to route addresses to.

Other tasks post initial release

rossbulat commented 1 year ago

bot clean

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Branch is already up-to-date

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Branch is already up-to-date

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_name_service

command-bot[bot] commented 1 year ago

@rossbulat "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service (https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188692) was cancelled in https://github.com/paritytech/substrate/pull/14491#issuecomment-1635801559

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_name_service

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188827 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 27-4fe4c106-3c09-4b9d-9381-d67502cc1ec3 to cancel this command or bot cancel to cancel all commands in this pull request.

rossbulat commented 1 year ago

bot cancel 26-9d7e5b22-92a0-4571-81b6-5877849b9bdf

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188692 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188692/artifacts/download.

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188827 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3188827/artifacts/download.

rossbulat commented 1 year ago

bot bench $ pallet dev pallet_name_service

command-bot[bot] commented 1 year ago

@rossbulat https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3189239 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 28-a92b1d43-821d-4760-bca0-15dadecbfdbf to cancel this command or bot cancel to cancel all commands in this pull request.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

command-bot[bot] commented 1 year ago

@rossbulat Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" pallet dev pallet_name_service has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3189239 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3189239/artifacts/download.

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

Polkadot-Forum commented 1 year ago

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/name-service-pallet-introduction-and-call-for-frame-devs-to-review/3480/1

rossbulat commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

rossbulat commented 1 year ago

Love this! 🚀 Left mostly comments about documentation.

Super appreciated @franciscoaguirre , this is exactly the FRAME expertise the pallet needs. 💪

paritytech-cicd-pr commented 1 year ago

The CI pipeline was cancelled due to failure one of the required jobs. Job name: cargo-check-benches Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3322490

paritytech-cicd-pr commented 1 year ago

The CI pipeline was cancelled due to failure one of the required jobs. Job name: cargo-check-benches Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3322491