Skip to content

Commit 579a5a9

Browse files
authored
Merge pull request #6511 from multiversx/update_go_1.22
Update go 1.23
2 parents d41a6c2 + 5b2d632 commit 579a5a9

File tree

31 files changed

+415
-281
lines changed

31 files changed

+415
-281
lines changed

.github/workflows/build_and_run_chain_simulator_and_execute_system_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ jobs:
9898
echo "mx-chain-simulator-go target branch: ${{ env.MX_CHAIN_SIMULATOR_TARGET_BRANCH }}"
9999
echo "mx-chain-testing-suite target branch: ${{ env.MX_CHAIN_TESTING_SUITE_TARGET_BRANCH }}"
100100
101-
- name: Set up Go 1.20.7
102-
uses: actions/setup-go@v3
101+
- name: Set up Go 1.23.6
102+
uses: actions/setup-go@v5
103103
with:
104-
go-version: 1.20.7
104+
go-version: 1.23.6
105105
id: go
106106

107107
- name: Checkout mx-chain-go

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
runs-on: ${{ matrix.runs-on }}
1414
name: Build
1515
steps:
16-
- name: Set up Go 1.20.7
17-
uses: actions/setup-go@v3
16+
- name: Set up Go 1.23.6
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.20.7
19+
go-version: 1.23.6
2020
id: go
2121

2222
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Get dependencies
2626
run: |

.github/workflows/check-cli-md.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on: ${{ matrix.runs-on }}
1616
name: Check CLI.md
1717
steps:
18-
- name: Set up Go 1.20.7
19-
uses: actions/setup-go@v3
18+
- name: Set up Go 1.23.6
19+
uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.20.7
21+
go-version: 1.23.6
2222
id: go
2323

2424
- name: Check out code into the Go module directory
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
- name: Get dependencies
2828
run: |

.github/workflows/code-coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
runs-on: ${{ matrix.runs-on }}
1818
name: Build
1919
steps:
20-
- name: Set up Go 1.20.7
21-
uses: actions/setup-go@v3
20+
- name: Set up Go 1.23.6
21+
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.20.7
23+
go-version: 1.23.6
2424
id: go
2525

2626
- name: Check out code into the Go module directory
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

2929
- name: Get dependencies
3030
run: |

.github/workflows/create_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
runs-on: ${{ matrix.runs-on }}
2020
name: Build
2121
steps:
22-
- name: Set up Go 1.20.7
23-
uses: actions/setup-go@v3
22+
- name: Set up Go 1.23.6
23+
uses: actions/setup-go@v5
2424
with:
25-
go-version: 1.20.7
25+
go-version: 1.23.6
2626
id: go
2727

2828
- name: Check out code into the Go module directory
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: "0"
3232

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
name: golangci linter
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/setup-go@v3
18+
- uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.20.7
21-
- uses: actions/checkout@v3
20+
go-version: 1.23.6
21+
- uses: actions/checkout@v4
2222
- name: golangci-lint
23-
uses: golangci/golangci-lint-action@v3
23+
uses: golangci/golangci-lint-action@v6
2424
with:
2525
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
26-
version: v1.53.2
26+
version: v1.64.5
2727

2828
# Optional: working directory, useful for monorepos
2929
# working-directory: somedir

cmd/node/config/enableEpochs.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@
345345
# FixBackTransferOPCODEEnableEpoch represents the epoch when the fix for back transfers opcode will be enabled
346346
FixBackTransferOPCODEEnableEpoch = 2
347347

348+
# ValidationOnGobDecodeEnableEpoch represents the epoch when validation on GobDecode will be taken into account
349+
ValidationOnGobDecodeEnableEpoch = 2
350+
348351
# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
349352
BLSMultiSignerEnableEpoch = [
350353
{ EnableEpoch = 0, Type = "no-KOSK" },

cmd/node/config/fullArchiveP2P.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
Type = "default autoscale" #available options "default autoscale", "infinite", "default with manual scale".
2929
ManualSystemMemoryInMB = 0 # not taken into account if the type is not "default with manual scale"
3030
ManualMaximumFD = 0 # not taken into account if the type is not "default with manual scale"
31+
# Ipv4ConnLimit = [] default values will be used
32+
# Ipv6ConnLimit = [] default values will be used
3133

3234
# P2P peer discovery section
3335

cmd/node/config/p2p.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
Type = "default autoscale" #available options "default autoscale", "infinite", "default with manual scale".
2929
ManualSystemMemoryInMB = 0 # not taken into account if the type is not "default with manual scale"
3030
ManualMaximumFD = 0 # not taken into account if the type is not "default with manual scale"
31+
# Ipv4ConnLimit = [] default values will be used, details here: https://github.com/libp2p/go-libp2p/pull/2872
32+
# Ipv6ConnLimit = [] default values will be used, details here: https://github.com/libp2p/go-libp2p/pull/2872
3133

3234
# P2P peer discovery section
3335

cmd/seednode/config/p2p.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
Type = "default with manual scale"
2828
ManualSystemMemoryInMB = 65536 # pretend that the host running the seeder has more RAM so it can handle more connections
2929
ManualMaximumFD = 1048576
30+
# Ipv4ConnLimit = [] default values will be used
31+
# Ipv6ConnLimit = [] default values will be used
3032

3133
# P2P peer discovery section
3234

0 commit comments

Comments
 (0)