Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e904b72
add foundry uniswap v3 deploy test cases
zsystm Jul 15, 2025
35e7718
add gitignore for foundry
zsystm Jul 15, 2025
c793bcb
exclude sol files in compatibility dir
zsystm Jul 15, 2025
01fb2c4
add verbose flag to debug
zsystm Jul 15, 2025
31712f8
fix script and ci yml
zsystm Jul 15, 2025
4088932
remove verbose tag
zsystm Jul 15, 2025
fddae70
Merge remote-tracking branch 'upstream/main' into tests/evm-tools-com…
zsystm Jul 15, 2025
eeb6cff
fix ci
zsystm Jul 15, 2025
c571425
add checking logic at testing script
zsystm Jul 16, 2025
4971ab6
shfmt ci-foundry-uniswap
zsystm Jul 16, 2025
65dc30a
bash lint
zsystm Jul 16, 2025
c2c5539
add foundry tc
zsystm Jul 16, 2025
706e54b
clean deps
zsystm Jul 16, 2025
9241a72
revert version
zsystm Jul 16, 2025
34f1ee5
add tc for cast
zsystm Jul 16, 2025
2eb1207
lint
zsystm Jul 16, 2025
cb56140
lint
zsystm Jul 16, 2025
30d7d15
add sdk viem tc
zsystm Jul 16, 2025
58268fb
fix viem workflow
zsystm Jul 17, 2025
0d91caa
add web3 tc
zsystm Jul 17, 2025
a0369cd
add hardhat tc
zsystm Jul 17, 2025
16501e9
lint
zsystm Jul 17, 2025
893d36a
refactor: script and action file names
zsystm Jul 17, 2025
176f3ba
Merge remote-tracking branch 'upstream/main' into tests/evm-tools-com…
zsystm Jul 17, 2025
9a2f4f0
clean up
zsystm Jul 17, 2025
def7f8b
chore: fix typo at filename
zsystm Aug 12, 2025
eebfd9e
Merge remote-tracking branch 'upstream/main' into tests/evm-tools-com…
zsystm Aug 12, 2025
e65209c
fix typo and update chain-id
zsystm Aug 12, 2025
52ec775
udpate chain id in tc
zsystm Aug 12, 2025
aae3243
Merge branch 'main' into tests/evm-tools-compatibility
Aug 14, 2025
7dccb4d
Merge branch 'main' into tests/evm-tools-compatibility
almk-dev Aug 15, 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
72 changes: 72 additions & 0 deletions .github/workflows/tests-compatibility-foundry-uniswap-v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Compatibility Tests for Foundry Uniswap V3

on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry-uniswap-v3/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry_uniswap_v3.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry-uniswap-v3.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry-uniswap-v3/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry_uniswap_v3.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry-uniswap-v3.yml'

permissions:
contents: read

jobs:
foundry-uniswap-v3:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Build and install evmd
run: |
make install

- name: Run foundry-uniswap-v3 tests
run: |
chmod +x scripts/tests_compatibility_foundry_uniswap_v3.sh
./scripts/tests_compatibility_foundry_uniswap_v3.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility
72 changes: 72 additions & 0 deletions .github/workflows/tests-compatibility-foundry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Compatibility Tests for Foundry

on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry.yml'

permissions:
contents: read

jobs:
foundry-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Build and install evmd
run: |
make install

- name: Run foundry compatibility tests
run: |
chmod +x scripts/tests_compatibility_foundry.sh
./scripts/tests_compatibility_foundry.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility
80 changes: 80 additions & 0 deletions .github/workflows/tests-compatibility-hardhat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Compatibility Tests for Hardhat

on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/hardhat/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_hardhat.sh'
- 'local_node.sh'
- 'tests-compatibility-hardhat.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/hardhat/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_hardhat.sh'
- 'local_node.sh'
- 'tests-compatibility-hardhat.yml'

permissions:
contents: read

jobs:
hardhat-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git jq

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: tests/evm-tools-compatibility/hardhat/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('tests/evm-tools-compatibility/hardhat/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Build and install evmd
run: |
make install

- name: Run hardhat compatibility tests
run: |
chmod +x scripts/tests_compatibility_hardhat.sh
./scripts/tests_compatibility_hardhat.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility
80 changes: 80 additions & 0 deletions .github/workflows/tests-compatibility-viem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Compatibility Tests for Viem

on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/viem/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_viem.sh'
- 'local_node.sh'
- 'tests-compatibility-viem.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/viem/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_viem.sh'
- 'local_node.sh'
- 'tests-compatibility-viem.yml'

permissions:
contents: read

jobs:
viem-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git jq

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: tests/evm-tools-compatibility/viem/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('tests/evm-tools-compatibility/viem/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Build and install evmd
run: |
make install

- name: Run viem compatibility tests
run: |
chmod +x scripts/tests_compatibility_viem.sh
./scripts/tests_compatibility_viem.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility
80 changes: 80 additions & 0 deletions .github/workflows/tests-compatibility-web3js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Compatibility Tests for Web3.js

on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/web3.js/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_web3js.sh'
- 'local_node.sh'
- 'tests-compatibility-web3js.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/web3.js/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_web3js.sh'
- 'local_node.sh'
- 'tests-compatibility-web3js.yml'

permissions:
contents: read

jobs:
web3js-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git jq

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: tests/evm-tools-compatibility/web3.js/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('tests/evm-tools-compatibility/web3.js/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Build and install evmd
run: |
make install

- name: Run web3.js compatibility tests
run: |
chmod +x scripts/tests_compatibility_web3js.sh
./scripts/tests_compatibility_web3js.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility
Loading
Loading