Skip to content

Releases: ava-labs/avalanchego

Durango.12 - Etna Prep

14 Oct 19:54
cc22d5d
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but strongly encouraged.

The plugin version is unchanged at 37 and is compatible with version v1.11.11.

What's Changed

New Contributors

Full Changelog: v1.11.11...v1.11.12

Durango.11 - SoV Networking

04 Sep 00:01
d3c09eb
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is updated to 37 all plugins must update to be compatible.

APIs

  • Updated JSON marshalling of the Memo field to follow best practices
  • Added info.upgrades
  • Added platform.getFeeConfig
  • Added platform.getFeeState
  • Deprecated subnet uptimes
    • info.uptimes with non-primary network subnetIDs is deprecated
    • info.peers observedSubnetUptimes is deprecated
    • platform.getCurrentValidators uptime and connected are deprecated for non-primary network subnetIDs.
    • avalanche_network_node_subnet_uptime_weighted_average metric is deprecated
    • avalanche_network_node_subnet_uptime_rewarding_stake metric is deprecated
  • Added avalanche_network_tracked_peers metric
  • Added avalanche_network_tracked_subnets metric
  • Removed avalanche_network_tracked_ips metric
  • Added disconnected validators to the health check result

Configs

  • Added upgrade config
    • --upgrade-file
    • --upgrade-file-content
  • Added dynamic fees config
    • --dynamic-fees-bandwidth-weight
    • --dynamic-fees-read-weight
    • --dynamic-fees-write-weight
    • --dynamic-fees-compute-weight
    • --dynamic-fees-max-gas-capacity
    • --dynamic-fees-max-gas-per-second
    • --dynamic-fees-target-gas-per-second
    • --dynamic-fees-min-gas-price
    • --dynamic-fees-excess-conversion-constant

Fixes

  • Fixed panic when tracing is enabled
  • Removed duplicate block signature verifications during bootstrapping
  • Fixed racy timer clearing in message throttling

What's Changed

Read more

Durango.10 - Block Status Removal

25 Jul 22:42
536005c
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is updated to 36 all plugins must update to be compatible.

APIs

  • Renamed avalanche_{vmName}_plugin_.* metrics to avalanche_{vmName}_.*
  • Renamed avalanche_{vmName}_rpcchainvm_.* metrics to avalanche_rpcchainvm_.*

Fixes

  • Updated local network validator start times
  • Fixed block building timer recalculation when anyone can propose

What's Changed

New Contributors

Full Changelog: v1.11.9...v1.11.10

Durango.9 - Consensus Engine Improvements

03 Jul 23:46
65c653d
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.8.

APIs

  • Updated health metrics to use labels rather than namespaces
  • Added consensus poll termination metrics

Configs

  • Added --version-json flag to output version information in json format

Fixes

  • Fixed incorrect WARN log that could previously be emitted during start on nodes with slower disks
  • Fixed incorrect ERROR log that could previously be emitted if a peer tracking a subnet connects during shutdown
  • Fixed ledger dependency on erased commit
  • Fixed protobuf dependency to resolve compilation issues in some cases
  • Fixed C-chain filename logging

What's Changed

Full Changelog: v1.11.8...v1.11.9

Durango.8 - Metrics Overhaul

12 Jun 17:36
41e46d1
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.7.

APIs

  • Redesigned metrics to use labels rather than custom namespaces.

What's Changed

Full Changelog: v1.11.7...v1.11.8

Durango.7 - Metrics Overhaul Preparation

05 Jun 22:21
e8ecbad
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.6.

APIs

  • Added peer's trackedSubnets that are not locally tracked to the response from info.peers

Configs

  • Changed the undocumented pebble option for --db-type to be pebbledb and documented the option

Fixes

  • Removed repeated DB compaction during bootstrapping that caused a significant regression in bootstrapping times
  • Fixed C-Chain state-sync crash
  • Fixed C-Chain state-sync ETA calculation
  • Fixed Subnet owner reported by platform.getSubnets after a subnet's owner was rotated

What's Changed

New Contributors

Full Changelog: v1.11.6...v1.11.7

Durango.6 - Bootstrapping Execution Improvements

23 May 16:08
944d3db
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.5.

APIs

  • Updated cache metrics:
    • *_cache_put_sum was replaced with *_cache_put_time
    • *_cache_get_sum was replaced with *_cache_get_time
    • *_cache_hit and *_cache_miss were removed and *_cache_get_count added a result label
  • Updated db metrics:
    • *_db_{method}_count were replaced with *_db_calls with a method label
    • *_db_{method}_sum were replaced with *_db_duration with a method label
    • *_db_{method}_size_count were deleted
    • *_db_{method}_size_sum were replaced with *_db_size with a method label
  • Updated p2p message compression metrics:
    • avalanche_network_codec_{type}_{op}_{direction}_time_count were replaced with avalanche_network_codec_compressed_count with direction, op, and type labels
  • Updated p2p message metrics:
    • avalanche_network_{op}_{io} were replaced with avalanche_network_msgs with compressed:"false", io, and op labels
    • avalanche_network_{op}_{io}_bytes were replaced with avalanche_network_msgs_bytes with io and op labels
    • avalanche_network_{op}_compression_saved_{io}_bytes_sum were replaced with avalanche_network_msgs_bytes_saved with io and op labels
    • avalanche_network_{op}_compression_saved_{io}_bytes_count were replaced with avalanche_network_msgs with compressed:"true", io, and op labels
    • avalanche_network_{op}_failed were replaced with avalanche_network_msgs_failed_to_send with an op label
  • Updated p2p sdk message metrics:
    • *_p2p_{op}_count were replaced with *_p2p_msg_count with an op label
    • *_p2p_{op}_time were replaced with *_p2p_msg_time with an op label
  • Updated consensus message queue metrics:
    • avalanche_{chainID}_handler_unprocessed_msgs_{op} were replaced with avalanche_{chainID}_handler_unprocessed_msgs_count with an op label
    • avalanche_{chainID}_handler_async_unprocessed_msgs_{op} were replaced with avalanche_{chainID}_handler_unprocessed_msgs_count with an op label
  • Updated consensus handler metrics:
    • avalanche_{chainID}_handler_{op}_count were replaced with avalanche_{chainID}_handler_messages with an op label
    • avalanche_{chainID}_handler_{op}_msg_handling_count was deleted
    • avalanche_{chainID}_handler_{op}_msg_handling_sum were replaced with avalanche_{chainID}_handler_message_handling_time with an op label
    • avalanche_{chainID}_handler_{op}_sum were replaced with avalanche_{chainID}_handler_locking_time
  • Updated consensus sender metrics:
    • avalanche_{chainID}_{op}_failed_benched were replaced with avalanche_{chainID}_failed_benched with an op label
  • Updated consensus latency metrics:
    • avalanche_{chainID}_lat_{op}_count were replaced with avalanche_{chainID}_response_messages with an op label
    • avalanche_{chainID}_lat_{op}_sum were replaced with avalanche_{chainID}_response_message_latencies with an op label
  • Updated X-chain metrics:
    • avalanche_X_vm_avalanche_{tx}_txs_accepted were replaced with avalanche_X_vm_avalanche_txs_accepted with a tx label
  • Updated P-chain metrics:
    • avalanche_P_vm_{tx}_txs_accepted were replaced with avalanche_P_vm_txs_accepted with a tx label
    • avalanche_P_vm_{blk}_blks_accepted were replaced with avalanche_P_vm_blks_accepted with a blk label

Fixes

  • Fixed performance regression while executing blocks in bootstrapping
  • Fixed peer connection tracking in the P-chain and C-chain to re-enable tx pull gossip
  • Fixed C-chain deadlock while executing blocks in bootstrapping after aborting state sync
  • Fixed negative ETA while fetching blocks after aborting state sync
  • Fixed C-chain snapshot initialization after state sync
  • Fixed panic when running avalanchego in environments with an incorrectly implemented monotonic clock
  • Fixed memory corruption when accessing keys and values from released pebbledb iterators
  • Fixed prefixdb compaction when specifying a nil limit

What's Changed

New Contributors

Read more

Durango.5 - Bootstrapping Optimizations

30 Apr 17:59
f8d7b29
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.4.

APIs

  • Renamed metric avalanche_network_validator_ips to avalanche_network_tracked_ips

Configs

  • Removed --snow-virtuous-commit-threshold
  • Removed --snow-rogue-commit-threshold

Fixes

  • Fixed increased outbound PeerList messages when specifying custom bootstrap IDs
  • Fixed CPU spike when disconnected from the network during bootstrapping fetching
  • Fixed topological sort in vote calculation
  • Fixed job dependency handling for transitively rejected blocks
  • Prevented creation of unnecessary consensus polls during the issuance of a block

What's Changed

New Contributors

Full Changelog: v1.11.4...v1.11.5

Durango.4 - Interval Tree Bootstrapping

09 Apr 20:51
e8904ae
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is unchanged at 35 and is compatible with version v1.11.3.

APIs

  • Removed metrics for each chainID:
    • avalanche_{chainID}_bs_eta_fetching_complete
    • avalanche_{chainID}_block_eta_execution_complete
    • avalanche_{chainID}_block_jobs_cache_get_count
    • avalanche_{chainID}_block_jobs_cache_get_sum
    • avalanche_{chainID}_block_jobs_cache_hit
    • avalanche_{chainID}_block_jobs_cache_len
    • avalanche_{chainID}_block_jobs_cache_miss
    • avalanche_{chainID}_block_jobs_cache_portion_filled
    • avalanche_{chainID}_block_jobs_cache_put_count
    • avalanche_{chainID}_block_jobs_cache_put_sum
  • Added finer grained tracing of merkledb trie construction and hashing
    • renamed MerkleDB.view.calculateNodeIDs to MerkleDB.view.applyValueChanges
    • Added MerkleDB.view.calculateNodeChanges
    • Added MerkleDB.view.hashChangedNodes

Fixes

  • Fixed p2p SDK handling of cancelled AppRequest messages
  • Fixed merkledb crash recovery

What's Changed

Full Changelog: v1.11.3...v1.11.4

Durango.3 - Legacy Gossip Removal

21 Mar 22:57
7a67e5a
Compare
Choose a tag to compare

This version is backwards compatible to v1.11.0. It is optional, but encouraged.

The plugin version is updated to 35 all plugins must update to be compatible.

APIs

  • Removed:
    • platform.GetPendingValidators
    • platform.GetMaxStakeAmount

Configs

  • Removed avalanchego configs:
    • network-peer-list-validator-gossip-size
    • network-peer-list-non-validator-gossip-size
    • network-peer-list-peers-gossip-size
    • network-peer-list-gossip-frequency
    • consensus-accepted-frontier-gossip-validator-size
    • consensus-accepted-frontier-gossip-non-validator-size
    • consensus-accepted-frontier-gossip-peer-size
    • consensus-on-accept-gossip-validator-size
    • consensus-on-accept-gossip-non-validator-size
    • consensus-on-accept-gossip-peer-size
  • Added P-chain, X-chain, and C-chain configs:
    • push-gossip-percent-stake

Fixes

  • Fixed p2p SDK validator sampling to only return connected validators

What's Changed

New Contributors

Full Changelog: v1.11.2...v1.11.3