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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"AVALANCHEGO_VERSION": "v1.11.5"
"AVALANCHEGO_VERSION": "v1.11.7"
}
},
"runArgs": ["--network=host"],
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
branches:
- master
tags:
- '*'
- "*"
pull_request:

env:
min_go_version: '~1.21.9'
min_go_version: "~1.21.11"

jobs:
lint_test:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
shell: bash
- run: ./scripts/build_test.sh
env:
TIMEOUT: ${{ env.TIMEOUT }}
TIMEOUT: ${{ env.TIMEOUT }}
shell: bash
- run: ./scripts/coverage.sh
shell: bash
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.13"
- name: NPM Clean Install
run: npm ci
working-directory: ./contracts
Expand All @@ -92,3 +92,10 @@ jobs:
- name: Run E2E Tests
shell: bash
run: AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego DATA_DIR=/tmp/e2e-test/data ./scripts/run_ginkgo.sh
- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: subnet-evm-e2e-logs-precompile
path: /tmp/e2e-test/precompile-data
retention-days: 5
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ In order to upgrade the Subnet-EVM version, you need to change the version in `g
[v0.1.7] AvalancheGo@v1.10.15-v1.10.17 (Protocol Version: 30)
[v0.1.8] AvalancheGo@v1.10.18-v1.10.19 (Protocol Version: 31)
[v0.2.0] AvalancheGo@v1.11.0-v1.11.1 (Protocol Version: 33)
[v0.2.1] AvalancheGo@v1.11.3-v1.11.5 (Protocol Version: 35)
[v0.2.2] AvalancheGo@v1.11.3-v1.11.5 (Protocol Version: 35)
[v0.2.1] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
[v0.2.2] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
[v0.2.3] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
```
3 changes: 2 additions & 1 deletion compatibility.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"rpcChainVMProtocolVersion": {
"v0.2.3": 35,
"v0.2.2": 35,
"v0.2.1": 35,
"v0.2.0": 33,
Expand All @@ -13,4 +14,4 @@
"v0.1.1": 26,
"v0.1.0": 26
}
}
}
5 changes: 3 additions & 2 deletions contracts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,6 @@ dist

local_rpc.json

# TODO: Remove this once we publish the package
!avalabs-subnet-evm-contracts-1.0.0.tgz
# TypeChain files
/typechain
/typechain-types
23 changes: 8 additions & 15 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "@nomiclabs/hardhat-waffle"
import "@nomiclabs/hardhat-ethers"
import "@nomicfoundation/hardhat-toolbox";
import "./tasks"

// HardHat users must populate these environment variables in order to connect to their subnet-evm instance
Expand All @@ -11,20 +10,11 @@ export default {
solidity: {
compilers: [
{
version: "0.5.16"
version: "0.8.24",
settings: {
evmVersion: "shanghai",
},
},
{
version: "0.6.2"
},
{
version: "0.6.4"
},
{
version: "0.7.0"
},
{
version: "0.8.0"
}
]
},
networks: {
Expand Down Expand Up @@ -58,5 +48,8 @@ export default {
],
pollingInterval: "1s"
},
},
mocha: {
timeout: 30000
}
}
Loading