pylibra icon indicating copy to clipboard operation
pylibra copied to clipboard

send_transaction not working as intended

Open jiaochangyang opened this issue 5 years ago • 2 comments

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!

jiaochangyang avatar Jul 29 '19 14:07 jiaochangyang

I have same situation. Waiting for update!

HubCodes avatar Aug 01 '19 07:08 HubCodes

Hopefully, It might help you: #10

HubCodes avatar Aug 02 '19 04:08 HubCodes