You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error: Error syncing incoming transactions offset is not uint [RangeError: offset is not uint] #395
error: Error syncing incoming transactions offset is not uint [RangeError: offset is not uint]
index.js?b639:1097 Uncaught (in promise) RangeError: offset is not uint
at checkOffset (index.js?b639:1097:1)
at Uint8Array.readUInt32BE (index.js?b639:1157:1)
at eval (sortTransactions.js?670d:35:1)
at Array.forEach (<anonymous>)
at eval (sortTransactions.js?670d:34:1)
at Array.sort (<anonymous>)
at eval (sortTransactions.js?670d:31:1)
at Array.reduce (<anonymous>)
at sortTransactions (sortTransactions.js?670d:30:1)
at ChainStore.importAddress (importAddress.js?2682:27:1)
/*
* Need to make sure that buffer isn't trying to write out of bounds.
*/
function checkOffset (offset, ext, length) {
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
}
npm i browserify-zlib
npm i stream-http
npm i https-browserify
npm i os-browserify
npm i path-browserify
npm i fs
npm i util
npm i stream-browserify
npm i assert
npm i crypto-browserify
npm i url
npm i browserify-zlib
npm i stream-http
npm i https-browserify
npm i os-browserify
npm i path-browserify
npm i fs
npm i util
npm i stream-browserify
npm i assert
npm i crypto-browserify
npm i url
error: Error syncing incoming transactions offset is not uint [RangeError: offset is not uint]
index.js:1097 Uncaught (in promise) RangeError: offset is not uint
at X (index.js:1097:47)
at Uint8Array.E.readUInt32BE (index.js:1157:18)
at sortTransactions.js:35:30
at Array.forEach (<anonymous>)
at sortTransactions.js:34:18
at Array.sort (<anonymous>)
at sortTransactions.js:31:36
at Array.reduce (<anonymous>)
at e (sortTransactions.js:30:6)
at o.n [as importAddress] (importAddress.js:27:32)
X @ index.js:1097
E.readUInt32BE @ index.js:1157
(anonymous) @ sortTransactions.js:35
(anonymous) @ sortTransactions.js:34
(anonymous) @ sortTransactions.js:31
e @ sortTransactions.js:30
n @ importAddress.js:27
(anonymous) @ addPathsToStore.js:16
e @ addPathsToStore.js:13
(anonymous) @ importTransactions.js:37
A.exports @ importTransactions.js:20
s @ processChunks.js:37
(anonymous) @ onStreamData.js:7
processJob @ Queue.js:41
processNext @ Queue.js:35
t @ Queue.js:52
I @ events.js:243
s.emit @ events.js:153
enqueueJob @ Queue.js:23
n @ onStreamData.js:7
(anonymous) @ syncUpToTheGapLimit.js:55
(anonymous) @ index.js:49
qA @ index.js:34
zA @ index.js:33
Mt @ index.js:41
pt.O @ index.js:40
pt.K @ index.js:40
VM383:1 POST http://54.187.50.120:3000/org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs 504
VM383:1 POST http://34.215.144.176:3000/org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs 504
VM383:1 POST http://34.211.49.3:3000/org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs
VM383:1 POST http://35.166.29.155:3000/org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs 504 (Gateway Time-out)
on testnet during identity creation using webpack 4.
Sometimes I get it with dashmate and webpack 4 but if I refresh the walelt often enough the error goes away and I can use the sdk as expect 🤔
Activity
mayoreee commentedon May 18, 2022
Workaround 1
For using
Dash SDKwithWebpack 5vue.config.jsto:npm run servemayoreee commentedon May 18, 2022
Workaround 2
For using
Dash SDKwithVitevue.config.jsto:npm run devmarkin-io commentedon May 20, 2022
You can also refer to the weback config we are using to bundle SDK for karma tests https://github.com/dashevo/platform/blob/v0.23-dev/packages/platform-test-suite/karma.conf.js#L34
dashameter commentedon May 22, 2022
I'm getting the error:
on testnet during identity creation using webpack 4.
Sometimes I get it with dashmate and webpack 4 but if I refresh the walelt often enough the error goes away and I can use the sdk as expect 🤔
dashameter commentedon Jun 16, 2022
retest passed [email protected]