diff --git a/RELEASES.md b/RELEASES.md index 1a3d929ea8d..7baa9279b0e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,100 @@ # Release Notes +## [v1.10.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.1) + +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`. + +### APIs + +- Enabled `avm.getBlockByHeight` to take in `height` as a string +- Added IDs to json formats + - `platform.getTx` now includes `id` in the `tx` response + - `platform.getBlock` now includes `id` in the `block` response and in the internal `tx` fields + - `avm.getTx` now includes `id` in the `tx` response + - `avm.getBlock` now includes `id` in the `block` response and in the internal `tx` fields + - `avm.getBlockByHeight` now includes `id` in the `block` response and in the internal `tx` fields +- Removed `avm.issueStopVertex` +- Fixed `wallet` methods to correctly allow issuance of dependent transactions after the X-chain linearization +- Added `validatorOnly` flag in `platform.getStake` +- Removed all avalanche consensus metrics +- Fixed `msgHandlingTime` metrics + +### Configs + +- Removed `--snow-avalanche-num-parents` +- Removed `--snow-avalanche-batch-size` + +### Fixes + +- Fixed panic when restarting partially completed X-chain snowman bootstrapping +- Fixed `--network-allow-private-ips` handling to correctly prevent outbound connections to private IP ranges +- Fixed UniformSampler to support sampling numbers between MaxInt64 and MaxUint64 +- Fixed data race in txID access during transaction gossip in the AVM + +### What's Changed + +- Add benchmark for gRPC GetValidatorSet by @hexfusion in https://github.com/ava-labs/avalanchego/pull/1326 +- Add checks for database being closed in merkledb; other nits by @danlaine in https://github.com/ava-labs/avalanchego/pull/1333 +- Update linkedhashmap to only Rlock when possible by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1329 +- Remove no-op changes from history results by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1335 +- Cleanup type assertions in the linkedHashmap by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1341 +- Fix racy avm tx access by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1349 +- Update Fuji beacon ips by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1354 +- Remove duplicate TLS verification by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1364 +- Adjust Merkledb Trie invalidation locking by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1355 +- Use require in Avalanche bootstrapping tests by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1344 +- Add Proof size limit to sync client by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1269 +- Add stake priority helpers by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1375 +- add contribution file by @joshua-kim in https://github.com/ava-labs/avalanchego/pull/1373 +- Remove max sample value by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1374 +- Prefetch rpcdb iterator batches by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1323 +- Temp fix for flaky Sync Test by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1378 +- Update merkle cache to be FIFO instead of LRU by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1353 +- Improve cost of BLS key serialization for gRPC by @hexfusion in https://github.com/ava-labs/avalanchego/pull/1343 +- [Issue-1368]: Panic in serializedPath.HasPrefix by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1371 +- Add ValidatorsOnly flag to GetStake by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1377 +- Use proto in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1336 +- Update incorrect fuji beacon IPs by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1392 +- Update `api/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1393 +- refactor concurrent work limiting in sync in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1347 +- Remove check for impossible condition in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1348 +- Improve `codec/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1396 +- Improve `config/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1397 +- Improve `genesis/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1398 +- Improve various error handling locations by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1399 +- Improve `utils/` error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1400 +- Improve consensus error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1401 +- Improve secp256k1fx + merkledb error handling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1402 +- Ban usage of require.Error by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1346 +- Remove slice capacity hint in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1350 +- Simplify `syncWorkHeap` less function in `x/sync` by @danlaine in https://github.com/ava-labs/avalanchego/pull/1351 +- Replace `switch` with `txs.Visitor` in X chain signer by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1404 +- Include IDs in json marshalling by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1408 +- Adjust find next key logic in x/Sync by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1331 +- Remove bitmask from writeMsgLen by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1342 +- Require `txID`s in PeerList messages by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1411 +- Allow dependent tx issuance over the wallet API by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1413 +- Add support for proto `message.Tx` decoding by @danlaine in https://github.com/ava-labs/avalanchego/pull/1332 +- Remove avalanche bootstrapping -> avalanche consensus transition by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1345 +- Benchmark get canonical validator set by @aaronbuchwald in https://github.com/ava-labs/avalanchego/pull/1417 +- Simplify IP status calculation by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1421 +- Honor AllowPrivateIPs config by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1422 +- Update BLS signature ordering to avoid public key compression by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1416 +- Remove DAG based consensus by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1359 +- Remove IssueStopVertex message by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1419 +- Fix msgHandlingTime by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1432 +- 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 +- Update AMI generation workflow by @charlie-ava in https://github.com/ava-labs/avalanchego/pull/1289 +- Support `height` as a string in `avm.getBlockByHeight` by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1437 +- Defer Snowman Bootstrapper parser initialization to Start by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1442 +- Cleanup proposervm ancestors packing @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1446 + +### New Contributors + +- @hexfusion made their first contribution in https://github.com/ava-labs/avalanchego/pull/1326 + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.10.0...v1.10.1 + ## [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0) [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. diff --git a/go.mod b/go.mod index b2ef1b93338..bf8f0a79d44 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/Microsoft/go-winio v0.5.2 github.com/NYTimes/gziphandler v1.1.1 github.com/ava-labs/avalanche-network-runner-sdk v0.3.0 - github.com/ava-labs/coreth v0.12.0-rc.2 + github.com/ava-labs/coreth v0.12.1-rc.0 github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7 github.com/btcsuite/btcd/btcutil v1.1.3 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 diff --git a/go.sum b/go.sum index 49ecd374e46..d83cee59ef2 100644 --- a/go.sum +++ b/go.sum @@ -59,8 +59,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/ava-labs/avalanche-network-runner-sdk v0.3.0 h1:TVi9JEdKNU/RevYZ9PyW4pULbEdS+KQDA9Ki2DUvuAs= github.com/ava-labs/avalanche-network-runner-sdk v0.3.0/go.mod h1:SgKJvtqvgo/Bl/c8fxEHCLaSxEbzimYfBopcfrajxQk= -github.com/ava-labs/coreth v0.12.0-rc.2 h1:UNyGhuC2HxZ8eCLZiZON8xRiJkNHVZ75zknu/xqkKBA= -github.com/ava-labs/coreth v0.12.0-rc.2/go.mod h1:ZGhoIZTWbIaTmzEbprXu0hLtLdoE2PSTEFnCTYr0BRk= +github.com/ava-labs/coreth v0.12.1-rc.0 h1:Zv9mJqddI28BZ5eT0SRgRrzl0sdRCdA/Mm+qZrHAhOs= +github.com/ava-labs/coreth v0.12.1-rc.0/go.mod h1:ZGhoIZTWbIaTmzEbprXu0hLtLdoE2PSTEFnCTYr0BRk= github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7 h1:EdxD90j5sClfL5Ngpz2TlnbnkNYdFPDXa0jDOjam65c= github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7/go.mod h1:XhiXSrh90sHUbkERzaxEftCmUz53eCijshDLZ4fByVM= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= diff --git a/proto/README.md b/proto/README.md index f42fbf11d17..81412ec3359 100644 --- a/proto/README.md +++ b/proto/README.md @@ -1,6 +1,6 @@ # Avalanche gRPC -Now Serving: **Protocol Version 25** +Now Serving: **Protocol Version 26** 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. diff --git a/scripts/constants.sh b/scripts/constants.sh index 5df8872f7ac..2d05959294e 100755 --- a/scripts/constants.sh +++ b/scripts/constants.sh @@ -9,7 +9,7 @@ AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd ) # Direct avalanchego_path="$AVALANCHE_PATH/build/avalanchego" plugin_dir=${PLUGIN_DIR:-$HOME/.avalanchego/plugins} evm_path=${EVM_PATH:-$plugin_dir/evm} -coreth_version=${CORETH_VERSION:-'v0.12.0-rc.2'} +coreth_version=${CORETH_VERSION:-'v0.12.1-rc.0'} # Set the PATHS GOPATH="$(go env GOPATH)" diff --git a/version/compatibility.json b/version/compatibility.json index e11fdd3524f..960fdf56ee3 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -1,4 +1,7 @@ { + "26": [ + "v1.10.1" + ], "25": [ "v1.10.0" ], diff --git a/version/constants.go b/version/constants.go index d491e9b00fd..ec8b6772a75 100644 --- a/version/constants.go +++ b/version/constants.go @@ -14,14 +14,14 @@ import ( // RPCChainVMProtocol should be bumped anytime changes are made which require // the plugin vm to upgrade to latest avalanchego release to be compatible. -const RPCChainVMProtocol uint = 25 +const RPCChainVMProtocol uint = 26 // These are globals that describe network upgrades and node versions var ( Current = &Semantic{ Major: 1, Minor: 10, - Patch: 0, + Patch: 1, } CurrentApp = &Application{ Major: Current.Major,