Skip to content

Commit 454b9e6

Browse files
committed
chore: update vulnerable packages
1 parent c997a37 commit 454b9e6

8 files changed

Lines changed: 72 additions & 58 deletions

File tree

docker-compose/lps/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 golang:1.22.8@sha256:0ca97f4ab335f4b284a5b8190980c7cdc21d320d529f2b643e8a8733a69bfb6b AS builder
1+
FROM --platform=linux/amd64 golang:1.23.7@sha256:cb45cf739cf6bc9eaeacf75d3cd7c157e7d39b757216d813d8115d026ee32e75 AS builder
22

33
ARG COMMIT_HASH
44
ARG COMMIT_TAG

docker-compose/powpeg/pegin/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ COPY --chown=root:root --chmod=444 reg1.key "$HOME/reg1.key"
3333
COPY --chown=root:root --chmod=444 regtest-fed.conf "$HOME/regtest-fed.conf"
3434
COPY --chown=root:root --chmod=444 regtest-fed.conf "/etc/rsk/node.conf"
3535

36-
RUN chmod 400 "$HOME/reg1.key" && chown 1000 "$HOME/reg1.key"
36+
RUN chmod 400 "$HOME/reg1.key" && chown 1001 "$HOME/reg1.key"
3737

38-
RUN mkdir -p "$HOME/.rsk"; chown 1000 "$HOME/.rsk"
39-
RUN mkdir -p "$HOME/logs"; chown 1000 "$HOME/logs"
38+
RUN mkdir -p "$HOME/.rsk"; chown 1001 "$HOME/.rsk"
39+
RUN mkdir -p "$HOME/logs"; chown 1001 "$HOME/logs"
4040

4141
WORKDIR "$HOME"
4242

docker-compose/powpeg/pegin/regtest-fed.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,12 @@ rpc {
104104
}
105105
]
106106
}
107+
108+
blockchain.config {
109+
consensusRules = {
110+
rskip97 = -1 # disable orchid difficulty drop
111+
rskipUMM = 1
112+
rskip144 = -1
113+
rskip351 = -1
114+
}
115+
}

docker-compose/powpeg/pegout/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ COPY --chown=root:root --chmod=444 reg2.key "$HOME/reg2.key"
3333
COPY --chown=root:root --chmod=444 regtest-fed.conf "$HOME/regtest-fed.conf"
3434
COPY --chown=root:root --chmod=444 regtest-fed.conf "/etc/rsk/node.conf"
3535

36-
RUN chmod 400 "$HOME/reg2.key" && chown 1000 "$HOME/reg2.key"
36+
RUN chmod 400 "$HOME/reg2.key" && chown 1001 "$HOME/reg2.key"
3737

38-
RUN mkdir -p "$HOME/.rsk"; chown 1000 "$HOME/.rsk"
39-
RUN mkdir -p "$HOME/logs"; chown 1000 "$HOME/logs"
38+
RUN mkdir -p "$HOME/.rsk"; chown 1001 "$HOME/.rsk"
39+
RUN mkdir -p "$HOME/logs"; chown 1001 "$HOME/logs"
4040

4141
WORKDIR "$HOME"
4242

docker-compose/powpeg/pegout/regtest-fed.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,12 @@ miner {
5353
enabled = false
5454
}
5555
}
56+
57+
blockchain.config {
58+
consensusRules = {
59+
rskip97 = -1 # disable orchid difficulty drop
60+
rskipUMM = 1
61+
rskip144 = -1
62+
rskip351 = -1
63+
}
64+
}

docker-compose/utils/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 golang:1.22.8@sha256:0ca97f4ab335f4b284a5b8190980c7cdc21d320d529f2b643e8a8733a69bfb6b AS builder
1+
FROM --platform=linux/amd64 golang:1.23.7@sha256:cb45cf739cf6bc9eaeacf75d3cd7c157e7d39b757216d813d8115d026ee32e75 AS builder
22

33
WORKDIR /code
44

go.mod

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/rsksmart/liquidity-provider-server
22

3-
go 1.22.8
3+
go 1.23.7
44

55
require (
66
github.com/awnumar/memguard v0.22.5
@@ -12,7 +12,8 @@ require (
1212
github.com/btcsuite/btcd/btcec/v2 v2.3.2
1313
github.com/btcsuite/btcd/btcutil v1.1.5
1414
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
15-
github.com/ethereum/go-ethereum v1.14.5
15+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
16+
github.com/ethereum/go-ethereum v1.14.13
1617
github.com/go-playground/validator/v10 v10.17.0
1718
github.com/gorilla/csrf v1.7.2
1819
github.com/gorilla/handlers v1.5.2
@@ -22,8 +23,8 @@ require (
2223
github.com/sirupsen/logrus v1.9.3
2324
github.com/stretchr/testify v1.10.0
2425
go.mongodb.org/mongo-driver v1.13.1
25-
golang.org/x/crypto v0.31.0
26-
golang.org/x/term v0.27.0
26+
golang.org/x/crypto v0.35.0
27+
golang.org/x/term v0.29.0
2728
gopkg.in/yaml.v3 v3.0.1
2829
)
2930

@@ -40,18 +41,19 @@ require (
4041
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect
4142
github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 // indirect
4243
github.com/aws/smithy-go v1.15.0 // indirect
43-
github.com/bits-and-blooms/bitset v1.10.0 // indirect
44+
github.com/bits-and-blooms/bitset v1.13.0 // indirect
4445
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
4546
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect
4647
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect
4748
github.com/consensys/bavard v0.1.13 // indirect
4849
github.com/consensys/gnark-crypto v0.12.1 // indirect
50+
github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c // indirect
4951
github.com/crate-crypto/go-kzg-4844 v1.0.0 // indirect
5052
github.com/davecgh/go-spew v1.1.1 // indirect
5153
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
5254
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
53-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
5455
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
56+
github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 // indirect
5557
github.com/felixge/httpsnoop v1.0.4 // indirect
5658
github.com/fsnotify/fsnotify v1.6.0 // indirect
5759
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
@@ -61,7 +63,7 @@ require (
6163
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
6264
github.com/google/uuid v1.3.0 // indirect
6365
github.com/gorilla/websocket v1.5.0 // indirect
64-
github.com/holiman/uint256 v1.2.4 // indirect
66+
github.com/holiman/uint256 v1.3.1 // indirect
6567
github.com/jmespath/go-jmespath v0.4.0 // indirect
6668
github.com/klauspost/compress v1.16.5 // indirect
6769
github.com/leodido/go-urn v1.2.4 // indirect
@@ -70,7 +72,7 @@ require (
7072
github.com/pmezard/go-difflib v1.0.0 // indirect
7173
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
7274
github.com/stretchr/objx v0.5.2 // indirect
73-
github.com/supranational/blst v0.3.11 // indirect
75+
github.com/supranational/blst v0.3.13 // indirect
7476
github.com/tklauser/go-sysconf v0.3.12 // indirect
7577
github.com/tklauser/numcpus v0.6.1 // indirect
7678
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
@@ -79,10 +81,10 @@ require (
7981
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
8082
github.com/yusufpapurcu/wmi v1.2.2 // indirect
8183
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
82-
golang.org/x/net v0.33.0 // indirect
83-
golang.org/x/sync v0.10.0 // indirect
84-
golang.org/x/sys v0.28.0 // indirect
85-
golang.org/x/text v0.21.0 // indirect
84+
golang.org/x/net v0.36.0 // indirect
85+
golang.org/x/sync v0.11.0 // indirect
86+
golang.org/x/sys v0.30.0 // indirect
87+
golang.org/x/text v0.22.0 // indirect
8688
google.golang.org/protobuf v1.35.1 // indirect
8789
rsc.io/tmplfunc v0.0.3 // indirect
8890
)

0 commit comments

Comments
 (0)