Skip to content

Remove bridge part 1#1691

Merged
Neopallium merged 2 commits intoMESH-1955-multisig-improvementsfrom
remove_bridge_part_1
Aug 13, 2024
Merged

Remove bridge part 1#1691
Neopallium merged 2 commits intoMESH-1955-multisig-improvementsfrom
remove_bridge_part_1

Conversation

@Neopallium
Copy link
Copy Markdown
Contributor

@Neopallium Neopallium commented Jul 19, 2024

changelog

new features

  • Remove most of the Bridge code (extrinsics, events, errors). Only keeping the storage.
  • Use manual pallet index values, to avoid breaking pallet ids when adding/removing pallets. Also this makes sure that all runtimes use the same pallet indices.

modified external API

  • Removed the bridge pallet extrinsics, events and errors.

@Neopallium Neopallium changed the base branch from develop to MESH-1955-multisig-improvements-part-2 July 19, 2024 15:55
@Neopallium Neopallium requested review from HenriqueNogara and adamdossa and removed request for HenriqueNogara and adamdossa July 19, 2024 16:27
@Neopallium Neopallium force-pushed the remove_bridge_part_1 branch from 307c9ca to f95ec97 Compare July 22, 2024 17:30
@Neopallium Neopallium force-pushed the MESH-1955-multisig-improvements-part-2 branch from 1a4a195 to 344c16c Compare July 30, 2024 13:01
@Neopallium Neopallium force-pushed the remove_bridge_part_1 branch from f95ec97 to 93be1be Compare July 30, 2024 13:02
@Neopallium Neopallium force-pushed the MESH-1955-multisig-improvements-part-2 branch from 344c16c to ec20cb7 Compare July 31, 2024 10:45
@Neopallium Neopallium force-pushed the remove_bridge_part_1 branch from 93be1be to 95981ab Compare July 31, 2024 10:49
Base automatically changed from MESH-1955-multisig-improvements-part-2 to MESH-1955-multisig-improvements August 13, 2024 13:47
@Neopallium Neopallium force-pushed the MESH-1955-multisig-improvements branch from 423e9ae to fa4ccd8 Compare August 13, 2024 14:10
* Remove multisig.create_or_approve_proposal extrinsic and multisig.ProposalIds storage.

* Prune multisig proposal when it is executed/rejected.

* Rename MultiSigTxDone to NextProposalId.
@Neopallium Neopallium force-pushed the remove_bridge_part_1 branch from d5d4f94 to 0cf7b4e Compare August 13, 2024 14:14
@Neopallium Neopallium merged commit 72d94dd into MESH-1955-multisig-improvements Aug 13, 2024
@Neopallium Neopallium deleted the remove_bridge_part_1 branch August 13, 2024 14:14
Neopallium added a commit that referenced this pull request Aug 14, 2024
* Remove Bridge extrinsics, events, errors.  Only keep the storage.

* MESH-2006 multisig improvements part 3 (#1693)

* Remove multisig.create_or_approve_proposal extrinsic and multisig.ProposalIds storage.

* Prune multisig proposal when it is executed/rejected.

* Rename MultiSigTxDone to NextProposalId.
Neopallium added a commit that referenced this pull request Aug 15, 2024
* Remove old _as_identity extrinsics.

* Fix multisig benchmarks.

* Remove use of Signatory type from MultiSig pallet.

* Fix JS integration tests.

* Add migration for MultiSig Signatory storage.

* Don't use scheduler to execute MS proposals.

* Add MultiSig secondary key permissions tests.

* Rust integration tests needs more memory.

* Remove auto_close flag from MultiSig and always close proposals when they have been rejected.

* Fix Rust integration test build.

* Rename MultiSigToIdentity to CreatorDid.

* Disable CI cache for Rust integration tests.

* Don't migrate the Votes storage, it will be cleared.

* MESH-2006 multisig improvements part 2 (#1690)

* Refactor ProposalDetails and ProposalStatus.

* Convert multisig pallet to frame v2.

* Refactor Multisig events.

* Don't use Concat based hashing on the Proposal in storage map ProposalIds.

* Don't use Context::current_identity in multisig pallet.  Use the MS's linked DID or it's creator DID.

* Fix bridge controller's CreatorDID.

* Allow a primary key to use custom permissions when making a multisig a secondary key.

* Add tests for 'make_multisig_secondary'.

* Support adding/removing multiple MS signers.

* Emit one event when adding/removing many signers.

* Add execution reentry guard to multisig proposal execution.

* Fix benchmark for approve and create_proposal.

* Use bounded vec for multisig signers.

* Fix multisig unit tests.

* Make MaxSigners a constant in the metadata.

* Remove bridge part 1 (#1691)

* Remove Bridge extrinsics, events, errors.  Only keep the storage.

* MESH-2006 multisig improvements part 3 (#1693)

* Remove multisig.create_or_approve_proposal extrinsic and multisig.ProposalIds storage.

* Prune multisig proposal when it is executed/rejected.

* Rename MultiSigTxDone to NextProposalId.

* MESH-2209 multisig improvements part 4 (#1697)

* Rename MS creator to admin and add paying DID support.

* Split a long running test into smaller tests.

* Restrict the total number of signers on a multisig.

* Always use the Multisig's DID for adding new signers.

* Multisig nesting is not allowed.

* Fix test build.

* Allow a multisig to remove it's paying DID to pay their own fees.

* Add join identity support to MultiSig.

* The approve_join_identity call is paid by the joining DIDs primary key.

* Add some missing events.

* Use wasm based weights.

* Add tests for remove_payer.

* Remove use of Context::current_identity (#1698)

* Remove use of Context::current_identity

* Add some more TODOs.

* Remove Context::set_current_identity() calls from unit tests.

* Remove some more current_identity from unit tests.

* Use controller not stash for Unbonded event.

* Fix remove_authorization for unlinked keys.

* Use GC_DID in treasury event.

* Lint fix.

* Finish TODOs.

* Remove all Context::current_identity code.

* Remove identity CurrentDid storage.
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.

3 participants