kulapio / libra-core

A javascript client for libra, works on browser and node
https://www.npmjs.com/package/kulap-libra
39 stars 16 forks source link

transferCoins is broken again #10

Closed olibaron closed 5 years ago

olibaron commented 5 years ago

transferCoins is broken again. The result shows the following error:

LibraTransactionResponse {
  signedTransaction: LibraSignedTransaction {
    transaction: LibraTransaction {
      program: [Object],
      gasContraint: [Object],
      expirationTime: [BigNumber],
      sendersAddress: [AccountAddress],
      sequenceNumber: [BigNumber]
    },
    publicKey: Uint8Array [
      126, 142, 165,  73, 194, 136, 153,  77,
      213,  61, 211, 220,   2, 180, 195,  48,
      128, 186, 113, 104, 203,  53,  60, 113,
      224,  54,  74, 205, 207, 172,  13,  60
    ],
    signature: Uint8Array [
       52, 197, 179, 236, 142,   5,  10,  23, 179, 135,  58,
      132,  85, 225, 203, 155, 158, 211,  37, 180,  36, 148,
      176,  27,  29,  35,  74,  68, 239,  57,  78,  51,  94,
      211,  86, 119, 146,  62, 195,  39, 168, 161,  46,  83,
      205, 146,  67,  37,   9,  97, 243, 229,  13,  49,  27,
       81,   8, 251, 190,  24,  60, 213, 197,  14
    ]
  },
  validatorId: Uint8Array [],
  acStatus: -1,
  mempoolStatus: -1,
  vmStatus: LibraVMStatusError {
    errorType: 1,
    validationStatusError: { code: 11, message: 'none' },
    verificationStatusErrors: undefined,
    invariantViolationError: undefined,
    deserializationError: undefined,
    executionError: undefined
  }
}
suraneti commented 5 years ago

@olibaron this might be reference with #8 issue.

totiz commented 5 years ago

Just fixed with https://github.com/kulapio/libra-core/releases/tag/v1.0.17