Skip to content

Commit ef6a2a2

Browse files
Update versions v1.10.1 (ava-labs#1436)
Co-authored-by: Aaron Buchwald <aaron.buchwald56@gmail.com>
1 parent aed1db2 commit ef6a2a2

File tree

7 files changed

+105
-7
lines changed

7 files changed

+105
-7
lines changed

RELEASES.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,100 @@
11
# Release Notes
22

3+
## [v1.10.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.1)
4+
5+
This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. The supported plugin version is `26`.
6+
7+
### APIs
8+
9+
- Enabled `avm.getBlockByHeight` to take in `height` as a string
10+
- Added IDs to json formats
11+
- `platform.getTx` now includes `id` in the `tx` response
12+
- `platform.getBlock` now includes `id` in the `block` response and in the internal `tx` fields
13+
- `avm.getTx` now includes `id` in the `tx` response
14+
- `avm.getBlock` now includes `id` in the `block` response and in the internal `tx` fields
15+
- `avm.getBlockByHeight` now includes `id` in the `block` response and in the internal `tx` fields
16+
- Removed `avm.issueStopVertex`
17+
- Fixed `wallet` methods to correctly allow issuance of dependent transactions after the X-chain linearization
18+
- Added `validatorOnly` flag in `platform.getStake`
19+
- Removed all avalanche consensus metrics
20+
- Fixed `msgHandlingTime` metrics
21+
22+
### Configs
23+
24+
- Removed `--snow-avalanche-num-parents`
25+
- Removed `--snow-avalanche-batch-size`
26+
27+
### Fixes
28+
29+
- Fixed panic when restarting partially completed X-chain snowman bootstrapping
30+
- Fixed `--network-allow-private-ips` handling to correctly prevent outbound connections to private IP ranges
31+
- Fixed UniformSampler to support sampling numbers between MaxInt64 and MaxUint64
32+
- Fixed data race in txID access during transaction gossip in the AVM
33+
34+
### What's Changed
35+
36+
- Add benchmark for gRPC GetValidatorSet by @hexfusion in https://github.com/ava-labs/avalanchego/pull/1326
37+
- Add checks for database being closed in merkledb; other nits by @danlaine in https://github.com/ava-labs/avalanchego/pull/1333
38+
- Update linkedhashmap to only Rlock when possible by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1329
39+
- Remove no-op changes from history results by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1335
40+
- Cleanup type assertions in the linkedHashmap by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1341
41+
- Fix racy avm tx access by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1349
42+
- Update Fuji beacon ips by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1354
43+
- Remove duplicate TLS verification by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1364
44+
- Adjust Merkledb Trie invalidation locking by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1355
45+
- Use require in Avalanche bootstrapping tests by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1344
46+
- Add Proof size limit to sync client by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1269
47+
- Add stake priority helpers by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1375
48+
- add contribution file by @joshua-kim in https://github.com/ava-labs/avalanchego/pull/1373
49+
- Remove max sample value by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1374
50+
- Prefetch rpcdb iterator batches by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1323
51+
- Temp fix for flaky Sync Test by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1378
52+
- Update merkle cache to be FIFO instead of LRU by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1353
53+
- Improve cost of BLS key serialization for gRPC by @hexfusion in https://github.com/ava-labs/avalanchego/pull/1343
54+
- [Issue-1368]: Panic in serializedPath.HasPrefix by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1371
55+
- Add ValidatorsOnly flag to GetStake by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1377
56+
- Use proto in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1336
57+
- Update incorrect fuji beacon IPs by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1392
58+
- Update `api/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1393
59+
- refactor concurrent work limiting in sync in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1347
60+
- Remove check for impossible condition in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1348
61+
- Improve `codec/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1396
62+
- Improve `config/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1397
63+
- Improve `genesis/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1398
64+
- Improve various error handling locations by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1399
65+
- Improve `utils/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1400
66+
- Improve consensus error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1401
67+
- Improve secp256k1fx + merkledb error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1402
68+
- Ban usage of require.Error by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1346
69+
- Remove slice capacity hint in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1350
70+
- Simplify `syncWorkHeap` less function in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1351
71+
- Replace `switch` with `txs.Visitor` in X chain signer by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1404
72+
- Include IDs in json marshalling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1408
73+
- Adjust find next key logic in x/Sync by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1331
74+
- Remove bitmask from writeMsgLen by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1342
75+
- Require `txID`s in PeerList messages by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1411
76+
- Allow dependent tx issuance over the wallet API by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1413
77+
- Add support for proto `message.Tx` decoding by @danlaine in https://github.com/ava-labs/avalanchego/pull/1332
78+
- Remove avalanche bootstrapping -> avalanche consensus transition by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1345
79+
- Benchmark get canonical validator set by @aaronbuchwald in https://github.com/ava-labs/avalanchego/pull/1417
80+
- Simplify IP status calculation by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1421
81+
- Honor AllowPrivateIPs config by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1422
82+
- Update BLS signature ordering to avoid public key compression by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1416
83+
- Remove DAG based consensus by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1359
84+
- Remove IssueStopVertex message by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1419
85+
- Fix msgHandlingTime by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1432
86+
- Change ChangeProofs to only have one list of key/value change instead of key/values and deleted by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1385
87+
- Update AMI generation workflow by @charlie-ava in https://github.com/ava-labs/avalanchego/pull/1289
88+
- Support `height` as a string in `avm.getBlockByHeight` by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1437
89+
- Defer Snowman Bootstrapper parser initialization to Start by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1442
90+
- Cleanup proposervm ancestors packing @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1446
91+
92+
### New Contributors
93+
94+
- @hexfusion made their first contribution in https://github.com/ava-labs/avalanchego/pull/1326
95+
96+
**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.10.0...v1.10.1
97+
398
## [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0)
499

5100
[This upgrade](https://medium.com/avalancheavax/cortina-x-chain-linearization-a1d9305553f6) linearizes the X-chain, introduces delegation batching to the P-chain, and increases the maximum block size on the C-chain.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/Microsoft/go-winio v0.5.2
1414
github.com/NYTimes/gziphandler v1.1.1
1515
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0
16-
github.com/ava-labs/coreth v0.12.0-rc.2
16+
github.com/ava-labs/coreth v0.12.1-rc.0
1717
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7
1818
github.com/btcsuite/btcd/btcutil v1.1.3
1919
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax
5959
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
6060
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0 h1:TVi9JEdKNU/RevYZ9PyW4pULbEdS+KQDA9Ki2DUvuAs=
6161
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0/go.mod h1:SgKJvtqvgo/Bl/c8fxEHCLaSxEbzimYfBopcfrajxQk=
62-
github.com/ava-labs/coreth v0.12.0-rc.2 h1:UNyGhuC2HxZ8eCLZiZON8xRiJkNHVZ75zknu/xqkKBA=
63-
github.com/ava-labs/coreth v0.12.0-rc.2/go.mod h1:ZGhoIZTWbIaTmzEbprXu0hLtLdoE2PSTEFnCTYr0BRk=
62+
github.com/ava-labs/coreth v0.12.1-rc.0 h1:Zv9mJqddI28BZ5eT0SRgRrzl0sdRCdA/Mm+qZrHAhOs=
63+
github.com/ava-labs/coreth v0.12.1-rc.0/go.mod h1:ZGhoIZTWbIaTmzEbprXu0hLtLdoE2PSTEFnCTYr0BRk=
6464
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7 h1:EdxD90j5sClfL5Ngpz2TlnbnkNYdFPDXa0jDOjam65c=
6565
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7/go.mod h1:XhiXSrh90sHUbkERzaxEftCmUz53eCijshDLZ4fByVM=
6666
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=

proto/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Avalanche gRPC
22

3-
Now Serving: **Protocol Version 25**
3+
Now Serving: **Protocol Version 26**
44

55
Protobuf files are hosted at [https://buf.build/ava-labs/avalanche](https://buf.build/ava-labs/avalanche) and can be used as dependencies in other projects.
66

scripts/constants.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd ) # Direct
99
avalanchego_path="$AVALANCHE_PATH/build/avalanchego"
1010
plugin_dir=${PLUGIN_DIR:-$HOME/.avalanchego/plugins}
1111
evm_path=${EVM_PATH:-$plugin_dir/evm}
12-
coreth_version=${CORETH_VERSION:-'v0.12.0-rc.2'}
12+
coreth_version=${CORETH_VERSION:-'v0.12.1-rc.0'}
1313

1414
# Set the PATHS
1515
GOPATH="$(go env GOPATH)"

version/compatibility.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"26": [
3+
"v1.10.1"
4+
],
25
"25": [
36
"v1.10.0"
47
],

version/constants.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ import (
1414

1515
// RPCChainVMProtocol should be bumped anytime changes are made which require
1616
// the plugin vm to upgrade to latest avalanchego release to be compatible.
17-
const RPCChainVMProtocol uint = 25
17+
const RPCChainVMProtocol uint = 26
1818

1919
// These are globals that describe network upgrades and node versions
2020
var (
2121
Current = &Semantic{
2222
Major: 1,
2323
Minor: 10,
24-
Patch: 0,
24+
Patch: 1,
2525
}
2626
CurrentApp = &Application{
2727
Major: Current.Major,

0 commit comments

Comments
 (0)