Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 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
6dc90ba
Merge pull request #110 from multiversx/merge_main_into_rc_andromeda_…
sstanculeanu Feb 18, 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
a8ea668
Update workflow to push both platforms under same tag
danidrasovean Mar 11, 2025
50b0418
Merge pull request #119 from multiversx/MX-16644-docker-multiarch
danidrasovean Mar 11, 2025
325a7a5
updated mx-chain-go to v1.8.12
sstanculeanu Mar 18, 2025
5aae5cf
Merge pull request #121 from multiversx/update_mx-chain-go_v1.8.12
sstanculeanu Mar 18, 2025
2e669bd
updated mx-chain-go
sstanculeanu Mar 26, 2025
ccd7340
wait less blocks when checking if tx is still pending
sstanculeanu Mar 26, 2025
1a6bcc6
Merge pull request #124 from multiversx/update_mx_chain_go
sstanculeanu Mar 26, 2025
b15f542
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu Mar 26, 2025
f3b89b1
Merge pull request #127 from multiversx/merge_main_into_andromeda
sstanculeanu Mar 26, 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
5d476a9
update mx chain go
sstanculeanu Mar 27, 2025
a6b5b65
Merge pull request #129 from multiversx/update_mx_chain_go
sstanculeanu Mar 27, 2025
46db6b9
update mx chain go
sstanculeanu Mar 28, 2025
ee8a99b
Merge pull request #131 from multiversx/updated_mx_chain_go
miiu96 Mar 28, 2025
cb59ae7
update go mod
miiu96 Mar 28, 2025
c401e67
fixes
miiu96 Mar 28, 2025
e3b3e1c
latest version
miiu96 Mar 31, 2025
1327daa
small fix
miiu96 Apr 1, 2025
1069f61
update
miiu96 Apr 1, 2025
a512c3c
Merge pull request #132 from multiversx/new-mx-chain-go-andromeda
miiu96 Apr 2, 2025
5458cf4
test for Andromeda with patch1
sstanculeanu Apr 7, 2025
2762e52
last andromeda commit
miiu96 Apr 14, 2025
a469407
latest version
miiu96 Apr 16, 2025
6bd75e3
fix unit tests
miiu96 Apr 16, 2025
6f365f0
andromeda patch 2
sstanculeanu May 2, 2025
fa1c5ec
new node version
miiu96 May 15, 2025
5b0493e
Merge pull request #139 from multiversx/update-v1.8.13
miiu96 May 15, 2025
27d9515
updated go mod
sstanculeanu May 21, 2025
84f2769
Merge pull request #138 from multiversx/andromeda-patch2
sstanculeanu May 21, 2025
5ccc06d
Merge branch 'main' of https://github.com/multiversx/mx-chain-simulat…
sstanculeanu May 21, 2025
00a516b
Merge pull request #141 from multiversx/merge-main-into-rc-andromeda
sstanculeanu May 21, 2025
9f1a714
Merge pull request #126 from multiversx/rc/andromeda
sstanculeanu May 21, 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
181c750
Merge branch 'rc/barnard' into MX-16890-merge-barnard-sovereign
mariusmihaic Jun 6, 2025
7249815
FIX: After merge: try to bring latest sovereign modules in go mod
mariusmihaic Jun 10, 2025
6e4f4a6
FIX: Actual version of replace
mariusmihaic Jun 10, 2025
64deb62
FIX: Update latest go mod versions
mariusmihaic Jun 10, 2025
0e549ab
FIX: Git fetcher for git clone
mariusmihaic Jun 10, 2025
c094f6f
FIX: Go mod
mariusmihaic Jul 16, 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
38 changes: 31 additions & 7 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,21 +52,45 @@ 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: Extract metadata (tags, labels) for prereleased releases
if: ${{ github.event.release.prerelease == true }}
id: meta_prereleased
uses: docker/metadata-action@v5
with:
images: multiversx/sovereign-chainsimulator
tags: |
type=raw,value=${{ github.event.release.tag_name }}
labels: |
type=raw,value=${{ github.event.release.name }}

- name: Build and push Docker image
id: push
- 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: .
# We need to make sure that if we ever have to merge this branch in main, this needs to be changed
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
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 }}
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.20.7
go-version: 1.23.6
cache: false
id: go

Expand All @@ -27,7 +27,7 @@ jobs:
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
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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: Checkout mx-chain-simulator-go
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ 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: Checkout mx-chain-simulator-go
uses: actions/checkout@v4

- name: Unit tests
run: |
go test ./...
1 change: 0 additions & 1 deletion .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
steps:
- name: Checkout mx-chain-simulator-go
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@v5
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Checkout mx-chain-simulator-go
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@v5
with:
go-version: 1.20.7
go-version: 1.23.6
id: go

- name: Checkout mx-chain-simulator-go
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 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ run-examples:

$(MAKE) docker-build
docker run -d --name "${IMAGE_NAME}" -p 8085:8085 ${CHAIN_SIMULATOR_IMAGE_NAME}:${CHAIN_SIMULATOR_IMAGE_TAG} ${SIMULATOR_TYPE}
cd scripts/run-examples && /bin/bash script.sh
cd scripts/run-examples && /bin/bash install-python-deps.sh && /bin/bash script.sh
docker stop "${IMAGE_NAME}"
docker rm ${IMAGE_NAME}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,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
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def main():

time.sleep(0.5)

provider.do_post_generic(f"{GENERATE_BLOCKS_URL}/3", {})
provider.do_post_generic(f"{GENERATE_BLOCKS_URL}/1", {})

status = provider.get_transaction_status(tx_hash)
if status.status != "pending":
Expand Down
Loading
Loading