Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
a19f5c7
Update go to 1.22
sstanculeanu Jul 19, 2024
4564a3b
update mx chain go
miiu96 Nov 7, 2024
9134392
Merge pull request #88 from multiversx/update-mx-chain-go-barnard
miiu96 Nov 7, 2024
04d6ce9
update barnard
miiu96 Nov 21, 2024
fb3313f
update deps to latest rc barnard
sstanculeanu Nov 21, 2024
ce645bc
update proxy as well
sstanculeanu Nov 21, 2024
bc726f3
Merge pull request #95 from multiversx/update_deps
sstanculeanu Nov 21, 2024
326de82
latest commit hash
miiu96 Nov 27, 2024
ed3f462
Merge branch 'rc/barnard' into update-barnard
miiu96 Nov 27, 2024
ee3c009
fixes after merge
miiu96 Nov 27, 2024
a1e3d19
Merge branch 'main' into rc/barnard
miiu96 Nov 27, 2024
c02a800
Merge pull request #96 from multiversx/merge-main-in-barnard
miiu96 Nov 27, 2024
1499098
Merge branch 'rc/barnard' into update-barnard
miiu96 Nov 27, 2024
ec07de3
Set latest tag only for released release
danidrasovean Nov 27, 2024
f045663
Set latest tag only for released release
danidrasovean Nov 27, 2024
5fb1c75
Fix workflow
danidrasovean Nov 27, 2024
9085790
Merge pull request #94 from multiversx/update-barnard
miiu96 Dec 3, 2024
b77c094
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu Jan 29, 2025
66cc307
updated mx-chain-go after merge
sstanculeanu Jan 29, 2025
bc49db3
Merge pull request #104 from multiversx/merge_main_into_rc_barnard
sstanculeanu Jan 29, 2025
bfc715b
cleanup
miiu96 Jan 29, 2025
d2524dc
Merge pull request #105 from multiversx/remove-testing-suite
miiu96 Jan 30, 2025
303cb10
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu Feb 17, 2025
b734162
fixes after merge
sstanculeanu Feb 17, 2025
d06da43
Merge pull request #111 from multiversx/merge_main_into_rc_barnard_20…
sstanculeanu Feb 18, 2025
d742c28
updated go to 1.23.6
sstanculeanu Feb 18, 2025
af620be
Merge branch 'rc/barnard' of https://github.com/multiversx/mx-chain-s…
sstanculeanu Feb 18, 2025
653e8da
go mod tidy after merge
sstanculeanu Feb 18, 2025
eee6629
fix pipelines running with invalid go
sstanculeanu Feb 19, 2025
1869f59
updated readme
sstanculeanu Feb 19, 2025
96505d7
updated readme
sstanculeanu Feb 20, 2025
584c728
updated mx-chain-go
sstanculeanu Feb 20, 2025
af19feb
fix after review
sstanculeanu Feb 28, 2025
dab7af1
removed all sudo from makefile
sstanculeanu Feb 28, 2025
5723c67
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu Feb 28, 2025
d5bda1d
Merge pull request #115 from multiversx/merge_main_into_rc_barnard_20…
sstanculeanu Feb 28, 2025
003a3f8
Merge branch 'rc/barnard' into update_go_1.22
sstanculeanu Feb 28, 2025
c12adee
Merge pull request #62 from multiversx/update_go_1.22
sstanculeanu Feb 28, 2025
0a6d4a2
Merge branch 'main' into update-barnard-last-main
miiu96 Mar 26, 2025
1249b28
update go mod
miiu96 Mar 26, 2025
decbc5f
Merge pull request #128 from multiversx/update-barnard-last-main
miiu96 Mar 26, 2025
e6a43d7
latest proxy version
miiu96 May 29, 2025
96572bb
Merge pull request #142 from multiversx/latest-proxy-version
miiu96 May 29, 2025
3bae2cd
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu Jun 5, 2025
f34536e
updated go mod
sstanculeanu Jun 5, 2025
08f2157
Merge pull request #143 from multiversx/merge-main-into-barnard-2025.…
sstanculeanu Jun 5, 2025
4264d77
updated go mod
sstanculeanu Jun 19, 2025
5e209ee
Merge pull request #146 from multiversx/go_mod
sstanculeanu Jun 19, 2025
d6d97b4
latest barnard
miiu96 Jun 25, 2025
470408c
Merge pull request #147 from multiversx/latest-barnard-commit
miiu96 Jun 25, 2025
a84a51b
updated deps
sstanculeanu Jun 26, 2025
d58acb1
Merge pull request #148 from multiversx/update-deps
sstanculeanu Jun 26, 2025
292b8a3
Use a more explicit temp dir pattern.
andreibancioiu Jun 30, 2025
4ea6b2c
Merge pull request #149 from multiversx/tmp-dir-06-30
andreibancioiu Jun 30, 2025
f787bd6
updated deps
sstanculeanu Jul 8, 2025
1ecbcc1
updated deps
sstanculeanu Jul 8, 2025
a0cce4e
updated deps
sstanculeanu Jul 9, 2025
4eb1240
Merge pull request #150 from multiversx/fix-get-balance-opcode
sstanculeanu Jul 9, 2025
e46edfc
[email protected]
sstanculeanu Jul 16, 2025
517e7bc
Merge pull request #152 from multiversx/update-mxchaingo
sstanculeanu Jul 16, 2025
39fa3e2
Merge pull request #89 from multiversx/rc/barnard
sstanculeanu Jul 17, 2025
5465fe9
Fix deploy-docker platform matrix
danidrasovean Jul 23, 2025
98f5fdf
Merge pull request #153 from multiversx/fix-deploy-docker
sstanculeanu Jul 23, 2025
918c82c
[email protected]
sstanculeanu Jul 30, 2025
615e55d
Merge pull request #154 from multiversx/release-v1.10.5
sstanculeanu Jul 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Get dependencies
Expand Down Expand Up @@ -52,20 +52,44 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
- name: Extract metadata (tags, labels) for released releases
if: ${{ github.event.release.prerelease == false }}
id: meta_released
uses: docker/metadata-action@v5
with:
images: multiversx/chainsimulator

- name: Build and push Docker image
id: push
- name: Extract metadata (tags, labels) for prereleased releases
if: ${{ github.event.release.prerelease == true }}
id: meta_prereleased
uses: docker/metadata-action@v5
with:
images: multiversx/chainsimulator
tags: |
type=raw,value=${{ github.event.release.tag_name }}
labels: |
type=raw,value=${{ github.event.release.name }}

- name: Build and push Docker image for released
if: ${{ github.event.release.prerelease == false }}
id: push_released
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: ${{ github.event_name == 'release' && github.event.action == 'published' }}
tags: ${{ steps.meta_released.outputs.tags }}
labels: ${{ steps.meta_released.outputs.labels }}

- name: Build and push Docker image for prereleased
if: ${{ github.event.release.prerelease == true }}
id: push_prereleased
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'release' && github.event.action == 'published' }}
tags: ${{ steps.meta_prereleased.outputs.tags }}
labels: ${{ steps.meta_prereleased.outputs.labels }}
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
name: golangci linter
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.7
go-version: 1.23.6
cache: false
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.57.2
version: v1.64.5

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Unit tests
run: |
go test ./...
2 changes: 1 addition & 1 deletion .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-multiple-instances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-vm-query-after-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.7 AS builder
FROM golang:1.23.6 AS builder


WORKDIR /multiversx
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Using the `cmd/chainsimulator` package as root, execute the following commands:
- install go dependencies: `go install`
- build executable: `go build -o chainsimulator`

Note: go version 1.20.* should be used to build the executable. Using version 1.21.* leads to build failures currently.
Note: go version 1.23.* should be used to build the executable.


## Launching the chainsimulator
Expand Down
3 changes: 2 additions & 1 deletion cmd/chainsimulator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (

const timeToAllowProxyToStart = time.Millisecond * 10
const overrideConfigFilesSeparator = ","
const tempDirPattern = "mx-chainsimulator-*"

var (
log = logger.GetOrCreate("chainsimulator")
Expand Down Expand Up @@ -164,7 +165,7 @@ func startChainSimulator(ctx *cli.Context) error {
apiConfigurator := api.NewFreePortAPIConfigurator(localRestApiInterface)
startTimeUnix := ctx.GlobalInt64(startTime.Name)

tempDir, err := os.MkdirTemp(os.TempDir(), "")
tempDir, err := os.MkdirTemp(os.TempDir(), tempDirPattern)
if err != nil {
return err
}
Expand Down
Loading
Loading