Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MESH-1379/permission logic integration test (#852) * added createPortfolio function, modified 4_permission_management and minor change in init.js * minor changes * added movePortfolioFunds function * added setPortfolio and setExtrinsic functions * added functions for creating documents and setting asset permissions * minor changes * minor change * minor change * Trigger Build * minor change * fixed minor indentation issue Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Adam Dossa <[email protected]> * Script to simplify running JS integration tests (#902) * added script * minor change * minor changes * Update Polymesh's subrtrate version to 2.0.1-2 (#909) * Update Polymesh's subrtrate version * TX pool drop unpropagable tx if node is not author blocks Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1508, MESH-1469: Add Jurisdictions and clean up README.md (#917) * Clean Ups * fixed typos * Update README.md Co-authored-by: Vladimir Komendantskiy <[email protected]> * Update primitives/src/jurisdiction.rs Co-authored-by: Vladimir Komendantskiy <[email protected]> * line breaks Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> * Allow tipping for Operational TX from CDD/GC member (#918) * Allow tipping for Operational TX from CDD/GC member * re-trigger pipeline * CodeReview fixes * CodeReview: Improve comment * CodeReview: consistensy * CodeReview fix * MESH-1533/add minimum bond support to staking tests (#921) * add minimum bond support to staking tests * unwrap to expect Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Merge pull request #919 from PolymathNetwork/mesh-1466 MESH-1466: Create mainnet & refactor runtimes * MESH-1536: use substrate im-online pallet (#922) * removed Polymesh im-online pallet * added back im-online weight file * removed unused import * fmt * cleanup of im-online genesis config * removed unused OfflineSlashingParams schema * use Polymesh weight constants * MESH-1466: Nix live configs (#924) * nix develop & alcyone live configs * mainnet-live -> mainnet-bootstrap Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Remove POC confidential pallet (#923) * Remove POC confidential pallet * Revert changes in benchs' deps * Remove POC confidential pallet * re-trigger pipeline * cleanup integration tests blocking * trigger pipeline Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: Claus Strommer <[email protected]> * New `polymesh_contracts::set_put_code_flag` extrinsic. (#920) * New `polymesh_contracts::set_put_code_flag` extrinsic. * Code fmt * Contracts benchs fix * Fix weight * CodeReview: use as PIP * CodeReview * cleanup integration tests blocking * CodeReview: add more errors into doc Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1375: Fix module ordering + naming (#925) * mainnet module order: contiguous discriminants * mesh-1375: fix module namings Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1558: Simplify & harden contract tests (#927) * mesh-1558: cleanup contract tests * mesh-1558: cleanup contract tests more Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1556: allow distribution past dividend date (#926) * allow distribution past dividend date * test distribution with past payment date * Skip node-executor in docs (#933) * Mesh 713/reserve classic tickers (#929) * updated serialization and deserialization for eth addresses * reserved classic tickers * minor fixes * Update src/chain_spec.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * disabled extra tests (#941) * updated address prefix (#935) Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Revert "MESH-1375: Fix module ordering + naming (#925)" (#937) This reverts commit fd8d81b. Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Revert "Mesh 1400/update storage hashers (#796)" (#934) This reverts commit 84c60ff. Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Minor refactoring (#943) * minor refactoring * reduced a copy * benchmarks build fix * Mesh 1535: New TestUtils pallet (#940) * New optional `Testnet` pallet * Update pallets/common/src/empty_module.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * Update pallets/runtime/develop/src/fee_details.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * Update pallets/testnet/src/testnet.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * CodeReview fixes * Testnet pallet is enabled in runtimes. * Fix fmt * Update pallets/testnet/src/lib.rs CodeReview: Fix comment Co-authored-by: Mazdak Farrokhzad <[email protected]> * CodeReview: Remove weight placeholder * Storage migration tests (#900) * wip * wip * wip * cleanup * more cleanup * wip * restructure * moving things around * assert * minor cleanup * feature gate migrations * fixed warnings * Update migration-tests/src/lib.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * Added checkpoints migration tests * fixed merge conflict * Added support for different substrate versions Co-authored-by: Mazdak Farrokhzad <[email protected]> * Removed unnecessary constraints (#905) * removed unnecessary constraints * fixed settlement benchmarks Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1473/Create a list of transactions that require Asset/Portfolio permissions (#894) * WIP * WIP * Update utils/permissions/Cargo.toml Co-authored-by: Mazdak Farrokhzad <[email protected]> * WIP * WIP * Update utils/permissions/src/doc_parser/enums.rs Co-authored-by: Francisco Miguel García <[email protected]> * crate docs Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Francisco Miguel García <[email protected]> * Add modify window event and stop event to STO (#903) * add modify window event and stop event * Update pallets/sto/src/lib.rs Co-authored-by: Mudit Gupta <[email protected]> * Update pallets/sto/src/lib.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * Update pallets/sto/src/lib.rs Co-authored-by: Mudit Gupta <[email protected]> * fix build * add CloseEarly status * updated schema * fixed benchmarks Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Added support for H2 tag perms (#907) * Added support for H2 tag perms * closure Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1533/Require minimum 1 POLYX bond (#910) * WIP * minor changes Co-authored-by: Mudit Gupta <[email protected]> * bond 1 polyx in integration tests (#911) * fixed ValidatorPrefsWithBlocked hack (#913) * MESH-1379/permission logic integration test (#852) * added createPortfolio function, modified 4_permission_management and minor change in init.js * minor changes * added movePortfolioFunds function * added setPortfolio and setExtrinsic functions * added functions for creating documents and setting asset permissions * minor changes * minor change * minor change * Trigger Build * minor change * fixed minor indentation issue Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Adam Dossa <[email protected]> * Script to simplify running JS integration tests (#902) * added script * minor change * minor changes * Update Polymesh's subrtrate version to 2.0.1-2 (#909) * Update Polymesh's subrtrate version * TX pool drop unpropagable tx if node is not author blocks Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1508, MESH-1469: Add Jurisdictions and clean up README.md (#917) * Clean Ups * fixed typos * Update README.md Co-authored-by: Vladimir Komendantskiy <[email protected]> * Update primitives/src/jurisdiction.rs Co-authored-by: Vladimir Komendantskiy <[email protected]> * line breaks Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> * Allow tipping for Operational TX from CDD/GC member (#918) * Allow tipping for Operational TX from CDD/GC member * re-trigger pipeline * CodeReview fixes * CodeReview: Improve comment * CodeReview: consistensy * CodeReview fix * MESH-1533/add minimum bond support to staking tests (#921) * add minimum bond support to staking tests * unwrap to expect Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Merge pull request #919 from PolymathNetwork/mesh-1466 MESH-1466: Create mainnet & refactor runtimes * MESH-1536: use substrate im-online pallet (#922) * removed Polymesh im-online pallet * added back im-online weight file * removed unused import * fmt * cleanup of im-online genesis config * removed unused OfflineSlashingParams schema * use Polymesh weight constants * MESH-1466: Nix live configs (#924) * nix develop & alcyone live configs * mainnet-live -> mainnet-bootstrap Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Remove POC confidential pallet (#923) * Remove POC confidential pallet * Revert changes in benchs' deps * Remove POC confidential pallet * re-trigger pipeline * cleanup integration tests blocking * trigger pipeline Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: Claus Strommer <[email protected]> * New `polymesh_contracts::set_put_code_flag` extrinsic. (#920) * New `polymesh_contracts::set_put_code_flag` extrinsic. * Code fmt * Contracts benchs fix * Fix weight * CodeReview: use as PIP * CodeReview * cleanup integration tests blocking * CodeReview: add more errors into doc Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1375: Fix module ordering + naming (#925) * mainnet module order: contiguous discriminants * mesh-1375: fix module namings Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1558: Simplify & harden contract tests (#927) * mesh-1558: cleanup contract tests * mesh-1558: cleanup contract tests more Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1556: allow distribution past dividend date (#926) * allow distribution past dividend date * test distribution with past payment date * Skip node-executor in docs (#933) * Mesh 713/reserve classic tickers (#929) * updated serialization and deserialization for eth addresses * reserved classic tickers * minor fixes * Update src/chain_spec.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Integrate testnet pallet * Decouple Identity from TestnetFn * CodeReview: Cleaning some deps * re-trigger pipeline * Update pallets/corporate-actions/src/distribution/benchmarking.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Mudit Gupta <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> Co-authored-by: CJP10 <[email protected]> Co-authored-by: Joel Moore <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Adam Dossa <[email protected]> Co-authored-by: Claus Strommer <[email protected]> * Fix validator running count (#946) * Added use for ethereum types (#936) Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Capital Distributions: Use 'per_share' concept instead of total supply (#942) * capital dists: use 'per_share' concept * extract PER_SHARE_PRECISION Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Merge pull request #906 from PolymathNetwork/MESH-1485 MESH-1485/ New buffron spec as per 2.5 release * bumped versions for 2.7.0 * Asset::{create_asset, update_identifiers} now rejects bad `AssetIdentifiers` (#938) * simplify bounds * optimize asset identifier validation * refactor asset_test * simplify issuers_can_create_and_rename_tokens * asset_test: simplify with User::new * asset_test: extract allow_all_transfers * cargo fmt * asset_test: extract has_ticker_record * asset_test: extract set_time_to_now * asset_test: assert_err -> assert_noop * asset_test: extract 'transfer' * simplify ensure_asset_idents_valid * asset_test: extract basic_asset * asset_test: extract 'cusip' * ca tests: simplify create_asset * ca tests: extract currency_test * asset_test: simplify some add_auths * asset_test: simplify smart ext tests * update config params for mainnet (#950) Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * MESH-1530: bridge transactions complete in genesis (#931) * added genesis bridge tx config * added minting on genesis in the bridge * runtime test for genesis bridge txs * refactored genesis identities in tests * refactoring of identity genesis and the bridge test * fixed bridge genesis test * bridge genesis test and bridge issue fn refactoring * fixes * more fixes * WIP on fixing test genesis identity mess * accounted for intersecting CDD provider and GC sets * chain_spec fixes * fixed an identity test * MESH-1408/Refactor canTransfer to return all Results (#928) * WIP * docs * add missing slash * run ci * WIP * docs * Update pallets/asset/src/lib.rs Co-authored-by: Vladimir Komendantskiy <[email protected]> * Update pallets/runtime/common/src/runtime.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * comments * comments * comments * comments * comments * schema * removed extra param Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Mudit Gupta <[email protected]> * Mesh 1541/clean up asset and code coverage (#930) * Move code out of `decl_module` in asset * Fix some asset UT * Increase asset coverage * Increase asset coverage * CodeReview: Remove commented code * CodeReview: Style fixes * CodeReview: Fix UTs * ChainSpec uses GenesisIdentityRecord * CodeReview: Style fixes * CodeReview: Style fixes * Added stablecoins as an asset type (#956) * Added stablecoins as an asset type * Update polymesh_schema.json * Mesh 1570/clean old scope_id (#955) * wip of purging old scope_id balance * iterating over old scope IDs * minor scope_id fixes * comments * scope_id unit test WIP * UT WIP * scope_id UT finished * Apply suggestions from code review Co-authored-by: Mazdak Farrokhzad <[email protected]> * computing the old scope ID inside the balance updater fn * deprecated simple_asset * test asset creation utility fn * deprecating via a comment rather than a macro * Update pallets/identity/src/lib.rs Co-authored-by: Francisco Miguel García <[email protected]> * fixed the review comment Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Francisco Miguel García <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Added identity to rewarded event (#958) * MESH-1592: balance_at RPC (#957) * balance_at RPC * updated the schema * removed Balance type parameter in RPC * balance_at RPC takes a vec of identities * added a const for balance_at dids length * MESH-1544: pips RPC tests (#960) * pips RPC tests * test multiple proposals and votes Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * ITN Chainspec (#954) * wip * reorder mainnet pallets * wip * Fixed systematic cdd claims * more genesis config stuff * minor changes * generate new bootstrap genesis file * fixed "bondTooLow" error in benchmarks * combined group macros * update config * Updated weights * fix network detection for buffron * Fixed merge * rename mainnet to itn * fix bug in did registration * Updated chainspec * Updated bridged transactions * Fixed tests * Update src/chain_spec.rs Co-authored-by: Mazdak Farrokhzad <[email protected]> * fixed minor stuff * fixed group benchmarks * updated ss58 prefix for devnet * BridgeLockId struct * bumped up binary version * give test polyx on signing up * updated tests * 0 init balance on devnets Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Merge pull request #961 from PolymathNetwork/default-alcyone Make alcyone the default network * MESH-1589: Limit lengths (#959) * mesh-1589: add base pallet * mesh-1589: protect PortfolioName * mesh-1589: protect AssetType::Custom * mesh-1589: protect SmartExtensionType::Custom * mesh-1589: protect SmartExtensionName + refactor * mesh-1589: protect BallotMeta * mesh-1589: protect TemplateDetails * mesh-1589: protect Document * mesh-1589: protect Pips* * mesh-1589: protect ProposalData + FundraiserName * mesh-1589: protect TrustedFor::Specific * mesh-1589: fixes * mesh-1589: protect VenueDetails * mesh-1589: protect identity stuff * mesh-1589: fix base_add_documents * mesh-1589: rename -> ensure_perms_length_limited * mesh-1589: introduce ensure_opt_string_limited * mesh-1589: MaxLen = 2048 * mesh-1589: ProposalData doesn't need double protection * mesh-1589: fix TI complexity * mesh-1589: base_add_extension: move clone * mesh-1589: cleanup * mesh-1589: use ensure_opt_string_limited more * fix rebase fallout * mesh-1589: tweak compliance TI limits * mesh-1589: simplify ensure_length_ok * mesh-1589: base: add module docs Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> * Support PIUSv2 & v1 (#962) * New `Identity::add_investor_uniqueness_claim_v2` This version uses the new PIUSv2 version from `confidential_identity`. * Bug fix & benchmark * ScopeId generated from `InvestorZKProofData`. * minor fixes * updated schema * CodeReview fixes * Fix error from last merge Co-authored-by: Mudit Gupta <[email protected]> * ITN touchups (#965) * Drip 0 POLYX on Alcyone * Updated version * Updated ITN initial runtime * bumped versions * Merge pull request #968 from PolymathNetwork/schema-patch Don't nest u8 arrays in Schema Co-authored-by: Joel Moore <[email protected]> Co-authored-by: Vladimir Komendantskiy <[email protected]> Co-authored-by: Adam Dossa <[email protected]> Co-authored-by: Francisco Miguel García <[email protected]> Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com> Co-authored-by: CJP10 <[email protected]> Co-authored-by: Mazdak Farrokhzad <[email protected]> Co-authored-by: Claus Strommer <[email protected]> Co-authored-by: Satyam Agrawal <[email protected]>
- Loading branch information