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
In the version of node being v20.18.1, using 0g-ts-sdk to upload files results in an error (the code and package.json are shown above). The error is as follows:
root@vmi2255799:~/Js0gStorageClient# node index.js
File Root Hash: 0x29a074e29e9392790f965951a7c782e74e2feef6a98f005820b820aa4179ce97
111111111
First selected node status : {
connectedPeers: 9,
logSyncHeight: 2188293,
logSyncBlock: '0x586da5e8000be5785efead90f456def78fd544e8f0b43e37ee61e201cd4fb88c',
nextTxSeq: 185679,
networkIdentity: {
chainId: 16600,
flowAddress: '0x0460aa47b41a66694c0a73f667a1b795a5ed3556',
p2pProtocolVersion: { major: 0, minor: 3, build: 1 }
}
}
Selected nodes: [
StorageNode {
url: 'https://rpc1-storage-testnet-standard.0g.ai',
timeout: 30000,
retry: 3
}
]
Error: url.clone is not a function
The text was updated successfully, but these errors were encountered:
node -v: v20.18.1
In the version of node being v20.18.1, using 0g-ts-sdk to upload files results in an error (the code and package.json are shown above). The error is as follows:
The text was updated successfully, but these errors were encountered: