Skip to content

Commit 984ca25

Browse files
authored
Merge pull request #165 from multiversx/merge-main-into-rc-barnard-2025.06.26
Merge main into rc barnard 2025.06.26
2 parents c9508cb + 82d0f16 commit 984ca25

File tree

3 files changed

+124
-24
lines changed

3 files changed

+124
-24
lines changed

.github/workflows/codeql.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL Advanced"
13+
14+
on:
15+
push:
16+
branches: [ "main", "rc/*", "feat/*" ]
17+
pull_request:
18+
branches: [ "main", "rc/*", "feat/*" ]
19+
schedule:
20+
- cron: '18 9 * * 3'
21+
22+
jobs:
23+
analyze:
24+
name: Analyze (${{ matrix.language }})
25+
# Runner size impacts CodeQL analysis time. To learn more, please see:
26+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
27+
# - https://gh.io/supported-runners-and-hardware-resources
28+
# - https://gh.io/using-larger-runners (GitHub.com only)
29+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30+
runs-on: ubuntu-latest
31+
permissions:
32+
# required for all workflows
33+
security-events: write
34+
35+
# required to fetch internal or private CodeQL packs
36+
packages: read
37+
38+
# only required for workflows in private repositories
39+
actions: read
40+
contents: read
41+
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
include:
46+
- language: actions
47+
build-mode: none
48+
- language: go
49+
build-mode: autobuild
50+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
51+
# Use `c-cpp` to analyze code written in C, C++ or both
52+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
53+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
54+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
55+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
56+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
57+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
58+
steps:
59+
- name: Checkout repository
60+
uses: actions/checkout@v4
61+
62+
# Add any setup steps before running the `github/codeql-action/init` action.
63+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
64+
# or others). This is typically only required for manual builds.
65+
# - name: Setup runtime (example)
66+
# uses: actions/setup-example@v1
67+
68+
# Initializes the CodeQL tools for scanning.
69+
- name: Initialize CodeQL
70+
uses: github/codeql-action/init@v3
71+
with:
72+
languages: ${{ matrix.language }}
73+
build-mode: ${{ matrix.build-mode }}
74+
# If you wish to specify custom queries, you can do so here or in a config file.
75+
# By default, queries listed here will override any specified in a config file.
76+
# Prefix the list here with "+" to use these queries and those in the config file.
77+
78+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
79+
# queries: security-extended,security-and-quality
80+
81+
# If the analyze step fails for one of the languages you are analyzing with
82+
# "We were unable to automatically build your code", modify the matrix above
83+
# to set the build mode to "manual" for that language. Then modify this step
84+
# to build your code.
85+
# ℹ️ Command-line programs to run using the OS shell.
86+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
87+
- if: matrix.build-mode == 'manual'
88+
shell: bash
89+
run: |
90+
echo 'If you are using a "manual" build mode for one or more of the' \
91+
'languages you are analyzing, replace this with the commands to build' \
92+
'your code, for example:'
93+
echo ' make bootstrap'
94+
echo ' make release'
95+
exit 1
96+
97+
- name: Perform CodeQL Analysis
98+
uses: github/codeql-action/analyze@v3
99+
with:
100+
category: "/language:${{matrix.language}}"

go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ require (
1212
github.com/gogo/protobuf v1.3.2
1313
github.com/gorilla/schema v1.2.0
1414
github.com/gorilla/websocket v1.5.3
15-
github.com/multiversx/mx-chain-core-go v1.2.25-0.20250218161123-121084ae9840
16-
github.com/multiversx/mx-chain-crypto-go v1.2.13-0.20250218161752-9482d9a22234
17-
github.com/multiversx/mx-chain-go v1.8.12-0.20250220145411-2fdffff6c2c7
18-
github.com/multiversx/mx-chain-logger-go v1.0.16-0.20250218161408-6a0c19d0da48
19-
github.com/multiversx/mx-chain-storage-go v1.0.20-0.20250218162234-85e60acebb43
20-
github.com/multiversx/mx-sdk-go v1.4.9-0.20250220145554-f6e0bbddf7cf
15+
github.com/multiversx/mx-chain-core-go v1.4.0
16+
github.com/multiversx/mx-chain-crypto-go v1.3.0
17+
github.com/multiversx/mx-chain-go v1.10.0
18+
github.com/multiversx/mx-chain-logger-go v1.1.0
19+
github.com/multiversx/mx-chain-storage-go v1.1.0
20+
github.com/multiversx/mx-sdk-go v1.5.0
2121
github.com/multiversx/twofactor v1.0.1
2222
github.com/prometheus/client_model v0.6.1
2323
github.com/prometheus/common v0.62.0
@@ -63,8 +63,8 @@ require (
6363
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
6464
github.com/mr-tron/base58 v1.2.0 // indirect
6565
github.com/multiversx/concurrent-map v0.1.4 // indirect
66-
github.com/multiversx/mx-chain-communication-go v1.1.2-0.20250218164645-1f6964baffbe // indirect
67-
github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20250218162215-88938774627c // indirect
66+
github.com/multiversx/mx-chain-communication-go v1.3.0 // indirect
67+
github.com/multiversx/mx-chain-vm-common-go v1.6.0 // indirect
6868
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6969
github.com/onsi/gomega v1.25.0 // indirect
7070
github.com/pborman/uuid v1.2.1 // indirect

go.sum

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -303,22 +303,22 @@ github.com/multiformats/go-varint v0.0.7 h1:sWSGR+f/eu5ABZA2ZpYKBILXTTs9JWpdEM/n
303303
github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOELpZAu9eioSos/OU=
304304
github.com/multiversx/concurrent-map v0.1.4 h1:hdnbM8VE4b0KYJaGY5yJS2aNIW9TFFsUYwbO0993uPI=
305305
github.com/multiversx/concurrent-map v0.1.4/go.mod h1:8cWFRJDOrWHOTNSqgYCUvwT7c7eFQ4U2vKMOp4A/9+o=
306-
github.com/multiversx/mx-chain-communication-go v1.1.2-0.20250218164645-1f6964baffbe h1:cgaCosslTU6qqVJ3r4+xMfNudGjEaPuc6rIVTIxuSqo=
307-
github.com/multiversx/mx-chain-communication-go v1.1.2-0.20250218164645-1f6964baffbe/go.mod h1:Em49dwv2INN13+ledsUYFNxvkdNKxbOgTxXS8gmmHyw=
308-
github.com/multiversx/mx-chain-core-go v1.2.25-0.20250218161123-121084ae9840 h1:rwIljKJpbNLWNBj/oMdcbCKU910JytOXJoBqDYnfres=
309-
github.com/multiversx/mx-chain-core-go v1.2.25-0.20250218161123-121084ae9840/go.mod h1:IO+vspNan+gT0WOHnJ95uvWygiziHZvfXpff6KnxV7g=
310-
github.com/multiversx/mx-chain-crypto-go v1.2.13-0.20250218161752-9482d9a22234 h1:NNI7kYxzsq+4mTPSUJo0cK1+iPxjUX+gRJDaBRwEQ7M=
311-
github.com/multiversx/mx-chain-crypto-go v1.2.13-0.20250218161752-9482d9a22234/go.mod h1:QZAw2bZcOxGQRgYACTrmP8pfTa3NyxENIL+00G6nM5E=
312-
github.com/multiversx/mx-chain-go v1.8.12-0.20250220145411-2fdffff6c2c7 h1:3UQyAu646rvXoNClmJuGP1jA/OLJb0XEqR2Bh85Z9nU=
313-
github.com/multiversx/mx-chain-go v1.8.12-0.20250220145411-2fdffff6c2c7/go.mod h1:I5QVFaXxwaU362OZYPuFI0AVIQk61FuqT2UGbVML530=
314-
github.com/multiversx/mx-chain-logger-go v1.0.16-0.20250218161408-6a0c19d0da48 h1:Of8RfTBNqJMvfWrDEpAkCAmNjYciM/Hul+yECQMBSHY=
315-
github.com/multiversx/mx-chain-logger-go v1.0.16-0.20250218161408-6a0c19d0da48/go.mod h1:PZMaAr6nhEWgOV04JKBwFNrws0gvHzHW0WaeqnBlGlc=
316-
github.com/multiversx/mx-chain-storage-go v1.0.20-0.20250218162234-85e60acebb43 h1:gmd10vRDOK3QJ7njD/iafV/uaNXl/6QEZf+s+CH9k4c=
317-
github.com/multiversx/mx-chain-storage-go v1.0.20-0.20250218162234-85e60acebb43/go.mod h1:tTVMcXx0UWdMymMv3N8b1D1P1XSQwfyGK6xwMlRoONo=
318-
github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20250218162215-88938774627c h1:4L3SY1so6MwfmfO7+MGOhGtDxhVW5PtW6JG48sZmHNE=
319-
github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20250218162215-88938774627c/go.mod h1:NGcFCdOnbpEdk042ixTgD6xavRFQ7ap0z3kBhTXKlDQ=
320-
github.com/multiversx/mx-sdk-go v1.4.9-0.20250220145554-f6e0bbddf7cf h1:TLDTXKzEdiRUGHgTg8Xxtu+aAkpkPzix8k/cUBHW2bQ=
321-
github.com/multiversx/mx-sdk-go v1.4.9-0.20250220145554-f6e0bbddf7cf/go.mod h1:PAcljO4AcNpYlpOPncm34IS10HNiOcwZh9L0VJNvx6k=
306+
github.com/multiversx/mx-chain-communication-go v1.3.0 h1:ziNM1dRuiR/7al2L/jGEA/a/hjurtJ/HEqgazHNt9P8=
307+
github.com/multiversx/mx-chain-communication-go v1.3.0/go.mod h1:gDVWn6zUW6aCN1YOm/FbbT5MUmhgn/L1Rmpl8EoH3Yg=
308+
github.com/multiversx/mx-chain-core-go v1.4.0 h1:p6FbfCzvMXF54kpS0B5mrjNWYpq4SEQqo0UvrMF7YVY=
309+
github.com/multiversx/mx-chain-core-go v1.4.0/go.mod h1:IO+vspNan+gT0WOHnJ95uvWygiziHZvfXpff6KnxV7g=
310+
github.com/multiversx/mx-chain-crypto-go v1.3.0 h1:0eK2bkDOMi8VbSPrB1/vGJSYT81IBtfL4zw+C4sWe/k=
311+
github.com/multiversx/mx-chain-crypto-go v1.3.0/go.mod h1:nPIkxxzyTP8IquWKds+22Q2OJ9W7LtusC7cAosz7ojM=
312+
github.com/multiversx/mx-chain-go v1.10.0 h1:g0GhFbaZKY0bpaJEfocn8PzGU1XXpmoOkCP4hDWCPJU=
313+
github.com/multiversx/mx-chain-go v1.10.0/go.mod h1:OHMBudgQZ2MAO1GO9ScQMT8JCFoRiOK3/id4roAZIqI=
314+
github.com/multiversx/mx-chain-logger-go v1.1.0 h1:97x84A6L4RfCa6YOx1HpAFxZp1cf/WI0Qh112whgZNM=
315+
github.com/multiversx/mx-chain-logger-go v1.1.0/go.mod h1:K9XgiohLwOsNACETMNL0LItJMREuEvTH6NsoXWXWg7g=
316+
github.com/multiversx/mx-chain-storage-go v1.1.0 h1:M1Y9DqMrJ62s7Zw31+cyuqsnPIvlG4jLBJl5WzeZLe8=
317+
github.com/multiversx/mx-chain-storage-go v1.1.0/go.mod h1:o6Jm7cjfPmcc6XpyihYWrd6sx3sgqwurrunw3ZrfyxI=
318+
github.com/multiversx/mx-chain-vm-common-go v1.6.0 h1:M2zmf/ptEINciWxYCPLIkwOMTvvzWjELYYB+0MMQ5Gw=
319+
github.com/multiversx/mx-chain-vm-common-go v1.6.0/go.mod h1:Lc7r4VDPYRDS0CVIaWAoLtf3YQn6PZEYHv4QtaOE2Z0=
320+
github.com/multiversx/mx-sdk-go v1.5.0 h1:6qHUHJrO/3gTGX1eeFl+A4raq9Af5S2k1zW1KTwAYkE=
321+
github.com/multiversx/mx-sdk-go v1.5.0/go.mod h1:/2ifRoLX22YsKOc/OR/rkVWg3KRF6xGKT1XvivX+/Yc=
322322
github.com/multiversx/twofactor v1.0.1 h1:H3Ch2lS8M6pq+wsbAv9X56IpHd5SlX3HMhcnshz5MYI=
323323
github.com/multiversx/twofactor v1.0.1/go.mod h1:7wA1sW11IFufY8BWiLbZ3o5rW2rB2iIXIPDD4alXjy4=
324324
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=

0 commit comments

Comments
 (0)