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

Key image helper precomp: given output pubkey doesn't match the derived one #405

Open
Bucephalus1981 opened this issue Jul 24, 2019 · 1 comment
Labels
bug Something isn't working
Projects

Comments

@Bucephalus1981
Copy link

Attempted to create RTA transaction fails.

POS wallet command and output:

root@ubuntu-s-2vcpu-4gb-blr1-RTATEST01:~/rta_beta20190722_1# ./rta-pos-cli --wal let-address F9KYEAJwRX1aVWm4z29R1fKAt9Fkce6bLQy2KWVqavUyDaB8QEx3fgHe3Nt4wzoeoKQj G8p4znLZ1fsU2ykFpzW6CNjaFCG --amount 50
2019-07-24 18:26:54,445 INFO [default] Page size: 4096
2019-07-24 18:26:55.449 7fd5e4c40bc0 INFO rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:438 Starting ...
qrcode-file: wallet-qr-code.json
log-level:
amount: 50
sale-items-file: sale-items.json
sale-itimeout: 5000
supernode-address: localhost:28690
pos-wallet-address: F9KYEAJwRX1aVWm4z29R1fKAt9Fkce6bLQy2KWVqavUyDaB8QEx3fgHe3Nt4 wzoeoKQjG8p4znLZ1fsU2ykFpzW6CNjaFCG
2019-07-24 18:26:55.883 7fd5e4c40bc0 INFO rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:478 Sale ini tiated: baedb162005aefdb1c13eea485aa4f868c414017bb3f10221c3ff4fe575cbc29
2019-07-24 18:26:55.883 7fd5e4c40bc0 WARN rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:240 Requesti ng payment status for payment: baedb162005aefdb1c13eea485aa4f868c414017bb3f10221 c3ff4fe575cbc29
2019-07-24 18:26:55.884 7fd5e4c40bc0 ERROR rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:244 Failed t o invoke get_payment_status: {"code":-32051,"message":"Payment ID is invalid."}
...
2019-07-24 18:27:15.474 7fd5e4c40bc0 WARN rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:240 Requesti ng payment status for payment: baedb162005aefdb1c13eea485aa4f868c414017bb3f10221 c3ff4fe575cbc29
2019-07-24 18:27:15.475 7fd5e4c40bc0 ERROR rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:244 Failed t o invoke get_payment_status: {"code":-32051,"message":"Payment ID is invalid."}
2019-07-24 18:27:15.976 7fd5e4c40bc0 ERROR rta-pos-cli /home/mb g033/dev/graft-project/graft-ng/src/apps/rta-pos-cli/main.cpp:482 Expected in-progress status, got: 0

Customer Wallet command and Output:

root@ubuntu-s-2vcpu-4gb-blr1-RTATEST01:~/rta_beta20190722_1# ./rta-wallet-cli --wallet-path Customer1
2019-07-24 18:26:42,707 INFO [default] Page size: 4096
qrcode-file: wallet-qr-code.json
log-level:
sale-itimeout: 10000
supernode-address: localhost:28690
wallet-path: Customer1
2019-07-24 18:26:43.856 7f462ea93bc0 WARN wallet.wallet2 src/wallet/wallet2.cpp:4642 Loaded wallet keys file, with public address: F9iLfnb7rroiDGRXE2FPY3DcKBqF6DKjMPCr4tWKKNB23BWMJ4uDjuSXbrWatKxkKD9PvWzSfS4LxhAzCimdWxToCqojJ8Q
Wallet opened, balance: 100999.9856817700
Press to continue..

2019-07-24 18:26:57.908 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:131 Reading payment details from QR code...
2019-07-24 18:26:57.908 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:168 Requesting payment data for payment: baedb162005aefdb1c13eea485aa4f868c414017bb3f10221c3ff4fe575cbc29
2019-07-24 18:26:57.910 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:196 Payment data received for payment id: baedb162005aefdb1c13eea485aa4f868c414017bb3f10221c3ff4fe575cbc29
2019-07-24 18:26:58.005 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:225 payment details: SERIALIZED SALE ITEMS HERE
2019-07-24 18:26:58.005 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:241 Collecting auth sample id keys...
2019-07-24 18:26:58.010 7f462ea93bc0 WARN rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:271 Building transaction...
2019-07-24 18:26:58.010 7f462ea93bc0 WARN wallet.wallet2 src/wallet/wallet2.cpp:9092 total fee: 0.2500000000
2019-07-24 18:26:58.010 7f462ea93bc0 WARN wallet.wallet2 src/wallet/wallet2.cpp:9094 per node fee: 0.0250000000
2019-07-24 18:26:58.597 7f462ea93bc0 WARN wallet.wallet2 src/wallet/wallet2.h:1921 amount=50449.9928370500, real_output=2, real_output_in_tx_index=1, indexes: 392800 558472 558671 558727 558827 558871 558883 558944 558954 558983 558997
2019-07-24 18:26:58.598 7f462ea93bc0 ERROR cn src/cryptonote_basic/cryptonote_format_utils.cpp:299 key image helper precomp: given output pubkey doesn't match the derived one
2019-07-24 18:26:58.598 7f462ea93bc0 ERROR default src/cryptonote_core/cryptonote_tx_utils.cpp:310 Key image generation failed!
2019-07-24 18:26:58.598 7f462ea93bc0 ERROR wallet.wallet2 src/wallet/wallet2.cpp:7846 !r. THROW EXCEPTION: error::tx_not_constructed
2019-07-24 18:26:58.601 7f462ea93bc0 ERROR rta-wallet-cli /home/mbg033/dev/graft-project/graft-ng/src/apps/rta-wallet-cli/main.cpp:459 Exception at [App error], what=transaction was not constructed

@yidakee
Copy link

yidakee commented Jul 25, 2019

Seems the same issue as - #405

@Dju01 Dju01 added this to ToDo in RTA Flow via automation Jul 29, 2019
@Dju01 Dju01 added the bug Something isn't working label Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
RTA Flow
  
ToDo
Development

No branches or pull requests

3 participants