Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 10 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
19 changes: 1 addition & 18 deletions contracts/test/EVMCompatabilityTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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') });
Expand Down
Loading