Error: uncaught exception: Error: number too large to retain precision - use readVarintBN

Hi,
I installed zcash(v1.1.2) and zcash-bitcore-node of npm package for json RPC call of version 3.1.3-rc2.
I started syncing by command sudo zcash-bitcore-node start which synced 99% but after that it throws me an error as below,

You are mining with the default solver on 1 threads.

Since starting this node 39 seconds ago:

You have validated 5621 transactions!
You have completed 0 Equihash solver runs.
[Press Ctrl+C to exit] [Set 'showmetrics=0' to hide]
[2018-08-03T05:28:57.722Z] **error: uncaught exception: Error: number too large to retain precision - use readVarintBN**
at BufferReader.readVarintNum (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferreader.js:127:15)
at BufferReader.readVarLengthBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferreader.js:139:18)
at Function.Input.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/input/input.js:95:28)
at Transaction.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction.js:320:23)
at Transaction.fromBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction.js:310:15)
at Transaction.fromString (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction.js:520:8)
at Bitcoin._zmqTransactionHandler (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:647:8)
at exports.Socket. (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:713:12)
at emitThree (events.js:136:13)
at exports.Socket.emit (events.js:217:7)
[2018-08-03T05:28:57.724Z] error: Error: number too large to retain precision - use readVarintBN
at BufferReader.readVarintNum (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferreader.js:127:15)
at BufferReader.readVarLengthBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferreader.js:139:18)
at Function.Input.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/input/input.js:95:28)
at Transaction.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction.js:320:23)
at Transaction.fromBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:310:15)
at Transaction.fromString (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:520:8)
at Bitcoin._zmqTransactionHandler (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:647:8)
at exports.Socket. (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:713:12)
at emitThree (events.js:136:13)
at exports.Socket.emit (events.js:217:7)
[2018-08-03T05:28:57.724Z] info: Beginning shutdown
[2018-08-03T05:28:57.724Z] info: Stopping web
[2018-08-03T05:28:57.725Z] info: Stopping bitcoind
[2018-08-03T05:29:02.105Z] error: uncaught exception: Error: number too large to retain precision - use readVarintBN
at BufferReader.readVarintNum (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferread
er.js:127:15)
at BufferReader.readVarLengthBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/buff
erreader.js:139:18)
at Function.Input.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/in
put/input.js:95:28)
at Transaction.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/trans
action.js:320:23)
at Transaction.fromBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:310:15)
at Transaction.fromString (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:520:8)
at Bitcoin._zmqTransactionHandler (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:647:8)
at exports.Socket. (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:713:12)
at emitThree (events.js:136:13)
at exports.Socket.emit (events.js:217:7)
[2018-08-03T05:29:02.106Z] error: Error: number too large to retain precision - use readVarintBN
at BufferReader.readVarintNum (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/bufferread
er.js:127:15)
at BufferReader.readVarLengthBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/encoding/buff
erreader.js:139:18)
at Function.Input.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/in
put/input.js:95:28)
at Transaction.fromBufferReader (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/trans
action.js:320:23)
at Transaction.fromBuffer (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:310:15)
at Transaction.fromString (/usr/local/lib/node_modules/zcash-bitcore-node/node_modules/zcash-bitcore-lib/lib/transaction/transaction
.js:520:8)
at Bitcoin._zmqTransactionHandler (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:647:8)
at exports.Socket. (/usr/local/lib/node_modules/zcash-bitcore-node/lib/services/bitcoind.js:713:12)
at emitThree (events.js:136:13)
at exports.Socket.emit (events.js:217:7)
[2018-08-03T05:29:02.106Z] info: Beginning shutdown
[2018-08-03T05:29:02.107Z] info: Stopping web
[2018-08-03T05:29:02.107Z] info: Stopping bitcoind
[2018-08-03T05:29:02.408Z] warn: ZMQ disconnect: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.409Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:2823429:02.409Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234
[2018-08-03T05:29:02.910Z] warn: ZMQ connection delay: tcp://127.0.0.1:28234

I am in last stage towards zcash sync success . Please, anyone could help me to sort this ??

Given there have been a lot of updates lately can you give some more info to help diagnose? Are you running zcash-bitcore-node from here? https://github.com/zcash-hackworks/bitcore-node-zcash as I believe this is the latest version. Also, are you running on mainnet or testnet (the latter has Sapling activated which is why it is relevant).