kulapio / libra-wallet-poc

💰POC Libra wallet
https://dev.kulap.io/libra
MIT License
141 stars 44 forks source link

Transfer failed on the latest version of testnet. #36

Closed QuincySx closed 5 years ago

suraneti commented 5 years ago

@QuincySx I have reopened this issue because of the issue still occurs due to the testnet update.

The cause of the problem is getAccountState(), getAccountTransaction(), transferCoins() functions in the kulap-libra library are broke.

reference with: https://github.com/perfectmak/libra-core/issues/42 https://github.com/perfectmak/libra-core/pull/44 https://github.com/kulapio/libra-core/issues/8

QuincySx commented 5 years ago

Is the problem with this library https://github.com/kulapio/libra-core It has two problems

  1. The test chain is updated and should be modified libra-core/lib/constants/ProgamBase64Codes.ts peerToPeerTxn
  2. The result returned by grpc getAccountState uses LCS encoding and needs to be modified to get sequenceNumber
totiz commented 5 years ago

Fixed with new kulap-libra@1.0.17 release, https://github.com/kulapio/libra-core/releases/tag/v1.0.17