diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 439744bd0c..1ba0d2919e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -152,6 +152,16 @@ jobs: "docker exec sei-node-0 integration_test/contracts/verify_flatkv_evm_store.sh", ] }, + { + name: "Autobahn EVM Module", + env: "AUTOBAHN=true GIGA_EXECUTOR=true GIGA_STORAGE=true GIGA_OCC=true", + scripts: [ + "./integration_test/evm_module/scripts/evm_tests.sh", + "docker exec sei-node-0 integration_test/contracts/deploy_flatkv_evm_fixture.sh", + "python3 integration_test/scripts/runner.py integration_test/seidb/flatkv_evm_test.yaml", + "docker exec sei-node-0 integration_test/contracts/verify_flatkv_evm_store.sh", + ] + }, { name: "EVM Interoperability", env: "GIGA_STORAGE=true", diff --git a/contracts/test/EVMCompatabilityTest.js b/contracts/test/EVMCompatabilityTest.js index 74877e0be2..f191d3ce22 100644 --- a/contracts/test/EVMCompatabilityTest.js +++ b/contracts/test/EVMCompatabilityTest.js @@ -4,7 +4,7 @@ const {uniq} = require("lodash"); const hre = require('hardhat'); const { ethers, upgrades } = hre; const { getImplementationAddress } = require('@openzeppelin/upgrades-core'); -const { deployEvmContract, setupSigners, fundAddress, getCosmosTx, getEvmTx, waitForBaseFeeToEq, waitForBaseFeeToBeGt} = require("./lib") +const { deployEvmContract, setupSigners, fundAddress, waitForBaseFeeToEq, waitForBaseFeeToBeGt} = require("./lib") const axios = require("axios"); const { default: BigNumber } = require("bignumber.js"); @@ -495,23 +495,6 @@ describe("EVM Test", function () { expect(found).to.be.true; }); - it("Should set the string correctly and emit an event", async function () { - await delay() - const txResponse = await evmTester.setStringVar("test", { gasPrice: ethers.parseUnits('100', 'gwei') }); - const receipt = await txResponse.wait(); // Wait for the transaction to be mined - - const cosmosTx = await getCosmosTx(ethers.provider, receipt.hash) - expect(cosmosTx.length).to.be.equal(64) - - const evmTx = await getEvmTx(ethers.provider, cosmosTx) - expect(evmTx).to.be.equal(receipt.hash) - - await expect(txResponse) - .to.emit(evmTester, 'StringSet') - .withArgs(owner.address, "test"); - expect(await evmTester.stringVar()).to.equal("test"); - }); - it("Should set the bytes correctly and emit an event", async function () { await delay() const txResponse = await evmTester.setBytesVar(ethers.toUtf8Bytes("test"), { gasPrice: ethers.parseUnits('100', 'gwei') });