Skip to content

Commit 263186d

Browse files
authored
chore: release v0.3.1 (#92)
- Subnet-EVM version bumped from v0.7.1 to v0.7.3 - AvalancheGo version upgraded from v1.12.2 to v1.13.0 - Go version bumped from 1.22 to 1.23
1 parent a3cff3e commit 263186d

File tree

6 files changed

+60
-53
lines changed

6 files changed

+60
-53
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": {
77
"dockerfile": "Dockerfile",
88
"args": {
9-
"AVALANCHEGO_VERSION": "v1.12.2"
9+
"AVALANCHEGO_VERSION": "v1.13.0"
1010
}
1111
},
1212
"runArgs": ["--network=host"],
@@ -26,7 +26,7 @@
2626
"version": "latest"
2727
},
2828
"ghcr.io/devcontainers/features/node:1": {},
29-
"ghcr.io/devcontainers/features/go:1": {"version": 1.22}
29+
"ghcr.io/devcontainers/features/go:1": {"version": 1.23}
3030
},
3131

3232
// Use 'forwardPorts' to make a list of ports inside the container available locally.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ There is an example branch [hello-world-example](https://github.com/ava-labs/pre
3838
### 1. Generate Precompile Files
3939

4040
First, you need to create your precompile contract interface in the `contracts` directory and build the ABI. Then you can generate your precompile as such:
41+
4142
```bash
4243
./scripts/generate_precompile.sh --abi {abiPath} --out {outPath}
4344
```
45+
4446
This script installs the `precompilegen` tool from Subnet-EVM and runs it to generate your precompile.
4547

4648
### 2. Register Precompile
@@ -84,5 +86,6 @@ In order to upgrade the Subnet-EVM version, you need to change the version in `g
8486
[v0.2.3] [email protected] (Protocol Version: 35)
8587
[v0.2.4] [email protected] (Protocol Version: 37)
8688
[v0.2.5] [email protected] (Protocol Version: 38)
87-
[v0.3.0] [email protected] (Protocol Version: 39)
89+
[v0.3.0] [email protected]/1.13.0 (Protocol Version: 39)
90+
[v0.3.1] [email protected]/1.13.0 (Protocol Version: 39)
8891
```

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.3.1": 39,
34
"v0.3.0": 39,
45
"v0.2.5": 38,
56
"v0.2.4": 37,

go.mod

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
module github.com/ava-labs/precompile-evm
22

3-
go 1.22.8
3+
go 1.23.6
44

55
require (
6-
github.com/ava-labs/avalanchego v1.12.2
7-
github.com/ava-labs/subnet-evm v0.7.1
6+
github.com/ava-labs/avalanchego v1.13.0
7+
github.com/ava-labs/subnet-evm v0.7.3
88
github.com/onsi/ginkgo/v2 v2.13.1
99
github.com/onsi/gomega v1.29.0
10-
github.com/stretchr/testify v1.9.0
10+
github.com/stretchr/testify v1.10.0
1111
)
1212

1313
require (
1414
github.com/DataDog/zstd v1.5.2 // indirect
1515
github.com/NYTimes/gziphandler v1.1.1 // indirect
16+
github.com/StephenButtolph/canoto v0.15.0 // indirect
1617
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
1718
github.com/beorn7/perks v1.0.1 // indirect
1819
github.com/bits-and-blooms/bitset v1.10.0 // indirect
@@ -27,7 +28,7 @@ require (
2728
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
2829
github.com/consensys/bavard v0.1.13 // indirect
2930
github.com/consensys/gnark-crypto v0.12.1 // indirect
30-
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
31+
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
3132
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
3233
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
3334
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -99,7 +100,7 @@ require (
99100
github.com/spf13/viper v1.12.0 // indirect
100101
github.com/status-im/keycard-go v0.2.0 // indirect
101102
github.com/subosito/gotenv v1.3.0 // indirect
102-
github.com/supranational/blst v0.3.13 // indirect
103+
github.com/supranational/blst v0.3.14 // indirect
103104
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect
104105
github.com/tklauser/go-sysconf v0.3.12 // indirect
105106
github.com/tklauser/numcpus v0.6.1 // indirect
@@ -118,20 +119,20 @@ require (
118119
go.uber.org/mock v0.5.0 // indirect
119120
go.uber.org/multierr v1.11.0 // indirect
120121
go.uber.org/zap v1.26.0 // indirect
121-
golang.org/x/crypto v0.31.0 // indirect
122-
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
123-
golang.org/x/net v0.33.0 // indirect
124-
golang.org/x/sync v0.10.0 // indirect
125-
golang.org/x/sys v0.28.0 // indirect
126-
golang.org/x/term v0.27.0 // indirect
127-
golang.org/x/text v0.21.0 // indirect
122+
golang.org/x/crypto v0.35.0 // indirect
123+
golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e // indirect
124+
golang.org/x/net v0.36.0 // indirect
125+
golang.org/x/sync v0.11.0 // indirect
126+
golang.org/x/sys v0.30.0 // indirect
127+
golang.org/x/term v0.29.0 // indirect
128+
golang.org/x/text v0.22.0 // indirect
128129
golang.org/x/time v0.3.0 // indirect
129-
golang.org/x/tools v0.22.0 // indirect
130+
golang.org/x/tools v0.28.0 // indirect
130131
gonum.org/v1/gonum v0.11.0 // indirect
131132
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect
132133
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed // indirect
133134
google.golang.org/grpc v1.66.0 // indirect
134-
google.golang.org/protobuf v1.34.2 // indirect
135+
google.golang.org/protobuf v1.35.2 // indirect
135136
gopkg.in/ini.v1 v1.67.0 // indirect
136137
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
137138
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)