I'm running into the follow Lucid error from Week4 of Plutus pioneer program:
/workspace/code/Week04/lecture# deno run -A lucid-vesting.ts
error: Uncaught (in promise) TypeError: Cannot convert undefined to a BigInt
keyDeposit: BigInt(result.key_deposit),
^
at BigInt (<anonymous>)
at Blockfrost.getProtocolParameters (https://deno.land/x/[email protected]/src/provider/blockfrost.ts:39:19)
at async Function.new (https://deno.land/x/[email protected]/src/lucid/lucid.ts:56:34)
at async file:///workspace/code/Week04/lecture/lucid-vesting.ts:19:15
I tried updating the import to use the latest Lucid version, but it didn't help:
from "https://deno.land/x/[email protected]/mod.ts"
I'm not sure what these type errors mean