Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rc/v1.7.0 #783

Merged
merged 88 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
df9d617
update mx-chain-vm-common-go + use internal EnableEpochsHandler inter…
sstanculeanu Jul 11, 2023
4ed5c4d
update mx-chain-vm-common-go + adapt EnableEpochsHandler
sstanculeanu Aug 17, 2023
b6f4d74
check EnableEpochsHandler compatibility
sstanculeanu Aug 17, 2023
434b2ae
Merge branch 'feat/refactor_enable_epochs_handler_2' of https://githu…
sstanculeanu Aug 18, 2023
d6fbdbd
update go.mod
sstanculeanu Aug 18, 2023
aaa19f5
updated mx-chain-vm-common-go
sstanculeanu Aug 21, 2023
8d78adc
Merge pull request #771 from multiversx/merge_rc160_into_feat_refacto…
sstanculeanu Aug 25, 2023
65cbeb0
Merge branch 'feat/refactor_enable_epochs_handler_2' of https://githu…
sstanculeanu Aug 28, 2023
c6b8cd3
updated mx-chain-vm-common-go + new flag
sstanculeanu Aug 28, 2023
c6aadb4
Merge branch 'master' of https://github.com/multiversx/mx-chain-vm-go…
sstanculeanu Aug 28, 2023
6a8bfbd
updated mx-chain-vm-common-go after merge
sstanculeanu Aug 28, 2023
e585838
Merge pull request #773 from multiversx/merge_master_into_feat_refact…
sstanculeanu Aug 28, 2023
c2ac8f6
Merge branch 'feat/refactor_enable_epochs_handler_2' of https://githu…
sstanculeanu Aug 28, 2023
716b749
updated mx-chain-vm-common-go after merge
sstanculeanu Aug 28, 2023
77465ed
fix tests
sstanculeanu Aug 28, 2023
f48d424
updated mx-chain-vm-common-go
sstanculeanu Aug 30, 2023
8fc0f03
updated mx-chain-vm-common-go
sstanculeanu Aug 30, 2023
7cf46d2
added comments
sstanculeanu Aug 31, 2023
7dc171f
updated mx-chain-vm-common-go
sstanculeanu Sep 1, 2023
529cc54
Merge pull request #766 from multiversx/update_enable_epochs_handler
sstanculeanu Sep 1, 2023
3ad8e30
Merge branch 'master' of https://github.com/multiversx/mx-chain-vm-go…
sstanculeanu Sep 18, 2023
afab2d8
updated mx-chain-vm-common-go + updated EnableEpochsHandlerStubAllFlags
sstanculeanu Sep 18, 2023
207dbac
Merge pull request #780 from multiversx/merge_master_into_feat_refact…
sstanculeanu Sep 18, 2023
21dc7c5
- integrated cache-less mx-chain-core-go
iulianpascalau Sep 27, 2023
854db4c
updated deps
sstanculeanu Oct 2, 2023
756d13b
Merge pull request #782 from multiversx/update_dependencies
sstanculeanu Oct 2, 2023
519d225
Merge pull request #774 from multiversx/feat/refactor_enable_epochs_h…
sstanculeanu Oct 2, 2023
b7d688b
Merge branch 'master' of https://github.com/multiversx/mx-chain-vm-go…
sstanculeanu Oct 11, 2023
56df07b
Merge pull request #788 from multiversx/merge_master_into_rc170_2023.…
sstanculeanu Oct 11, 2023
90bbc08
Merge branch 'master' into rc/v1.7.0
sstanculeanu Oct 12, 2023
cea7781
Merge branch 'master' into integrate-cacheless-core
iulianpascalau Oct 24, 2023
2c9f8fd
- new core-go version
iulianpascalau Oct 25, 2023
b941ad3
Merge remote-tracking branch 'origin/integrate-cacheless-core' into i…
iulianpascalau Oct 25, 2023
5d4be63
- new storage-go version
iulianpascalau Oct 25, 2023
a22dff1
- new storage-go version
iulianpascalau Oct 25, 2023
38e1218
Merge remote-tracking branch 'origin/master' into merge-master-in-rc/…
BeniaminDrasovean Nov 23, 2023
c172a6e
update go mod
BeniaminDrasovean Nov 23, 2023
e82a1fd
Merge pull request #798 from multiversx/merge-master-in-rc/v1.7.0-23nov
BeniaminDrasovean Nov 24, 2023
291fc40
Merge branch 'rc/v1.7.0' into integrate-cacheless-core
iulianpascalau Nov 29, 2023
78375fd
- latest libs
iulianpascalau Nov 29, 2023
7ea313e
Merge pull request #781 from multiversx/integrate-cacheless-core
iulianpascalau Dec 6, 2023
8dfbaa3
Merge branch 'master' of https://github.com/multiversx/mx-chain-vm-go…
sstanculeanu Dec 28, 2023
964359c
updated vm-common-go
sstanculeanu Dec 28, 2023
d4fdbb8
updated vm-common-go to latest
sstanculeanu Dec 28, 2023
72a92cd
Merge pull request #803 from multiversx/merge_master_into_rc170_2023.…
sstanculeanu Dec 29, 2023
2ca5bfd
FIX: Remove TransferToMetaFlag
mariusmihaic Jan 8, 2024
217ce0d
Merge pull request #807 from multiversx/remove-transfer-to-meta-flag
mariusmihaic Jan 8, 2024
8b6b99c
Merge branch 'master' into merge-master-rc-v1.7.0-2024.01.29
iulianpascalau Jan 29, 2024
f65338d
- fixes
iulianpascalau Jan 29, 2024
30064b3
- latest vm-common
iulianpascalau Jan 29, 2024
5918106
- latest libs
iulianpascalau Jan 29, 2024
9316049
Fix gas limit on two scenarios.
andreibancioiu Jan 29, 2024
5cb97fc
Merge pull request #819 from multiversx/fix-scenarios-gas-limit
iulianpascalau Jan 29, 2024
7c828af
- latest libs
iulianpascalau Jan 29, 2024
f24a36b
Merge pull request #817 from multiversx/merge-master-rc-v1.7.0-2024.0…
iulianpascalau Jan 30, 2024
0ba44b2
Merge branch 'master' into merge-from-master-12feb-24
sasurobert Feb 12, 2024
47f9f52
Merge pull request #826 from multiversx/merge-from-master-12feb-24
sasurobert Feb 12, 2024
827ed8c
Merge branch 'master' into merge-master-rc-v1.7.0-2024.02.16
iulianpascalau Feb 16, 2024
6d748b5
- fixes after merge
iulianpascalau Feb 16, 2024
38ea251
Merge pull request #829 from multiversx/merge-master-rc-v1.7.0-2024.0…
sstanculeanu Feb 16, 2024
6398f19
Merge branch 'rc/v1.7.0' into merge-rc-v.1.7.0-feat-staking-v4
iulianpascalau Feb 16, 2024
26d85a6
- put back correct vm-common version
iulianpascalau Feb 16, 2024
e2a4c8e
Merge pull request #830 from multiversx/merge-rc-v.1.7.0-feat-staking-v4
sstanculeanu Feb 16, 2024
9953955
Adjust wasmer bridges.
andreibancioiu Mar 5, 2024
fa32525
Add wasmer shim.
andreibancioiu Mar 5, 2024
c9cf061
Add dylibs: for wasmer 2 & shim for legacy wasmer.
andreibancioiu Mar 5, 2024
f101e38
Sketch support for Linux/ARM64.
andreibancioiu Mar 6, 2024
6e29a4e
Use libwasmer 1 shim for Linux ARM64, as well.
andreibancioiu Mar 6, 2024
5558831
Remove file not needed anymore.
andreibancioiu Mar 6, 2024
dc858d3
Migrated shim code to wasmer repo.
andreibancioiu Mar 6, 2024
d2c148d
Use official builds of wasmer 1 shim.
andreibancioiu Mar 6, 2024
ea6da6f
Use "official" builds for wasmer executor / 2.
andreibancioiu Mar 7, 2024
f9de64d
Run W2 tests on MacOS.
andreibancioiu Mar 7, 2024
ad1aedd
Skip some tests on W2.
andreibancioiu Mar 7, 2024
42e8fb7
Tests: -failfast.
andreibancioiu Mar 7, 2024
aa2034c
Fix CI matrix.
andreibancioiu Mar 7, 2024
dac99fa
Skip some tests.
andreibancioiu Mar 7, 2024
644bb88
Fix tests.
andreibancioiu Mar 7, 2024
1b96ca4
Fix test.
andreibancioiu Mar 7, 2024
f431e7d
Merge pull request #808 from multiversx/feat/staking-v4
iulianpascalau Mar 7, 2024
22284f5
Remove old CI file (travis).
andreibancioiu Mar 7, 2024
99eb630
Skip some tests on ARM64.
andreibancioiu Mar 7, 2024
d4dc724
Simplify CI (tests runner).
andreibancioiu Mar 7, 2024
b8d3719
Merge branch 'rc/v1.7.0' into apple-arm64
andreibancioiu Mar 7, 2024
0a96a13
Merge pull request #834 from multiversx/apple-arm64
andreibancioiu Mar 12, 2024
47b31e6
updated dependencies
sstanculeanu Mar 27, 2024
40f4377
updated crypto-go
sstanculeanu Mar 27, 2024
2e39b23
Merge pull request #838 from multiversx/update_deps
sstanculeanu Mar 28, 2024
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
25 changes: 25 additions & 0 deletions .github/workflows/build-test-macos-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and run tests (MacOS ARM64)

on:
push:
branches: [master, rc/*, feat/*]
pull_request:
branches: [master, feat/*, rc/*]
workflow_dispatch:

jobs:
test:
strategy:
matrix:
go-version: [1.20.7]
runs-on: macos-13-xlarge
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: |
make test-w2
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
go-version: [1.20.7]
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
Expand Down
72 changes: 0 additions & 72 deletions .travis.yml

This file was deleted.

11 changes: 6 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ require (
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/gogo/protobuf v1.3.2
github.com/mitchellh/mapstructure v1.5.0
github.com/multiversx/mx-chain-core-go v1.2.18
github.com/multiversx/mx-chain-crypto-go v1.2.9
github.com/multiversx/mx-chain-logger-go v1.0.13
github.com/multiversx/mx-chain-scenario-go v1.4.1
github.com/multiversx/mx-chain-vm-common-go v1.5.11
github.com/multiversx/mx-chain-core-go v1.2.19
github.com/multiversx/mx-chain-crypto-go v1.2.11
github.com/multiversx/mx-chain-logger-go v1.0.14
github.com/multiversx/mx-chain-scenario-go v1.4.3
github.com/multiversx/mx-chain-storage-go v1.0.15
github.com/multiversx/mx-chain-vm-common-go v1.5.12
github.com/multiversx/mx-components-big-int v1.0.0
github.com/pelletier/go-toml v1.9.3
github.com/stretchr/testify v1.8.1
Expand Down
22 changes: 12 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,18 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o=
github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
github.com/multiversx/mx-chain-core-go v1.2.18 h1:fnub2eFL7XYOLrKKVZAPPsaM1TWEnaK5qqY3FLUv168=
github.com/multiversx/mx-chain-core-go v1.2.18/go.mod h1:BILOGHUOIG5dNNX8cgkzCNfDaVtoYrJRYcPnpxRMH84=
github.com/multiversx/mx-chain-crypto-go v1.2.9 h1:OEfF2kOQrtzUl273Z3DEcshjlTVUfPpJMd0R0SvTrlU=
github.com/multiversx/mx-chain-crypto-go v1.2.9/go.mod h1:fkaWKp1rbQN9wPKya5jeoRyC+c/SyN/NfggreyeBw+8=
github.com/multiversx/mx-chain-logger-go v1.0.13 h1:eru/TETo0MkO4ZTnXsQDKf4PBRpAXmqjT02klNT/JnY=
github.com/multiversx/mx-chain-logger-go v1.0.13/go.mod h1:MZJhTAtZTJxT+yK2EHc4ZW3YOHUc1UdjCD0iahRNBZk=
github.com/multiversx/mx-chain-scenario-go v1.4.1 h1:CrVXb1aNBRiFfSfpoMAUoGUy2aNXke5WnoesLdFxC2g=
github.com/multiversx/mx-chain-scenario-go v1.4.1/go.mod h1:Sdgz8nzA9Ki/pdY/e2a4k90LALBKQB1Eo8HeCV3Bkzo=
github.com/multiversx/mx-chain-vm-common-go v1.5.11 h1:rAQR00ALKOmWAuNA8XW8hR02M9gmrAE4WZwyJH4dMMU=
github.com/multiversx/mx-chain-vm-common-go v1.5.11/go.mod h1:T04rZt/VdwjPXcXVxltMmDmrhxNXsqlByYbWNWcNLYA=
github.com/multiversx/mx-chain-core-go v1.2.19 h1:2BaVHkB0tro3cjs5ay2pmLup1loCV0e1p9jV5QW0xqc=
github.com/multiversx/mx-chain-core-go v1.2.19/go.mod h1:B5zU4MFyJezmEzCsAHE9YNULmGCm2zbPHvl9hazNxmE=
github.com/multiversx/mx-chain-crypto-go v1.2.11 h1:MNPJoiTJA5/tedYrI0N22OorbsKDESWG0SF8MCJwcJI=
github.com/multiversx/mx-chain-crypto-go v1.2.11/go.mod h1:pcZutPdfLiAFytzCU3LxU3s8cXkvpNqquyitFSfoF3o=
github.com/multiversx/mx-chain-logger-go v1.0.14 h1:PRMpAvXE7Nec2d//QNmbYfKVHMomOKmcN4UXurQWX9o=
github.com/multiversx/mx-chain-logger-go v1.0.14/go.mod h1:bDfHSdwqIimn7Gp8w+SH5KlDuGzJ//nlyEANAaTSc3o=
github.com/multiversx/mx-chain-scenario-go v1.4.3 h1:9xeVB8TOsolXS4YEr1CZ/VZr5Qk0X+nde8nRGnxJICo=
github.com/multiversx/mx-chain-scenario-go v1.4.3/go.mod h1:Bd7/Xs3mWM6pX/REHK5dfpf3MUfjMZ7li09cfCxg2ac=
github.com/multiversx/mx-chain-storage-go v1.0.15 h1:PDyP1uouAVjR32dFgM+7iaQBdReD/tKBJj10JbxXvaE=
github.com/multiversx/mx-chain-storage-go v1.0.15/go.mod h1:GZUK3sqf5onsWS/0ZPWjDCBjAL22FigQPUh252PAVk0=
github.com/multiversx/mx-chain-vm-common-go v1.5.12 h1:Q8F6DE7XhgHtWgg2rozSv4Tv5fE3ENkJz6mjRoAfht8=
github.com/multiversx/mx-chain-vm-common-go v1.5.12/go.mod h1:Sv6iS1okB6gy3HAsW6KHYtAxShNAfepKLtu//AURI8c=
github.com/multiversx/mx-components-big-int v1.0.0 h1:Wkr8lSzK2nDqixOrrBa47VNuqdhV1m/aJhaP1EMaiS8=
github.com/multiversx/mx-components-big-int v1.0.0/go.mod h1:maIEMgHlNE2u78JaDD0oLzri+ShgU4okHfzP3LWGdQM=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
Expand Down
76 changes: 38 additions & 38 deletions integrationTests/json/scenariosAdderLog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,26 @@ GetPointsUsed: 5291
SetPointsUsed: 6291
GetPointsUsed: 6291
GetPointsUsed: 6291
SetPointsUsed: 56291
SetPointsUsed: 21578
VM hook end: MBufferStorageLoad(-101, -102)
VM hook begin: MBufferToBigIntUnsigned(-102, -103)
GetPointsUsed: 56324
SetPointsUsed: 60324
GetPointsUsed: 21611
SetPointsUsed: 25611
VM hook end: MBufferToBigIntUnsigned(-102, -103)
VM hook begin: BigIntFinishUnsigned(-103)
GetPointsUsed: 60335
SetPointsUsed: 61335
GetPointsUsed: 61335
SetPointsUsed: 71335
GetPointsUsed: 25622
SetPointsUsed: 26622
GetPointsUsed: 26622
SetPointsUsed: 36622
VM hook end: BigIntFinishUnsigned(-103)
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 71337
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
GetPointsUsed: 36624
Reset: true
SetPointsUsed: 0
SetGasLimit: 3790900
Expand Down Expand Up @@ -124,38 +124,38 @@ GetPointsUsed: 6333
SetPointsUsed: 7333
GetPointsUsed: 7333
GetPointsUsed: 7333
SetPointsUsed: 57333
SetPointsUsed: 22620
VM hook end: MBufferStorageLoad(-102, -103)
VM hook begin: MBufferToBigIntUnsigned(-103, -104)
GetPointsUsed: 57366
SetPointsUsed: 61366
GetPointsUsed: 22653
SetPointsUsed: 26653
VM hook end: MBufferToBigIntUnsigned(-103, -104)
VM hook begin: BigIntAdd(-104, -104, -101)
GetPointsUsed: 61386
SetPointsUsed: 63386
GetPointsUsed: 26673
SetPointsUsed: 28673
VM hook end: BigIntAdd(-104, -104, -101)
VM hook begin: MBufferFromBigIntUnsigned(-105, -104)
GetPointsUsed: 63425
SetPointsUsed: 67425
GetPointsUsed: 28712
SetPointsUsed: 32712
VM hook end: MBufferFromBigIntUnsigned(-105, -104)
VM hook begin: MBufferStorageStore(-102, -105)
GetPointsUsed: 67437
SetPointsUsed: 142437
GetPointsUsed: 142437
GetPointsUsed: 142437
SetPointsUsed: 142437
GetPointsUsed: 142437
GetPointsUsed: 142437
SetPointsUsed: 142437
GetPointsUsed: 32724
SetPointsUsed: 107724
GetPointsUsed: 107724
GetPointsUsed: 107724
SetPointsUsed: 107724
GetPointsUsed: 107724
GetPointsUsed: 107724
SetPointsUsed: 107724
VM hook end: MBufferStorageStore(-102, -105)
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 142444
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
GetPointsUsed: 107731
Clean: true
`

Expand Down
13 changes: 13 additions & 0 deletions integrationTests/json/scenariosDelegation_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
package vmjsonintegrationtest

import (
"runtime"
"testing"
)

func TestDelegation_v0_2(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

ScenariosTest(t).
Folder("delegation/v0_2").
Expand All @@ -19,6 +23,9 @@ func TestDelegation_v0_3(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

ScenariosTest(t).
Folder("delegation/v0_3").
Expand All @@ -31,6 +38,9 @@ func TestDelegation_v0_4_genesis(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

ScenariosTest(t).
Folder("delegation/v0_4_genesis").
Expand All @@ -42,6 +52,9 @@ func TestDelegation_v0_5_latest(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

ScenariosTest(t).
Folder("delegation/v0_5_latest").
Expand Down
21 changes: 21 additions & 0 deletions integrationTests/json/scenariosExecutorVersions_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package vmjsonintegrationtest

import (
"runtime"
"testing"

"github.com/multiversx/mx-chain-vm-go/executor"
Expand All @@ -9,20 +10,32 @@ import (
)

func TestCErc20Executors_TwiceW1ThenTwiceW2(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
}

func TestCErc20Executors_W1W2W1W2(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
}

func TestCErc20Executors_W1W2W2W1W2(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
Expand All @@ -31,12 +44,20 @@ func TestCErc20Executors_W1W2W2W1W2(t *testing.T) {
}

func TestCErc20Executors_W2W1W2(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
}

func TestCErc20Executors_W2W2W1W2(t *testing.T) {
if runtime.GOARCH == "arm64" {
t.Skip("skipping test on arm64")
}

testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer2.ExecutorFactory())
testCERC20WithExecutorFactory(t, wasmer.ExecutorFactory())
Expand Down
4 changes: 2 additions & 2 deletions mock/context/vmHostMock.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type VMHostMock struct {
OutputContext vmhost.OutputContext
MeteringContext vmhost.MeteringContext
StorageContext vmhost.StorageContext
EnableEpochsHandlerField vmcommon.EnableEpochsHandler
EnableEpochsHandlerField vmhost.EnableEpochsHandler
ManagedTypesContext vmhost.ManagedTypesContext

IsBuiltinFunc bool
Expand Down Expand Up @@ -71,7 +71,7 @@ func (host *VMHostMock) Storage() vmhost.StorageContext {
}

// EnableEpochsHandler mocked method
func (host *VMHostMock) EnableEpochsHandler() vmcommon.EnableEpochsHandler {
func (host *VMHostMock) EnableEpochsHandler() vmhost.EnableEpochsHandler {
return host.EnableEpochsHandlerField
}

Expand Down
Loading
Loading