Skip to content

Commit 197588c

Browse files
authored
Bump subnet evm v0.5.5 (#37)
* bump npm package versions * bump versions * bump go versions * use latest npm version in ci
1 parent 0baf3f1 commit 197588c

File tree

11 files changed

+5187
-7026
lines changed

11 files changed

+5187
-7026
lines changed

.github/workflows/lint-tests-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,15 @@ jobs:
6060
uses: actions/setup-node@v3
6161
with:
6262
node-version: "18.x"
63-
- name: NPM install
63+
- name: NPM Clean Install
6464
run: npm ci
6565
working-directory: ./contracts
66+
- name: Hardhat Clean
67+
run: npx hardhat clean
68+
working-directory: ./contracts
69+
- name: Hardhat Compile
70+
run: npx hardhat compile
71+
working-directory: ./contracts
6672
- name: Install AvalancheGo Release
6773
shell: bash
6874
run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ In order to upgrade the Subnet-EVM version, you need to change the version in `g
5858

5959
```text
6060
[v0.1.0-v0.1.1] [email protected] (Protocol Version: 26)
61-
[v0.1.2] [email protected] (Protocol Version: 27)
61+
[v0.1.2] [email protected] (Protocol Version: 27)
62+
[v0.1.3] [email protected] (Protocol Version: 28)
6263
```

compatibility.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rpcChainVMProtocolVersion": {
3+
"v0.1.3": 28,
34
"v0.1.2": 27,
45
"v0.1.1": 26,
56
"v0.1.0": 26

contracts/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ It is also helpful to have a basic understanding of [Solidity](https://docs.soli
2424

2525
Clone the repo and install the necessary packages via `npm`.
2626

27-
```zsh
28-
$ cd contracts
29-
$ npm install
27+
```bash
28+
git clone https://github.com/ava-labs/precompile-evm.git
29+
cd contracts
30+
npm install
3031
```
3132

3233
## Write Contracts
@@ -51,9 +52,9 @@ In Subnet-EVM, we provide a pre-configured file [hardhat.config.ts](https://gith
5152

5253
The HardHat config file includes a single network configuration: `local`. `local` defaults to using the following values for the RPC URL and the Chain ID:
5354

54-
```
55-
var local_rpc_uri = process.env.RPC_URI || "http://127.0.0.1:9650/ext/bc/C/rpc"
56-
var local_chain_id = process.env.CHAIN_ID || 99999
55+
```js
56+
var local_rpc_uri = process.env.RPC_URI || "http://127.0.0.1:9650/ext/bc/C/rpc";
57+
var local_chain_id = process.env.CHAIN_ID || 99999;
5758
```
5859

5960
You can use this network configuration by providing the environment variables and specifying the `--network` flag, as Subnet-EVM does in its testing suite:

0 commit comments

Comments
 (0)