Skip to content

Releases: ava-labs/avalanchego

Etna - Reinventing Subnets

02 Dec 22:26
6fbb50d
Compare
Choose a tag to compare

This upgrade consists of the following Avalanche Community Proposals (ACPs):

  • ACP-77 Reinventing Subnets
  • ACP-103 Add Dynamic Fees to the P-Chain
  • ACP-118 Warp Signature Interface Standard
  • ACP-125 Reduce C-Chain minimum base fee from 25 nAVAX to 1 nAVAX
  • ACP-131 Activate Cancun EIPs on C-Chain and Subnet-EVM chains
  • ACP-151 Use current block P-Chain height as context for state verification

The changes in the upgrade go into effect at 12 PM ET (5 PM UTC) on Monday, December 16th, 2024 on Mainnet.

All Etna supporting Mainnet nodes should upgrade before 12 PM ET, December 16th 2024.

The plugin version is unchanged at 38 and is compatible with version v1.11.13.

APIs

  • Allowed platform.issueTx to be called, for non-ImportTx transactions, while partial syncing

What's Changed

New Contributors

Full Changelog: v1.11.13...v1.12.0

Etna - Reinventing Subnets - Fuji Pre-Release

19 Nov 00:28
cd19b65
Compare
Choose a tag to compare

Please note that this release is unable to run mainnet - and will display "mainnet is not supported" if attempted to run with a mainnet configuration.

This upgrade consists of the following Avalanche Community Proposals (ACPs):

  • ACP-77 Reinventing Subnets
  • ACP-103 Add Dynamic Fees to the P-Chain
  • ACP-118 Warp Signature Interface Standard
  • ACP-125 Reduce C-Chain minimum base fee from 25 nAVAX to 1 nAVAX
  • ACP-131 Activate Cancun EIPs on C-Chain and Subnet-EVM chains
  • ACP-151 Use current block P-Chain height as context for state verification

The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Monday, November 25th, 2024 on the Fuji testnet.

All Fuji nodes must upgrade before 11 AM ET, November 25th 2024.

The plugin version is unchanged at 38 and is compatible with version v1.11.13.

Full Changelog: v1.11.13...v1.12.0-fuji

Durango.13 - Etna Compatible

18 Nov 22:24
049be36
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 38 all plugins must update to be compatible.

APIs

  • Added platform.getL1Validator
  • Added platform.getProposedHeight
  • Updated platform.getValidatorsAt to accept "proposed" as valid height input

Configs

  • Added P-chain configs
    • "l1-weights-cache-size"
    • "l1-inactive-validators-cache-size"
    • "l1-subnet-id-node-id-cache-size"

Fixes

  • Fixed metrics initialization in the RPCChainVM. This could cause crashes during startup if metrics were requested during VM initialization.
  • Fixed compilation on macos 14.7 and higher
  • Fixed avalanchego wallet usage with ledger >=v0.8.4
  • Fixed missing NodeIDs argument in the info.peers client implementation
  • Fixed getSubnetID state tracing

What's Changed

Read more

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