Skip to content
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

Tooling 2.3 update #789

Merged
merged 37 commits into from
Dec 3, 2020
Merged

Tooling 2.3 update #789

merged 37 commits into from
Dec 3, 2020

Conversation

adamdossa
Copy link
Collaborator

  • Fixes for smart extensions
  • Schema fixes
  • V4 uuIDs for CDD_IDs
  • Use scheduler for PIPs

satyamakgec and others added 30 commits November 20, 2020 05:49
* initial setup for settlement benchmarking

* add update_venue benchmark

* instruction bench

* add benchmark for add_instruction

* benchamrks for settlement added

* add benchamrks for some other extrinsics

* reduce code complexity

* add setup for the affirm_instruction

* fix build

* fix linting

* minor fixes

* add WeightInfo trait

* some rearrangements

* minor modifications

* introduce some more benches and refactor some of parts

* fix test build

* fix linting

Co-authored-by: satyam <satyam@secureblocks.io>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* wip

* added ExecutionScheduler and ExpiryScheduler in pips

* removed dependency on pallet_scheduler

* updated pips trait in staking UT

* updated staking mock

* added unique PIP names in the scheduler

* comments and Agenda length assertions in unit tests

* Update pallets/pips/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* todo about the Substrate scheduler issue

* Apply suggestions from code review

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* removed duplicate definition

* returning errors from execute_proposal

* assertion of existence of an event matching a pattern

* fixed 8 out of 12 tests

* remove unscheduled pips

* fixed 1 out of 4 tests

* fixed the 0 enactment period scheduled block issue

* Apply suggestions from code review

Co-authored-by: Francisco Miguel García <fmiguelgarcia@users.noreply.github.com>

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Francisco Miguel García <fmiguelgarcia@users.noreply.github.com>
* Compliance Manager benchmarking added

* More benchs and its verification part

* Source code formatting

* UT compilation errors fixed

* Add limits

* Doc & renaming of types

* Rust fmt applied

* CodeReview: Only complexity can limit

* Utility benchmarks added

* Add relay_tx benchmark

* Fix some errors

* CodeReview: Use No-Op remark in Utility benches

* CodeReview: Remove commented code

* CodeReview: UserBuilder added

Co-authored-by: Adam Dossa <adam.dossa@gmail.com>
* removed js reserved keywords from variable names

* Updated errors in set_permission_to_signer

* fixed schema
* Add back batches

* Add schema and CDD logic

* Linting

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* Changed validator count to accomodate genesis authorities

* Increased epoch duration

Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* initialize benchmark

* contract benchmarks initial setup

* finalize contract benches

* add weights for contracts

* fix linting

* Use new functionality of creating the account in benchmarks

* fix tests

* use benchmarked weights

* minor fixes

Co-authored-by: satyam <satyam@secureblocks.io>
* Compliance Manager benchmarking added

* More benchs and its verification part

* Source code formatting

* UT compilation errors fixed

* Add limits

* Doc & renaming of types

* Rust fmt applied

* CodeReview: Only complexity can limit

* Utility benchmarks added

* Add relay_tx benchmark

* Fix some errors

* CodeReview: Use No-Op remark in Utility benches

* CodeReview: Remove commented code

* Migrate CDD_ID mocked creation

* CodeReview: UserBuilder added

* Runtime upgrades based on curr spec version

* Storage version per pallet

* CodeReview: Remove unused from `migrate_cdd_claim`

* Add `Version` type to schema

* CodeReview: Remove multisig migration

* CodeReview: Update <StorageVersion> inside `if`

* Use macro impl for Version (#769)

* Use macros impl for Version

* CodeReview: Comments & Schema

* CodeReview: Remove unused code

* Update pallets/settlement/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Update pallets/asset/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Update pallets/compliance-manager/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Update pallets/identity/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Update pallets/bridge/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Update pallets/identity/src/lib.rs

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
* mesh-1393: refactor snapshots using live queue

* mesh-1393: address review comments.

* mesh-1393: fix Pip in schema

* mesh-1393: fix chain spec

* mesh-1393: fix integration test

* mesh-1393: add dupe live insert panic test

* mesh-1393: add compare_spip_works test

* mesh-1393: cargo fmt
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.27.11 to 4.30.9.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
Co-authored-by: satyam <satyam@secureblocks.io>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* pips propose benchmark

* cancel_proposal with Community proposer

* added verify blocks + amend_proposal bench

* cleanup and extra assertion

* fixed wasm bench build

* vote and approve_committee_proposal benches

* fixing committee proposal

* #extra benches

* approve_committee_proposal works

* reject_proposal works

* prune_proposal

* prune_proposal works

* reschedule_execution draft

* reschedule_execution works

* fixed reschedule_execution test; clear_snapshot bench

* snapshot works

* enact_snapshot_results

* added pips weight module

* removed deposit variable from propose_from_community

* added pips weight trait

* compilation fixes

* fmt

* removed a bunch of unused bench params

* using a dummy value != 0

* capturing a worser case of vote

* cast_votes bench helper

* elaborated on snapshot and enact benches

* corercted the snapshot queue results and lowered bench param bounds

* lowered bounds even more

* increased the bounds slightly and fixed an assertion failure

* updated the pips weight module

* increased the upper bounds

* replaced bench params with constants + added benches for new extrinsics

* fixed compilation after merge with UserBuilder

* updated pips weight file + fixed assertion in execute_scheduled_pip

* usuccessful attempt to whitelist storage prefixes

* whitelisting voter keys to exclude remove_prefix from weight computation

* updated the weight file

* commented out snapshot and enact_snapshot benches

* removed unused import

Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* patch for the panic in math operations

* rename helper function

Co-authored-by: satyam <satyam@secureblocks.io>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* Fix schema

* typo fix

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
Co-authored-by: Mudit Gupta <guptamudit@ymail.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* Update events

* Neaten

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* Mocked InvestorUID compliant with UUID v4, generated inside crypto lib.
* Add benchmarks to Confidential
Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Added corporate actions config

Co-authored-by: Mudit Gupta <guptamudit@ymail.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
Co-authored-by: Mudit Gupta <guptamudit@ymail.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
Adam Dossa and others added 4 commits December 3, 2020 18:56
* Fixed RecordDateSpec schema

* Replaced pipsorigin (commiteeorigin) with root

* fixed missing permissions error

* Fixed remove_authorizations
@adamdossa adamdossa merged commit d6c17b5 into tooling Dec 3, 2020
@adamdossa adamdossa deleted the tooling_2.3_update branch January 19, 2023 17:33
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.

None yet

6 participants