fix(iroha-connector): make compareAndSetAccountDetail accept correct parameters #1265
Labels
bug
Something isn't working
dependent
Developer_Experience
good-first-issue
Good for newcomers
good-first-issue-300-advanced
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
Iroha
Bugs/features related to the Iroha ledger connector plugin
P5
Priority 5: Lowest
Significant_Change
Applying this label triggers the more stringent review of the maintainers and the 2+1 PR rule.
Depends on #1957
Describe the bug
One argument for compareAndSetAccountDetail, check_empty, is not dealt with inside the plugin-ledger-connector-iroha.ts file. The run-transaction test case also fail to use this argument. Moreover, the old_value argument should be optional, but it is a mandatory argument at this moment.
Please refer to the official Iroha doc for description of compareAndSetAccountDetail.
To Reproduce
Check
packages/cactus-plugin-ledger-connector-iroha/src/main/typescript/plugin-ledger-connector-iroha.ts
file. Looking for the case of compareAndSetAccountDetail.Expected behavior
Still runs, but it does not follow behaviors set by the official document.
Logs/Stack traces
N/A
Screenshots
Cloud provider or hardware configuration:
N/A
Operating system name, version, build:
N/A
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
0.9.0
Hyperledger Cactus Plugins/Connectors Used
Iroha
Additional context
The text was updated successfully, but these errors were encountered: