Skip to content

Commit

Permalink
Update versions for v1.11.2 (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Mar 1, 2024
1 parent caef151 commit daeacb1
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 6 deletions.
102 changes: 102 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion proto/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions version/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"34": [
"v1.11.2"
],
"33": [
"v1.11.0"
],
Expand Down
4 changes: 2 additions & 2 deletions version/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ 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
var (
Current = &Semantic{
Major: 1,
Minor: 11,
Patch: 0,
Patch: 2,
}
CurrentApp = &Application{
Name: Client,
Expand Down

0 comments on commit daeacb1

Please sign in to comment.