pylibra
pylibra copied to clipboard
send_transaction not working as intended
Hi,
As a follow up to issue #7 , I think the opcodes are still incorrect. When transferring from an account to another, I expected:
-
sent_events_count
of the sender to increment by 1 -
received_events_count
of the receiver to increment by 1 -
sequence_number
to increment by 1 - the transfer amount to be deducted from the sender and that same amount to be incremented to the receiver.
However, what ended up happening is
-
sequence_number
of the sender incremented by 1
From my understanding, this means that the transaction was executed, but failed.
I am using the example for sending transactions between two accounts in the README.
Thanks for taking a look!
I have same situation. Waiting for update!
Hopefully, It might help you: #10