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

[feature] #2050: Add role-related queries. #2126

Merged
merged 4 commits into from
May 5, 2022

Conversation

appetrosyan
Copy link
Contributor

@appetrosyan appetrosyan commented Apr 20, 2022

Signed-off-by: Aleksandr Petrosyan a-p-petrosyan@yandex.ru

Description of the Change

Add a few more queries.

Issue

Closes #2050
Closes #1986

Benefits

Can now query both roles and triggers.

Possible Drawbacks

None

@github-actions github-actions bot added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Apr 20, 2022
@appetrosyan appetrosyan force-pushed the i2-queries branch 5 times, most recently from b80093b to 7654a69 Compare April 28, 2022 07:07
@appetrosyan appetrosyan marked this pull request as ready for review April 28, 2022 13:50
mversic
mversic previously approved these changes May 2, 2022
mversic
mversic previously approved these changes May 4, 2022
@s8sato s8sato self-assigned this May 4, 2022
@appetrosyan appetrosyan assigned mversic and s8sato and unassigned s8sato May 4, 2022
[feature] hyperledger#1986: Add Trigger-related queries.
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
CHANGELOG.rst Outdated
@@ -761,3 +761,4 @@ Other
``proposal_creation_timeout``.
Update sample config file to have not deprecated DB connection params.

Error: Keyboard Interrupt. Bailing out.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this belong in a changelog?

@mversic mversic self-requested a review May 5, 2022 08:50
mversic
mversic previously approved these changes May 5, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
@codecov
Copy link

codecov bot commented May 5, 2022

Codecov Report

Merging #2126 (9915458) into iroha2-dev (8df1b4c) will increase coverage by 0.12%.
The diff coverage is 15.34%.

@@              Coverage Diff               @@
##           iroha2-dev    #2126      +/-   ##
==============================================
+ Coverage       76.61%   76.74%   +0.12%     
==============================================
  Files             182      182              
  Lines           25916    26058     +142     
==============================================
+ Hits            19856    19997     +141     
- Misses           6060     6061       +1     
Impacted Files Coverage Δ
cli/src/torii/routing.rs 82.29% <ø> (ø)
client/src/client.rs 89.21% <ø> (ø)
core/src/smartcontracts/isi/asset.rs 59.04% <ø> (ø)
core/src/smartcontracts/isi/query.rs 82.62% <0.00%> (-1.99%) ⬇️
core/src/smartcontracts/isi/triggers.rs 27.50% <0.00%> (-5.84%) ⬇️
core/src/smartcontracts/isi/world.rs 36.78% <0.00%> (-1.78%) ⬇️
core/src/triggers.rs 40.90% <0.00%> (-2.47%) ⬇️
...issions_validators/src/private_blockchain/query.rs 4.51% <0.00%> (-0.92%) ⬇️
data_model/src/query.rs 31.30% <9.61%> (-2.77%) ⬇️
data_model/src/trigger.rs 57.53% <22.22%> (-4.11%) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8df1b4c...9915458. Read the comment docs.

@appetrosyan appetrosyan merged commit 322afe8 into hyperledger:iroha2-dev May 5, 2022
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
appetrosyan added a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
mversic pushed a commit to mversic/iroha that referenced this pull request May 13, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants