Skip to content

Commit 2ba300d

Browse files
committed
multi: bump go version to 1.21
This includes an upgrade to the wasm_exec.js file in order to prevent runtime errors in a js environment.
1 parent fa60171 commit 2ba300d

File tree

10 files changed

+218
-161
lines changed

10 files changed

+218
-161
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
# go needs absolute directories, using the $HOME variable doesn't work here.
1717
GOCACHE: /home/runner/work/go/pkg/build
1818
GOPATH: /home/runner/work/go
19-
GO_VERSION: 1.19.7
19+
GO_VERSION: 1.21
2020

2121
jobs:
2222
########################

Dockerfile-wasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Get golang 1.19 as a base image
2-
FROM golang:1.19 as builder
1+
#Get golang 1.21 as a base image
2+
FROM golang:1.21 as builder
33

44
#Define the working directory in the container
55
WORKDIR /app

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document describes the steps needed to release a new version of LNC binarie
66

77
1. Android Studio with Android SDK (API level 16 or newer)
88
2. Xcode (latest version)
9-
3. Go v1.19.8 or newer
9+
3. Go v1.21.0 or newer
1010

1111
### Build Release Binaries
1212

cmd/wasm-client/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@ replace github.com/lightninglabs/lightning-node-connect/hashmailrpc => ../../has
196196
// taproot-assets dependency to function properly.
197197
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.30.0-hex-display
198198

199-
go 1.19
199+
go 1.21

cmd/wasm-client/go.sum

Lines changed: 41 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)