Skip to content

Releases: ava-labs/avalanchego

Cortina.7 - Validator Diff Indexing

02 Aug 19:48
aa481dd
Compare
Choose a tag to compare

This version is backwards compatible to v1.10.0. This release contains meaningful performance improvements and we recommend updating as soon as possible.

The plugin version is unchanged at 27 and compatible with versions v1.10.5 - v1.10.6.

APIs

  • Modified platform.getValidatorsAt to also return BLS public keys

Configs

  • Changed the default value of --network-allow-private-ips to false when the --network-id is either fuji or mainnet
  • Added --process-context-file which defaults to [--data-dir]/process.json
  • Added P-chain cache size configurations
    • block-cache-size
    • tx-cache-size
    • transformed-subnet-tx-cache-size
    • reward-utxos-cache-size
    • chain-cache-size
    • chain-db-cache-size
  • Removed various long deprecated flags
    • --genesis use --genesis-file instead
    • --genesis-content use --genesis-file-content instead
    • --inbound-connection-throttling-cooldown use --network-inbound-connection-throttling-cooldown instead
    • --inbound-connection-throttling-max-conns-per-sec use --network-inbound-connection-throttling-max-conns-per-sec instead
    • --outbound-connection-throttling-rps use network-outbound-connection-throttling-rps instead
    • --outbound-connection-timeout use network-outbound-connection-timeout instead
    • --staking-enabled use sybil-protection-enabled instead
    • --staking-disabled-weight use sybil-protection-disabled-weight instead
    • --network-compression-enabled use --network-compression-type instead
    • --consensus-gossip-frequency use --consensus-accepted-frontier-gossip-frequency instead

Fixes

  • Fixed C-chain tx tracer crashes
  • Fixed merkledb panic during state sync
  • Fixed merkledb state sync stale target tracking

What's Changed

Full Changelog: v1.10.5...v1.10.7

Cortina.6 - Validator Diff Indexing

03 Aug 17:14
6026279
Compare
Choose a tag to compare
Pre-release

This version is backwards compatible to v1.10.0. This release contains meaningful performance improvements and we recommend updating as soon as possible.

The plugin version is unchanged at 27 and compatible with version v1.10.5.

APIs

  • Modified platform.getValidatorsAt to also return BLS public keys

Configs

  • Changed the default value of --network-allow-private-ips to false when the --network-id is either fuji or mainnet
  • Added P-chain cache size configurations
    • block-cache-size
    • tx-cache-size
    • transformed-subnet-tx-cache-size
    • reward-utxos-cache-size
    • chain-cache-size
    • chain-db-cache-size
  • Removed various long deprecated flags
    • --genesis use --genesis-file instead
    • --genesis-content use --genesis-file-content instead
    • --inbound-connection-throttling-cooldown use --network-inbound-connection-throttling-cooldown instead
    • --inbound-connection-throttling-max-conns-per-sec use --network-inbound-connection-throttling-max-conns-per-sec instead
    • --outbound-connection-throttling-rps use network-outbound-connection-throttling-rps instead
    • --outbound-connection-timeout use network-outbound-connection-timeout instead
    • --staking-enabled use sybil-protection-enabled instead
    • --staking-disabled-weight use sybil-protection-disabled-weight instead
    • --network-compression-enabled use --network-compression-type instead
    • --consensus-gossip-frequency use --consensus-accepted-frontier-gossip-frequency instead

Fixes

  • Fixed C-chain tx tracer crashes
  • Fixed merkledb panic during state sync
  • Fixed merkledb state sync stale target tracking

What's Changed

Full Changelog: v1.10.5...v1.10.6

Cortina.5 - X-Chain Height Indexing

19 Jul 22:42
0ec52a9
Compare
Choose a tag to compare

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

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

The first startup of the X-Chain will perform an indexing operation. This indexing runs in the background and does not impact restart time.

APIs

  • Added avalanche_network_clock_skew_sum metric
  • Added avalanche_network_clock_skew_count metric

Configs

  • Added --tracing-headers to allow specifying headers to the tracing indexer

Fixes

  • Fixed API handler crash for lookupState in prestate tracer
  • Fixed API handler crash for LOG edge cases in the callTracer

What's Changed

New Contributors

Full Changelog: v1.10.4...v1.10.5

Cortina.4 - X-Chain DB Cleanup

10 Jul 22:34
3e8552d
Compare
Choose a tag to compare

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

The plugin version is unchanged at 26 and compatible with versions v1.10.1 - v1.10.3.

The first startup of the X-Chain will perform a pruning operation. This pruning runs in the background and does not impact restart time.

APIs

  • Removed avalanche_X_vm_avalanche_metervm_pending_txs_count metric
  • Removed avalanche_X_vm_avalanche_metervm_pending_txs_sum metric
  • Removed avalanche_X_vm_avalanche_metervm_get_tx_count metric
  • Removed avalanche_X_vm_avalanche_metervm_get_tx_sum metric
  • Removed avalanche_X_vm_avalanche_metervm_get_tx_err_count metric
  • Removed avalanche_X_vm_avalanche_metervm_get_tx_err_sum metric

Configs

  • Added --staking-host to allow binding only on a specific address for staking
  • Added checksums-enabled to the X-chain and P-chain configs

Fixes

  • Fixed proposervm preForkBlock.Status() response after the fork has occurred
  • Fixed C-chain logs collection error when no receipts occur in a block
  • Fixed merkledb's findNextKey when an empty end proof is provided
  • Fixed 0 length key issues with proof generation and verification
  • Fixed Docker execution on non-amd64 architectures

What's Changed

New Contributors

Full Changelog: v1.10.3...v1.10.4

Cortina.3 - Push Query Reduction

14 Jun 23:14
eb6e797
Compare
Choose a tag to compare

This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26.

Users must specify the --allowed-hosts-flag to receive inbound API traffic from non-local hosts.

APIs

  • Added health metrics based on tags
    • avalanche_health_checks_failing{tag="TAG"}
    • avalanche_liveness_checks_failing{tag="TAG"}
    • avalanche_readiness_checks_failing{tag="TAG"}
  • Removed P-chain VM percent connected metrics
    • avalanche_P_vm_percent_connected
    • avalanche_P_vm_percent_connected_subnet{subnetID="SUBNETID"}
  • Added percent connected metrics by chain
    • avalanche_{ChainID}_percent_connected
  • Removed avalanche_network_send_queue_portion_full metric

Configs

  • Added --http-allowed-hosts with a default value of localhost
  • Removed --snow-mixed-query-num-push-vdr
  • Removed --snow-mixed-query-num-push-non-vdr
  • Removed minPercentConnectedStakeHealthy from the subnet config

Fixes

  • Fixed platformvm.GetValidatorSet returning incorrect BLS public keys
  • Fixed IPv6 literal binding with --http-host
  • Fixed P2P message log format

What's Changed

New Contributors

Full Changelog: v1.10.2...v1.10.3

Cortina.2 - Post-Linearization Cleanup

24 May 03:13
f7307d5
Compare
Choose a tag to compare

This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26.

APIs

  • Significantly improved the performance of platform.getStake
  • Added portion_filled metric for all metered caches
  • Added resource metrics by process
    • avalanche_system_resources_num_cpu_cycles
    • avalanche_system_resources_num_disk_read_bytes
    • avalanche_system_resources_num_disk_reads
    • avalanche_system_resources_num_disk_write_bytes
    • avalanche_system_resources_num_disk_writes

Configs

  • Deprecated --genesis in favor of --genesis-file
  • Deprecated --genesis-content in favor of --genesis-file-content
  • Deprecated --inbound-connection-throttling-cooldown in favor of --network-inbound-connection-throttling-cooldown
  • Deprecated --inbound-connection-throttling-max-conns-per-sec in favor of --network-inbound-connection-throttling-max-conns-per-sec
  • Deprecated --outbound-connection-throttling-rps in favor of --network-outbound-connection-throttling-rps
  • Deprecated --outbound-connection-timeout in favor of --network-outbound-connection-timeout
  • Deprecated --staking-enabled in favor of --sybil-protection-enabled
  • Deprecated --staking-disabled-weight in favor of --sybil-protection-disabled-weight
  • Deprecated --consensus-gossip-frequency in favor of --consensus-accepted-frontier-gossip-frequency

Fixes

  • Fixed --network-compression-type to correctly honor the requested compression type, rather than always using gzip
  • Fixed CPU metrics on macos

What's Changed

New Contributors

Full Changelog: v1.10.1...v1.10.2

Cortina.1 - DAG Engine Removal

29 Apr 03:39
ef6a2a2
Compare
Choose a tag to compare

This version is backwards compatible to 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

New Contributors

Full Changelog: v1.10.0...v1.10.1

Cortina - X-Chain Linearization

12 Apr 00:07
5354562
Compare
Choose a tag to compare

This upgrade linearizes the X-chain, introduces delegation batching to the P-chain, and increases the maximum block size on the C-chain.

The changes in the upgrade go into effect at 11 AM ET, April 25th 2023 on Mainnet.

All Mainnet nodes should upgrade before 11 AM ET, April 25th 2023.

The supported plugin version is 25.

What's Changed

New Contributors

Full Changelog: v1.9.16...v1.10.0

Cortina - DAG Linearization - Fuji Pre-Release

04 Apr 00:25
fa8b402
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 linearizes the X-chain, introduces delegation batching to the P-chain, and increases the maximum block size on the C-chain.

The changes in the upgrade go into effect at 11 AM EDT, April 6th 2023 on the Fuji testnet. After Fuji is updated and verified, a mainnet compatible release will be published.

All Fuji nodes should upgrade before 11 AM EDT, April 6th 2023.

The supported plugin version is 25.

What's Changed

New Contributors

Full Changelog: v1.9.16...v1.10.0-fuji

Banff.16

26 Mar 01:58
7d73b59
Compare
Choose a tag to compare

This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.

  • Removed unnecessary repoll after rejecting vertices
  • Improved snowstorm lookup error handling
  • Removed rejected vertices from the Avalanche frontier more aggressively
  • Reduced default health check values for processing decisions