lightninglabs / lightning-node-connect

MIT License
78 stars 22 forks source link

Bump lnd and golang versions #74

Closed guggero closed 1 year ago

guggero commented 1 year ago

This PR isn't needed for packaging a new litd version, so no hurry with it. We should test this well first, since there could be some hidden changes in the updated wasm_exec.js from the Golang 1.19.7 release. And this might require a change in the Terminal Web repo as well.

jamaljsr commented 1 year ago

When running make example-server then clicking on the "Initiate the client" button on the web page, I'm getting the following error in the browser console.

Error running wasm client: field Chain must be set to create chainrpc
13:37:17.836 wasm_exec.js:170 exit code: 1
exit @ wasm_exec.js:170
runtime.wasmExit @ wasm_exec.js:294
$func1198 @ wasm-client.wasm:0x116acc
$func1186 @ wasm-client.wasm:0x1168fa
$func1094 @ wasm-client.wasm:0x10faf0
$func2566 @ wasm-client.wasm:0x229f98
$func33602 @ wasm-client.wasm:0x1d8cd8b
$func33581 @ wasm-client.wasm:0x1d83629
$func682 @ wasm-client.wasm:0xa93da
$func1183 @ wasm-client.wasm:0x1168b3
$run @ wasm-client.wasm:0x116886
run @ wasm_exec.js:596
startInstance @ (index):81
(anonymous) @ (index):87
Promise.then (async)
initClient @ (index):86
onclick @ (index):285
13:37:17.958 (index):76 Uncaught TypeError: Cannot read properties of undefined (reading 'wasmClientStatus')
    at connStatus ((index):76:44)
guggero commented 1 year ago

I bumped the litd version and tested it against my 0.9.0 mainnet one, seems to work now.