diff --git a/RELEASES.md b/RELEASES.md index 8a8b007eff3e..ebf1482be310 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,107 @@ # Release Notes +## [v1.11.2](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.2) + +This version is backwards compatible to [v1.11.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.0). It is optional, but strongly encouraged. + +The plugin version is updated to `34` all plugins must update to be compatible. + +### APIs + +- Removed the `ipc` API +- Removed the `auth` API +- Removed most `keystore` related methods from the `platform` API + - `platform.importKey` + - `platform.createAddress` + - `platform.addValidator` + - `platform.addDelegator` + - `platform.addSubnetValidator` + - `platform.createSubnet` + - `platform.exportAVAX` + - `platform.importAVAX` + - `platform.createBlockchain` +- Added push gossip metrics: + - `gossip_tracking{type="sent"}` + - `gossip_tracking{type="unsent"}` + - `gossip_tracking_lifetime_average` + to the following namespaces: + - `avalanche_P_vm_tx` + - `avalanche_X_vm_avalanche_tx` + - `avalanche_C_vm_sdk_atomic_tx_gossip` + - `avalanche_C_vm_sdk_eth_tx_gossip` +- Removed metrics: + - `avalanche_C_vm_eth_gossip_atomic_sent` + - `avalanche_C_vm_eth_gossip_eth_txs_sent` + - `avalanche_C_vm_eth_regossip_eth_txs_queued_attempts` + - `avalanche_C_vm_eth_regossip_eth_txs_queued_local_tx_count` + - `avalanche_C_vm_eth_regossip_eth_txs_queued_remote_tx_count` + +### Configs + +- Removed: + - `api-ipcs-enabled` + - `ipcs-chain-ids` + - `ipcs-path` + - `api-auth-required` + - `api-auth-password` + - `api-auth-password-file` + - `consensus-app-gossip-validator-size` + - `consensus-app-gossip-non-validator-size` + - `consensus-app-gossip-peer-size` +- Removed subnet configs: + - `appGossipValidatorSize` + - `appGossipNonValidatorSize` + - `appGossipPeerSize` +- Added X-chain and P-chain networking configs: + - `push-gossip-num-validators` + - `push-gossip-num-peers` + - `push-regossip-num-validators` + - `push-regossip-num-peers` + - `push-gossip-discarded-cache-size` + - `push-gossip-max-regossip-frequency` + - `push-gossip-frequency` +- Removed X-chain and P-chain networking configs: + - `legacy-push-gossip-cache-size` +- Added C-chain configs: + - `push-gossip-num-validators` + - `push-gossip-num-peers` + - `push-regossip-num-validators` + - `push-regossip-num-peers` + - `push-gossip-frequency` + - `pull-gossip-frequency` + - `tx-pool-lifetime` +- Removed C-chain configs: + - `tx-pool-journal` + - `tx-pool-rejournal` + - `remote-gossip-only-enabled` + - `regossip-max-txs` + - `remote-tx-gossip-only-enabled` + - `tx-regossip-max-size` + +### Fixes + +- Fixed mempool push gossip amplification + +### What's Changed + +- Remove deprecated IPC API by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2760 +- `vms/platformvm`: Remove all keystore APIs except `ExportKey` and `ListAddresses` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2761 +- Remove Deprecated Auth API by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2759 +- Remove `defaultAddress` helper from platformvm service tests by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2767 +- [trace] upgrade opentelemetry to v1.22.0 by @bianyuanop in https://github.com/ava-labs/avalanchego/pull/2702 +- Reenable the upgrade tests by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2769 +- [network/p2p] Redesign Push Gossip by @patrick-ogrady in https://github.com/ava-labs/avalanchego/pull/2772 +- Move AppGossip configs from SubnetConfig into ChainConfig by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2785 +- `merkledb` -- move compressedKey declaration to avoid usage of stale values in loop by @danlaine in https://github.com/ava-labs/avalanchego/pull/2777 +- `merkledb` -- fix `hasValue` in `recordNodeDeleted` by @danlaine in https://github.com/ava-labs/avalanchego/pull/2779 +- `merkledb` -- rename metrics and add missing call by @danlaine in https://github.com/ava-labs/avalanchego/pull/2781 +- `merkledb` -- style nit, remove var name `newView` to reduce shadowing by @danlaine in https://github.com/ava-labs/avalanchego/pull/2784 +- `merkledb` style nits by @danlaine in https://github.com/ava-labs/avalanchego/pull/2783 +- `merkledb` comment accuracy fixes by @danlaine in https://github.com/ava-labs/avalanchego/pull/2780 +- Increase gossip size on first push by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2787 + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.11.0...v1.11.2 + ## [v1.11.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.0) This upgrade consists of the following Avalanche Community Proposals (ACPs): diff --git a/go.mod b/go.mod index ecb2d4c8abcd..a8df80e7267e 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ go 1.21 require ( github.com/DataDog/zstd v1.5.2 github.com/NYTimes/gziphandler v1.1.1 - github.com/ava-labs/coreth v0.13.1-rc.4 + github.com/ava-labs/coreth v0.13.1-rc.5 github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34 github.com/btcsuite/btcd/btcutil v1.1.3 github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 diff --git a/go.sum b/go.sum index 6c5578440404..4d4df617e114 100644 --- a/go.sum +++ b/go.sum @@ -63,8 +63,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/ava-labs/coreth v0.13.1-rc.4 h1:/3LsQi64oet6uCoUhEkgEXXcAAZFGPMUNJGdU03XH30= -github.com/ava-labs/coreth v0.13.1-rc.4/go.mod h1:4y1igTe/sFOIrpAtXoY+AdmfftNHrmrhBBRVfGCAPcw= +github.com/ava-labs/coreth v0.13.1-rc.5 h1:YcTs9nryZLkf4gPmMyFx1TREFpDTPdg/VCNGGHSF2TY= +github.com/ava-labs/coreth v0.13.1-rc.5/go.mod h1:4y1igTe/sFOIrpAtXoY+AdmfftNHrmrhBBRVfGCAPcw= github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34 h1:mg9Uw6oZFJKytJxgxnl3uxZOs/SB8CVHg6Io4Tf99Zc= github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34/go.mod h1:pJxaT9bUgeRNVmNRgtCHb7sFDIRKy7CzTQVi8gGNT6g= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= diff --git a/proto/README.md b/proto/README.md index fee58835f21a..760ab6dee4bd 100644 --- a/proto/README.md +++ b/proto/README.md @@ -1,6 +1,6 @@ # Avalanche gRPC -Now Serving: **Protocol Version 33** +Now Serving: **Protocol Version 34** Protobuf files are hosted at [https://buf.build/ava-labs/avalanche](https://buf.build/ava-labs/avalanche) and diff --git a/version/compatibility.json b/version/compatibility.json index 756a6a981392..07531e693613 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -1,4 +1,7 @@ { + "34": [ + "v1.11.2" + ], "33": [ "v1.11.0" ], diff --git a/version/constants.go b/version/constants.go index 87226ff7086e..24fe783f0b03 100644 --- a/version/constants.go +++ b/version/constants.go @@ -18,7 +18,7 @@ const ( // RPCChainVMProtocol should be bumped anytime changes are made which // require the plugin vm to upgrade to latest avalanchego release to be // compatible. - RPCChainVMProtocol uint = 33 + RPCChainVMProtocol uint = 34 ) // These are globals that describe network upgrades and node versions @@ -26,7 +26,7 @@ var ( Current = &Semantic{ Major: 1, Minor: 11, - Patch: 0, + Patch: 2, } CurrentApp = &Application{ Name: Client,