Skip to content

Commit a857165

Browse files
authored
Prepare release v0.2.3 (#70)
* bump subnet-evm v0.6.5 * npm update * bump subnet-evm npm pkg * bump subnet-evm & avalanchego * update mingo version * add release prepare * add typechain generate to build
1 parent 119f61f commit a857165

File tree

14 files changed

+4835
-25911
lines changed

14 files changed

+4835
-25911
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": {
77
"dockerfile": "Dockerfile",
88
"args": {
9-
"AVALANCHEGO_VERSION": "v1.11.5"
9+
"AVALANCHEGO_VERSION": "v1.11.7"
1010
}
1111
},
1212
"runArgs": ["--network=host"],

.github/workflows/tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
branches:
66
- master
77
tags:
8-
- '*'
8+
- "*"
99
pull_request:
1010

1111
env:
12-
min_go_version: '~1.21.9'
12+
min_go_version: "~1.21.11"
1313

1414
jobs:
1515
lint_test:
@@ -52,7 +52,7 @@ jobs:
5252
shell: bash
5353
- run: ./scripts/build_test.sh
5454
env:
55-
TIMEOUT: ${{ env.TIMEOUT }}
55+
TIMEOUT: ${{ env.TIMEOUT }}
5656
shell: bash
5757
- run: ./scripts/coverage.sh
5858
shell: bash
@@ -73,7 +73,7 @@ jobs:
7373
- name: Use Node.js
7474
uses: actions/setup-node@v4
7575
with:
76-
node-version: "18.x"
76+
node-version: "20.13"
7777
- name: NPM Clean Install
7878
run: npm ci
7979
working-directory: ./contracts
@@ -92,3 +92,10 @@ jobs:
9292
- name: Run E2E Tests
9393
shell: bash
9494
run: AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego DATA_DIR=/tmp/e2e-test/data ./scripts/run_ginkgo.sh
95+
- name: Upload Artifact
96+
if: always()
97+
uses: actions/upload-artifact@v4
98+
with:
99+
name: subnet-evm-e2e-logs-precompile
100+
path: /tmp/e2e-test/precompile-data
101+
retention-days: 5

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ In order to upgrade the Subnet-EVM version, you need to change the version in `g
8888
[v0.1.7] AvalancheGo@v1.10.15-v1.10.17 (Protocol Version: 30)
8989
[v0.1.8] AvalancheGo@v1.10.18-v1.10.19 (Protocol Version: 31)
9090
[v0.2.0] AvalancheGo@v1.11.0-v1.11.1 (Protocol Version: 33)
91-
[v0.2.1] AvalancheGo@v1.11.3-v1.11.5 (Protocol Version: 35)
92-
[v0.2.2] AvalancheGo@v1.11.3-v1.11.5 (Protocol Version: 35)
91+
[v0.2.1] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
92+
[v0.2.2] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
93+
[v0.2.3] AvalancheGo@v1.11.3-v1.11.7 (Protocol Version: 35)
9394
```

compatibility.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rpcChainVMProtocolVersion": {
3+
"v0.2.3": 35,
34
"v0.2.2": 35,
45
"v0.2.1": 35,
56
"v0.2.0": 33,
@@ -13,4 +14,4 @@
1314
"v0.1.1": 26,
1415
"v0.1.0": 26
1516
}
16-
}
17+
}

contracts/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,6 @@ dist
145145

146146
local_rpc.json
147147

148-
# TODO: Remove this once we publish the package
149-
!avalabs-subnet-evm-contracts-1.0.0.tgz
148+
# TypeChain files
149+
/typechain
150+
/typechain-types

contracts/hardhat.config.ts

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import "@nomiclabs/hardhat-waffle"
2-
import "@nomiclabs/hardhat-ethers"
1+
import "@nomicfoundation/hardhat-toolbox";
32
import "./tasks"
43

54
// HardHat users must populate these environment variables in order to connect to their subnet-evm instance
@@ -11,20 +10,11 @@ export default {
1110
solidity: {
1211
compilers: [
1312
{
14-
version: "0.5.16"
13+
version: "0.8.24",
14+
settings: {
15+
evmVersion: "shanghai",
16+
},
1517
},
16-
{
17-
version: "0.6.2"
18-
},
19-
{
20-
version: "0.6.4"
21-
},
22-
{
23-
version: "0.7.0"
24-
},
25-
{
26-
version: "0.8.0"
27-
}
2818
]
2919
},
3020
networks: {
@@ -58,5 +48,8 @@ export default {
5848
],
5949
pollingInterval: "1s"
6050
},
51+
},
52+
mocha: {
53+
timeout: 30000
6154
}
6255
}

0 commit comments

Comments
 (0)