-
Notifications
You must be signed in to change notification settings - Fork 48
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
DELETE #1735
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add helper code for secondary key permissions to integration tests. * Add improved secondary key permissions tests. * Add batch leave/join identity test. * Add integration test for contract permissions. * Support secondary key call permissions in SignedExtension. * Fix issue with invalid account nonce. * Update dep. * Use cargo nextest again in CI. * Clear CI cache when rust integration test deps change. * Use v6 KeyRecords based permissions. * cargo fmt
Update version to 6.3.3
* Remove unneeded types from schema. * Regen TS types. * More integration test cleanup. --------- Co-authored-by: Adam Dossa <[email protected]>
* Change register_ticker to register_unique_ticker * Compile all pallets * Asset and compliance benchmarks * Most benchmarks * Compile all benchmarks * Fix asset benchmarks * Adjust Benchamarks * Add link_ticker_to_asset_id extrinsic; Add missing benchmarks * remove asset rpc * Add asset_trasferReport * Add nft transfer_report * run cargo fmt * Change ticker to AssetID in asset_pallet tests * Change tests to use asset_id * Fix more tests * Add wrapper for AssetID type * Fix typo * Fix asset_tests * Fix benchmarks to use wrapper AssetID * Fix create_nft_collection * Change tests to use AssetID * Change all test to use AssetID * Change nft create collection benchmark * Remove useless tests * Update schema.json * Change AssetID generation * Remove asset_id from offchain legs * Add per account nonce * Bump rpc versions; Emmit event for ticker transferring * Bump rpc version * Fix Rust integration tests. --------- Co-authored-by: Robert G. Jakabosky <[email protected]>
* Add asset migrations * Add checkpoint migrations * Add compliance manager migrations * Add corporate-actions migrations * Addd external-agents migrations * Add nft migrations * Add portfolio migrations * Add pallet-settlement migrations * Add statistics migrations * Add sto migrations * Add identity migrations * Add AssetIdentifiers missing migration * Add missing on_runtime_upgrade * Count migrated items * Add missing cargo.lock
* Bump versions * Update Cargo.lock
* Change VenueId to Option * Add instruction migration --------- Co-authored-by: Adam Dossa <[email protected]>
* 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.
* Rename struct * Rename functions --------- Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
* Split secondary key permissions out of KeyRecords. * Fix JS integration tests. * Make sure to remove permissions when removing a secondary key. * Fix remove key permissions. * Use BTreeMap for pallet/extrinsic permissions. * Tried to fix TS integration tests. * Fix js integration tests. * Add integration test for contract permissions. * Check secondary key call permissions in SignedExtension. * Add origin call filter to enforce call permissions. * Fix expected error. * Update MultiSig to support newer permissions. * Fix call whitelist. * Whitelist identity.accept_primary_key * Remove origin_call_filter. * Remove extra clone. * Change back to nextest. * Regen TS types. * cargo fmt * Fix merge issues. * Add storage migrations for split key permissions. --------- Co-authored-by: Adam Dossa <[email protected]>
* Update staking to match monthly-2023-03 release + cargo fmt * Set new associated types to Staking; Add multi-phase election to the runtime * Add IdentityConfig bound to Staking; Fetch did for bounded event * Add most polymesh specific changes * Fix test compilation * Add cargo lock * Add inflation logic; Add polymesh specific changes to test builder * Run all tests * Add polymesh changes to benchmarks * Fix compilation warnings; Add EraPayout to runtime * Add slashing check; Add scheduler * Add associated types; Fix tests * Add missing benchmarks; Add missing tests; Add unbond_balance impl * Change polymesh version * Remove old staking function * Remove multi_phase benchmark run * Add commission cap; Add validate unsigned to multiphase election * Add validator_comission_cap * Add new reap_stash logic; Add max_validators check * Add migrations * Add missing benchmarks; Add unbond test
* Remove deprecated storage * Add InstructionId, to event; Fix get_execute_instruction_info * Add missing migration
* Update json schema * Update json schema
Co-authored-by: Adam Dossa <[email protected]>
* Run all benchmarks * Add missing parameters for weights --------- Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
* Fix v7 migrations for Portfolio, Asset, MultiSig and Statistics pallets. * Fix v7 NFT migrations. * Fixup portfolio migrations. * Fix v7 migrations part2 (#1711) * Fix checkpoint migrations * Fix compliance migrations * Fix migrations --------- Co-authored-by: Henrique Nogara <[email protected]>
* Update cli params * Fix SRTools pipeline
* Remove state-trie migration code. * Regen TS types. * run npm audit * Update Rust integration deps. * Use published polymesh-api crates. * Update sqlx. * Remove some dead code.
* Add transfer_restrictions_report * Add call to schema --------- Co-authored-by: Adam Dossa <[email protected]> Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
Co-authored-by: Adam Dossa <[email protected]>
* Check DID & Portfolio for settlements * Fix linting * Fix mocks * Fix mocks again --------- Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
* Remove minimum balance for multisigs * Remove import * Update tests * Fix more tests * Fix tests * Linting * Remove unused error
* Return the actual weight when redeeming an NFT * Run benchmark * Remove deprecated remove_prefix call
* Set invalid proposals; Check proposal expiration date * Add unit tests * Add remove_admin extrinsic * Cargo fmt * Return error if mutlsig has no admin; Invalidate proposal only when accepting multisig signer * Fix typo
…link extrinsics; Remove duplicate code (#1728)
* Fix sto migration * Fix identity migrations * Improve log messages * Remove migration for new storage * Bump RC spec_version --------- Co-authored-by: Adam Dossa <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If your PR has an external impact, please complete the
changelog
below. Headings under thechangelog
are optional, and should only be included if relevant for this PR.Please add any general description of the changes before the
changelog
.Items should be added to the
changelog
using bulletpoints.changelog
new features
[Describe the features being added in the PR]
modified external API
[List any extrinsics whose behaviour or function signature is modified]
new external API
[List any new extrinsics being introduced]
modified events
[List any events whose behaviour, name or arguments is modified]
new events
[List any new events being introduced]
other
[List any other relevant information, for example RPC function details]
data migration
[List any storage modifications required during upgrade process with details]