Releases: ava-labs/avalanchego
Apricot Phase 1 - Patch 1
This update is backwards compatible. It is optional, but encouraged. The patch includes stability, monitoring improvements, and minor bug fixes.
The primary components to this upgrade include:
- Fixed C-chain segfault when performing compression on arm64 CPUs.
- Added group permissions to local files to enable complex node monitoring.
- Stripped white space from
Auth
passwords passed through theapi-auth-password-file
flag. - Removed
timeSinceNoOutstandingRequests
as it was replaced bylongestRunningRequest
. - Added additional metrics in network throttling.
- Various code cleanup.
Added command line arguments:
network-health-max-outstanding-request-duration
Removed command line arguments:
network-health-max-time-since-no-requests
Apricot Phase 1
Please note that this change is not backwards compatible with previous releases.
This upgrade reduces C-chain gas fees, removes C-chain gas refunds, and includes various security improvements. We urge everyone in the community to update as soon as possible in order to ensure that their nodes remain healthy.
The changes in the upgrade go into effect at 10 AM EST, March 25th 2021 on the Fuji testnet and 10 AM EST, March 31st 2021 on mainnet.
The primary components to this upgrade include:
- Reduced C-chain gas cost from 470 nAVAX to 225 nAVAX.
- Removed C-chain gas refunds. This change adopts EIP-3298.
- Refactored C-chain verification to be cleaner when performing network upgrades.
- Fixed the Auth API to properly enforce revoked tokens.
- Strengthened the Auth API to ensure the expected signature format is used.
- Removed the Auth API's password from the CLI arguments.
- Added more strict file permissions checks.
- Added some minor additional error handling.
- Sanitized log writes before being written to disk.
- Added configurable origins to the HTTP endpoint.
- Removed attempted HTTPs to HTTP fail over on startup. Now the node will close on startup if upgrading the HTTP endpoint to HTTPs fails.
Added command line arguments:
api-auth-password-file
specifies the file to read the Auth API's password from.
Removed command line arguments:
api-auth-password
Thanks to the Flare network for bringing issues to our attention.
Apricot Phase 0 - Upgrade 1 - Patch 4
This update is backwards compatible. It is optional, but encouraged. The patch includes stability and monitoring improvements.
- Updated readme to correct storage requirements.
- Added additional error handling to Avalanche Tx verification during bootstrapping.
- Updated numerous metrics, including adding various new metrics relating to node health and database usage, removing unused and invalid metrics, and fixing some metric names.
- Added additional logging to CI.
- Added the C-chain to the list of critical chains.
Apricot Phase 0 - Upgrade 1 - Patch 3
This update is backwards compatible. It is optional, but encouraged. The patch includes stability and monitoring improvements.
- Adjusted
[network, router, consensus]
health check parameters to remove flaky health checks. - Simplified C-chain block handling.
Apricot Phase 0 - Upgrade 1 - Patch 2
This update is backwards compatible. It is optional, but encouraged. The patch includes stability, performance, and monitoring improvements.
- Added IP aliases in the network library to avoid repeated
SYN
calls. - Fixed bootstrap message handling when bootstrapping from yourself.
- Simplified
AdvanceTimeTx
issuance. - Added new consensus health checks.
- Adding node health logging.
- Added health responses to health
GET
requests. - Consolidated incoming message logs.
- Added error logging to the
LevelDB
wrapper. - Added error codes to the
rpcdb
to avoid string parsing. - Improved C-chain handling of canonical chain to reduce the number of reorgs.
- Improved C-chain handling of mock calls performed on the
pending
block.
Apricot Phase 0 - Upgrade 1 - Patch 1
This update is backwards compatible. It is optional, but encouraged. The patch includes stability, performance, and monitoring improvements. Note that this update removes network-timeout-increase
and network-timeout-reduction
as command line arguments.
Change summary:
- Added
UTXO
s to theplatformvm.getStake
response. - Added benchlist reporting to the
info.peers
response. - Added additional health checks into the networking layer.
- Added
percent of stake connected
as a reported metric. - Added bootstrapping restart logic to ensure the node has caught up to the current tip, even during times of high throughput.
- Added subnet-wide bootstrapping to ensure that a chain won't fall behind due to another chain bootstrapping.
- Prevented verification of rejected blocks to avoid unnecessary computation.
- Removed gossiping of non-preferred blocks to the network.
- Switched the network timeout calculator to use an EWMA of the observed network latency.
- Removed
Get
requests from the network latency calculations. - Cleaned up the benchlisting algorithm.
- Cleaned up handling of dropped messages on send.
- Cleaned up outstanding request and timeout logic.
- Generalized performance tracking to allow for prefixing of profile names.
- Added additional caching to the Avalanche bootstrapping traversal.
- Fixed ansible linting.
The added command line arguments mainly consist of configurations of health checks. Additionally, the modified network latency calculations changed the name of some command line args.
Added command line arguments:
network-timeout-halflife
network-timeout-coefficient
network-health-min-conn-peers
network-health-max-time-since-msg-received
network-health-max-time-since-msg-sent
network-health-max-portion-send-queue-full
network-health-max-send-fail-rate
network-health-max-time-since-no-requests
router-health-max-drop-rate
router-health-max-outstanding-requests
health-check-frequency
health-check-averager-halflife
bootstrap-retry-enabled
bootstrap-retry-max-attempts
Removed command line arguments:
network-timeout-increase
network-timeout-reduction
Apricot Phase 0 - Upgrade 1
Please note that this patch is not backwards compatible with previous releases. This upgrade fixes performance issues related to interchange transfers between X, C, and P chains. We urge everyone in the community to upgrade as soon as possible in order to ensure that their nodes are not affected. Also note that nodes may take several extra minutes to connect after the upgrade and the process should be allowed to complete uninterrupted.
The primary components to this upgrade include:
- Fixed atomic import validation on C-Chain
- Added rule exception logic to allow atomic bonus blocks
- Added fail-fast logic into Shared Memory if duplicated deletes are issued
- Fixed issue where polls could stall in snowman because of a failure to clear requests
- Fixed BAD BLOCK issue in coreth due to unknown ancestors
- Fixed a race condition in the repair canonical chain script in coreth
- Limited number of processing blocks in Snowman and processing txs in Avalanche
- Updated networking timeout default values and benchlist settings
- Verified there was no safety violation after the initial network instability
Apricot Phase 0 - Patch 5
This update is backwards compatible. It is optional, but encouraged. The patch includes stability improvements.
- Fixed a potential deadlock when registering new chains that could cause the P-chain and http(s) endpoint to block.
- Repairs
TxID
->Block Height
indexing in the C-chain. - Added graceful handling of empty contract deployments in the
debug_traceTransaction
API in the C-chain. - Improved error handling in the C-chain.
Apricot Phase 0 - Patch 4
This update is backwards compatible. It is optional, but encouraged. The patch includes CLI upgrades, API bug fixes, stability improvements, and performance improvements.
- Fixed an issue where C-chain block indexes could map to unaccepted blocks at a given height.
- Fixed VM crash when the
RPCChainVM
experienced high API loads. - Fixed optimistic vote bubbling in the Avalanche Engine to correctly pass votes through processing vertices.
- Added field
IncludePartial
to the AVM'sGetBalance
andGetAllBalances
API methods. This changes the default behavior to only return the balances of spendable and uniquely owned assets. - Added the ability to specify custom genesis configs for custom network IDs.
- Added additional IPC API functionality.
- Added additional caching to the
RPCChainVM
. - Improved plugin directory lookup to always work with the binary releases.
Apricot Phase 0 - Patch 3
This update is optional but encouraged. The patch includes minor bug fixes relating to APIs.
- Fixed hanging call when attempting to filter C-chain logs.
- Fixed C-chain client to call the proper multi-coin API.
- Added
getAtomicUTXOs
toavm
andplatformvm
API clients.