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

Remove some unused RPCs #980

Merged
merged 5 commits into from
Apr 6, 2021
Merged

Remove some unused RPCs #980

merged 5 commits into from
Apr 6, 2021

Conversation

maxsam4
Copy link
Contributor

@maxsam4 maxsam4 commented Apr 6, 2021

changelog

modified API

  • Removed pips_votingHistoryByAddress, pips_votingHistoryById, and asset_balanceAt RPC functions.

@maxsam4 maxsam4 requested a review from a team April 6, 2021 09:45
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #980 (56e65e8) into develop (d79f2aa) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #980      +/-   ##
===========================================
- Coverage    66.96%   66.76%   -0.20%     
===========================================
  Files           90       90              
  Lines        14838    14778      -60     
===========================================
- Hits          9936     9867      -69     
- Misses        4902     4911       +9     
Impacted Files Coverage Δ
pallets/identity/src/lib.rs 85.65% <ø> (-1.31%) ⬇️
pallets/pips/src/lib.rs 88.32% <ø> (-0.75%) ⬇️
pallets/runtime/common/src/runtime.rs 0.00% <ø> (ø)
pallets/settlement/src/lib.rs 85.11% <0.00%> (-3.13%) ⬇️

@maxsam4 maxsam4 added the merge-after-ci PR can be merged after CI has completed label Apr 6, 2021
@Centril Centril added the release-notes Tag to use if PR needs to be reflected in release notes label Apr 6, 2021
pallets/pips/src/lib.rs Show resolved Hide resolved
scripts/cli/util/rpc_u128_check.js Outdated Show resolved Hide resolved
maxsam4 and others added 2 commits April 6, 2021 18:19
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
@poly-auto-merge poly-auto-merge bot merged commit 9e8c877 into develop Apr 6, 2021
@poly-auto-merge poly-auto-merge bot deleted the remove-u128-returns branch April 6, 2021 14:02
@maxsam4 maxsam4 mentioned this pull request Apr 7, 2021
maxsam4 added a commit that referenced this pull request Apr 7, 2021
* Fixed cargo.lock (#971)

* MESH-1545/Improve STO code coverage (#963)

* WIP

* revert logic changes

* fix timestamps

* comments

Co-authored-by: Mudit Gupta <guptamudit@ymail.com>

* unset PortfolioCustodian if custodian is owner (#976)

* transfer_benefit: fix 'remaining' underflow (#975)

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

* Expose constants in metadata (#972)

* Exposed constants in metadata

* fixed test build

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

* Minor GC related fixes (#973)

* minor fixes

* fixed tests

* linting

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

* MESH-1600, MESH-1601, MESH-1590, MESH-1591 (#974)

* mesh-1601: test asset limits

* mesh-1601: test portfolio limits

* mesh-1601: test contracts limits

* mesh-1601: test ballot limits

* mesh-1601: test pips limits

* mesh-1601: test sto limits

* mesh-1601: test settlement limits

* identity_test: some assert_err! -> assert_noop!

* various assert_err! -> assert_noop!

* mesh-1600: fix transactionality issues

* mesh-1601: test identity limits

* mesh-1591, mesh-1590: refactor tests

* import fixes

* benchmark fixes

* mesh-1601: address review comments

* mesh-1601: address review comments + refactor

* fixed build warning

* Fixed test build

Co-authored-by: Mudit Gupta <guptamudit@ymail.com>

* UT for `add_investor_uniqueness_claim_v2` (#970)

* 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

* Add UT for add_investor_uniqueness_claim_v2

* Remove some intermedite changes

* Add `scope_id` verification

* CodeReview: Naming fixes

* Add `Claim::InvestorUniquenessV2`

* Fix WASM error in benchmark

* Remove `Scope` from `Claim::InvestorUniquenessV2`

* Fix Schema

* Add doc about new `revoke_claim_by_index`

* CodeReview: doc fixed

Co-authored-by: Mudit Gupta <guptamudit@ymail.com>

* Remove some unused RPCs (#980)

* added rpc check

* removed some unused RPCs

* removed unused function

* Update scripts/cli/util/rpc_u128_check.js

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

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

* Merge pull request #983 from PolymathNetwork/bump-versions

Bumped version to 3.0.1

Co-authored-by: CJP10 <cjpet10@gmail.com>
Co-authored-by: Vladimir Komendantskiy <komendantsky@gmail.com>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: poly-auto-merge[bot] <65769705+poly-auto-merge[bot]@users.noreply.github.com>
Co-authored-by: Francisco Miguel García <fmiguelgarcia@users.noreply.github.com>
This was referenced Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-after-ci PR can be merged after CI has completed release-notes Tag to use if PR needs to be reflected in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants