Skip to content

Commit d4be7b0

Browse files
authored
Bump subnet evm v0 5 11 (#57)
* update npm packages * bump versions * add new version to readme
1 parent 4b456cb commit d4be7b0

File tree

12 files changed

+422
-401
lines changed

12 files changed

+422
-401
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use a base image that includes both Go and Node.js, such as the official Go image
2-
FROM golang:1.20.10-bullseye
2+
FROM golang:1.20.12-bullseye
33

44

55
ENV GOPATH=/go

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: '~1.20.10'
19+
go-version: '~1.20.12'
2020
check-latest: true
2121
- name: golangci-lint
2222
uses: golangci/golangci-lint-action@v3
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v3
3333
- uses: actions/setup-go@v3
3434
with:
35-
go-version: '~1.20.10'
35+
go-version: '~1.20.12'
3636
check-latest: true
3737
- run: go mod download
3838
shell: bash
@@ -54,7 +54,7 @@ jobs:
5454
- name: Set up Go
5555
uses: actions/setup-go@v3
5656
with:
57-
go-version: '~1.20.10'
57+
go-version: '~1.20.12'
5858
check-latest: true
5959
- name: Use Node.js
6060
uses: actions/setup-node@v3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ In order to upgrade the Subnet-EVM version, you need to change the version in `g
6565
[v0.1.5] [email protected] (Protocol Version: 29)
6666
[v0.1.6] [email protected] (Protocol Version: 30)
6767
[v0.1.7] [email protected] (Protocol Version: 30)
68+
[v0.1.8] [email protected] (Protocol Version: 31)
6869
```

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.8": 31,
34
"v0.1.7": 30,
45
"v0.1.6": 30,
56
"v0.1.5": 29,

contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "@nomiclabs/hardhat-waffle"
22
import "@nomiclabs/hardhat-ethers"
3-
import "./tasks.ts"
3+
import "./tasks"
44

55
// HardHat users must populate these environment variables in order to connect to their subnet-evm instance
66
// Since the blockchainID is not known in advance, there's no good default to use and we use the C-Chain here.

contracts/package-lock.json

Lines changed: 348 additions & 335 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"name": "@avalabs/precompile-evm-contracts",
33
"devDependencies": {
4-
"@types/chai": "^4.3.5",
5-
"@types/mocha": "^9.0.0",
6-
"chai": "^4.3.7",
7-
"prettier": "^2.5.1",
8-
"prettier-plugin-solidity": "^1.1.3"
4+
"@types/chai": "^4.3.11",
5+
"@types/mocha": "^9.1.1",
6+
"chai": "^4.4.1",
7+
"prettier": "^3.2.4",
8+
"prettier-plugin-solidity": "^1.3.1"
99
},
1010
"version": "1.0.0",
1111
"description": "",
1212
"main": "dist/index.js",
1313
"types": "dist/index.d.ts",
1414
"module": "dist/index.js",
1515
"dependencies": {
16-
"@avalabs/subnet-evm-contracts": "^1.1.0",
16+
"@avalabs/subnet-evm-contracts": "^1.2.0",
1717
"@nomiclabs/hardhat-ethers": "^2.2.3",
1818
"@nomiclabs/hardhat-waffle": "^2.0.6",
19-
"@types/node": "^16.7.1",
19+
"@types/node": "^16.11.7",
2020
"@avalabs/avalanchejs": "^3.17.0",
21-
"ethers": "^5.4.5",
22-
"hardhat": "2.17.1",
23-
"ts-node": "^10.9.1",
24-
"typescript": "^5.1.6",
25-
"@openzeppelin/contracts": "^4.9.3",
21+
"ethers": "^5.7.2",
22+
"hardhat": "2.19.4",
23+
"ts-node": "^10.9.2",
24+
"typescript": "^5.3.3",
25+
"@openzeppelin/contracts": "^4.9.5",
2626
"ds-test": "https://github.com/dapphub/ds-test.git"
2727
},
2828
"repository": {
@@ -32,6 +32,7 @@
3232
},
3333
"license": "BSD-3-Clause",
3434
"scripts": {
35+
"build": "rm -rf dist/ && tsc -b && npx hardhat compile",
3536
"compile": "npx hardhat compile",
3637
"console": "npx hardhat console",
3738
"test": "npx hardhat test",

go.mod

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/ava-labs/precompile-evm
33
go 1.20
44

55
require (
6-
github.com/ava-labs/avalanchego v1.10.17
7-
github.com/ava-labs/subnet-evm v0.5.10
8-
github.com/onsi/ginkgo/v2 v2.8.1
9-
github.com/onsi/gomega v1.26.0
6+
github.com/ava-labs/avalanchego v1.10.18
7+
github.com/ava-labs/subnet-evm v0.5.11
8+
github.com/onsi/ginkgo/v2 v2.13.1
9+
github.com/onsi/gomega v1.29.0
1010
github.com/stretchr/testify v1.8.4
1111
)
1212

@@ -32,15 +32,16 @@ require (
3232
github.com/fsnotify/fsnotify v1.6.0 // indirect
3333
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
3434
github.com/getsentry/sentry-go v0.18.0 // indirect
35-
github.com/go-logr/logr v1.2.3 // indirect
35+
github.com/go-logr/logr v1.3.0 // indirect
3636
github.com/go-logr/stdr v1.2.2 // indirect
3737
github.com/go-ole/go-ole v1.2.6 // indirect
3838
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
3939
github.com/go-stack/stack v1.8.1 // indirect
40+
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
4041
github.com/gogo/protobuf v1.3.2 // indirect
4142
github.com/golang/protobuf v1.5.3 // indirect
4243
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
43-
github.com/google/go-cmp v0.5.9 // indirect
44+
github.com/google/go-cmp v0.6.0 // indirect
4445
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
4546
github.com/google/renameio/v2 v2.0.0 // indirect
4647
github.com/google/uuid v1.3.0 // indirect
@@ -51,7 +52,6 @@ require (
5152
github.com/hashicorp/go-bexpr v0.1.10 // indirect
5253
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
5354
github.com/hashicorp/hcl v1.0.0 // indirect
54-
github.com/holiman/big v0.0.0-20221017200358-a027dc42d04e // indirect
5555
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
5656
github.com/holiman/uint256 v1.2.2-0.20230321075855-87b91420868c // indirect
5757
github.com/klauspost/compress v1.15.15 // indirect
@@ -101,17 +101,18 @@ require (
101101
go.opentelemetry.io/otel/sdk v1.11.0 // indirect
102102
go.opentelemetry.io/otel/trace v1.11.0 // indirect
103103
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
104-
go.uber.org/mock v0.2.0 // indirect
104+
go.uber.org/mock v0.4.0 // indirect
105105
go.uber.org/multierr v1.11.0 // indirect
106106
go.uber.org/zap v1.26.0 // indirect
107-
golang.org/x/crypto v0.14.0 // indirect
108-
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
109-
golang.org/x/net v0.17.0 // indirect
110-
golang.org/x/sync v0.3.0 // indirect
111-
golang.org/x/sys v0.13.0 // indirect
112-
golang.org/x/term v0.13.0 // indirect
113-
golang.org/x/text v0.13.0 // indirect
107+
golang.org/x/crypto v0.17.0 // indirect
108+
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
109+
golang.org/x/net v0.19.0 // indirect
110+
golang.org/x/sync v0.5.0 // indirect
111+
golang.org/x/sys v0.15.0 // indirect
112+
golang.org/x/term v0.15.0 // indirect
113+
golang.org/x/text v0.14.0 // indirect
114114
golang.org/x/time v0.1.0 // indirect
115+
golang.org/x/tools v0.16.0 // indirect
115116
gonum.org/v1/gonum v0.11.0 // indirect
116117
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
117118
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect

0 commit comments

Comments
 (0)