Closed billkirschner closed 5 months ago
Make sure Kupo is fully sync'ed and that you are running Kupo v2.5 and Ogmios v5.6.0 (latest versions don't seem to work for me.. maybe Lucid doesn't support them yet ?)
Running Kupo v2.4 from Demeter and Ogmios v.5.6.0, also from Demeter, both on Mainnet. Did not see an option for Kupo v2.5. On Demeter Kupo shows sync% at 97.85, so I will wait that out and try when it hits 100%. Thanks for the very quick response.
Yep, same issue. Kupo on demeter is showing 97.83% sync
It looks like Demeter has fixed the issue and kupo is synced again
Thanks for all the comments! Kupo is synced now, but when I use deno task cli address or deno task cli mine I get the following error:
error: Uncaught (in promise) SyntaxError: Unexpected token '<', "
<h"... is not valid JSON
const result = await fetch(
^
at parse (
Any idea what I am doing wrong?
Finally started mining, but it seems to hang and then I get this error:
Task cli deno run --allow-all miner/main.ts "mine" Mining...
error: Uncaught (in promise) Error: Could not serialize the data: Error: Could not serialize the data: RangeError: offset is out of bounds throw new Error("Could not serialize the data: " + error); ^ at serialize (https://deno.land/x/lucid@0.10.1/src/plutus/data.ts:302:13) at Object.to (https://deno.land/x/lucid@0.10.1/src/plutus/data.ts:306:16) at Command.actionHandler (file:///home/bk/Miners/fortuna/miner/main.ts:96:47) at eventLoopTick (ext:core/01_core.js:183:11) at async Command.execute (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1948:7) at async Command.parseCommand (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1780:14) at async file:///home/bk/Miners/fortuna/miner/main.ts:339:1
Any ideas?
Double check your versions to see if they match our package.lock
Also having this error sporadically
Hi. Does anyone know what this error means?
error: Uncaught (in promise) TypeError: utxos.map is not a function return Promise.all((utxos as any).map(async (utxo: any) =>
Hi. Does anyone know what this error means?
error: Uncaught (in promise) TypeError: utxos.map is not a function return Promise.all((utxos as any).map(async (utxo: any) =>
Likely connection issues with Kupo.
Im getting this error when trying address and mine command, does it mean I have misspelled something along the way? feels like I'm missing something. (I was able to mine for a while, then tried the node.js miner and mined for a bit too then tried goign back to the deno one and now I can't start any)
SyntaxError: Unexpected token '<', "
<h"... is not valid JSON
at parse (
Maybe your Kupo instance died?
I was mining for a couple of days and now it's stopped working. I cannot even query the address with 'deno task cli address' i'm getting this
deno task cli address -b
Task cli deno run --allow-all miner/main.ts "address" "-b"
error: Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
const result = await fetch(${this.url}/epochs/latest/parameters
,
The -b flag allows for using blockfrost API this was setup by R||Riley
I have 50,000 request available as i'm using the free option.
My deno version is v8 11.6.189.12 typescript 5.1.6
Thanks for any assistance.
Getting this error when attempting to mine, I have all the requirements, built a wallet, can see the address, even funded the wallet, which I can see on chain but deno task cli address shows a 0 balance for the same wallet. Running on linux.
When I try to mine (deno task cli mine) I get:
Task cli deno run --allow-all miner/main.ts "mine" error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'datum') const validatorState = validatorOutRef.datum!; ^ at Command.actionHandler (file:///home/bk/Miners/fortuna/miner/main.ts:62:44) at eventLoopTick (ext:core/01_core.js:183:11) at async Command.execute (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1948:7) at async Command.parseCommand (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1780:14) at async file:///home/bk/Miners/fortuna/miner/main.ts:339:1