perfectmak/libra-core

Confirmation timeout after minting, need to fix minter address.

Closed this issue · 0 comments

Summary

Minter address had changed from all zero to '000000000000000000000000000000000000000000000000000000000a550c18'. Please see below commit in libra repo.

Log

$ node --version
v12.7.0

$ npm v libra-core
libra-core@1.0.6

notice: I did logging with #36 fixs.

$ node
Welcome to Node.js v12.7.0.
Type ".help" for more information.
> const libra_core = require("libra-core");
undefined
> const LibraWallet = libra_core.LibraWallet;
undefined
> const LibraAccount = libra_core.Account;
undefined
> const LibraClient = libra_core.LibraClient;
undefined
> const LibraNetwork = libra_core.LibraNetwork;
undefined
> const wallet = new LibraWallet();
undefined
> const account = wallet.newAccount();
undefined
> const client = new LibraClient({ network: LibraNetwork.Testnet });
undefined
> client.mintWithFaucetService(account.getAddress(), 1e6).then(r => console.log(r)).catch(e => console.error(e));
Promise { <pending> }
Error: Confirmation timeout for [0000000000000000000000000000000000000000000000000000000000000000]:[134]
    at /Users/r17n/development/libra-nodejs/node_modules/libra-core/build/client/index.js:152:32