This version is backwards compatible to v1.11.0. It is optional, but strongly encouraged.
The plugin version is updated to 34
all plugins must update to be compatible.
- Removed the
ipc
API - Removed the
auth
API - Removed most
keystore
related methods from theplatform
APIplatform.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
- 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
- Fixed mempool push gossip amplification
- Remove deprecated IPC API by @StephenButtolph in ava-labs#2760
vms/platformvm
: Remove all keystore APIs exceptExportKey
andListAddresses
by @dhrubabasu in ava-labs#2761- Remove Deprecated Auth API by @StephenButtolph in ava-labs#2759
- Remove
defaultAddress
helper from platformvm service tests by @dhrubabasu in ava-labs#2767 - [trace] upgrade opentelemetry to v1.22.0 by @bianyuanop in ava-labs#2702
- Reenable the upgrade tests by @StephenButtolph in ava-labs#2769
- [network/p2p] Redesign Push Gossip by @patrick-ogrady in ava-labs#2772
- Move AppGossip configs from SubnetConfig into ChainConfig by @StephenButtolph in ava-labs#2785
merkledb
-- move compressedKey declaration to avoid usage of stale values in loop by @danlaine in ava-labs#2777merkledb
-- fixhasValue
inrecordNodeDeleted
by @danlaine in ava-labs#2779merkledb
-- rename metrics and add missing call by @danlaine in ava-labs#2781merkledb
-- style nit, remove var namenewView
to reduce shadowing by @danlaine in ava-labs#2784merkledb
style nits by @danlaine in ava-labs#2783merkledb
comment accuracy fixes by @danlaine in ava-labs#2780- Increase gossip size on first push by @StephenButtolph in ava-labs#2787
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.11.0...v1.11.2
This upgrade consists of the following Avalanche Community Proposals (ACPs):
- ACP-23 P-Chain Native Transfers
- ACP-24 Activate Shanghai EIPs on C-Chain
- ACP-25 Virtual Machine Application Errors
- ACP-30 Integrate Avalanche Warp Messaging into the EVM
- ACP-31 Enable Subnet Ownership Transfer
- ACP-41 Remove Pending Stakers
- ACP-62 Disable AddValidatorTx and AddDelegatorTx
The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Wednesday, March 6th, 2024 on Mainnet.
All Durango supporting Mainnet nodes should upgrade before 11 AM ET, March 6th 2024.
The plugin version is updated to 33
all plugins must update to be compatible.
- Added
platform.getSubnet
API
- Deprecated:
api-auth-required
api-auth-password
api-auth-password-file
- Fixed potential deadlock during P-chain shutdown
- Updated the consensus engine to recover from previously misconfigured subnets without requiring a restart
ci
: Upgrade all workflow actions to versions using Node 20 by @marun in ava-labs#2677tmpnet
: Ensure restart after chain creation by @marun in ava-labs#2675- Publish docker images with race detection by @StephenButtolph in ava-labs#2680
vms/platformvm
: RemoveNewRewardValidatorTx
fromBuilder
by @dhrubabasu in ava-labs#2676ci
: Updated shellcheck script to support autofix by @marun in ava-labs#2678- Unblock misconfigured subnets by @StephenButtolph in ava-labs#2679
- Add transfer subnet ownership functionality to wallet by @felipemadero in ava-labs#2659
- Add ACP-62 by @dhrubabasu in ava-labs#2681
vms/platformvm
: Add missing txs totxs.Builder
by @dhrubabasu in ava-labs#2663vms/platformvm
: DisableAddValidatorTx
andAddDelegatorTx
by @dhrubabasu in ava-labs#2662- Remove chain router from node.Config by @StephenButtolph in ava-labs#2683
- Deprecate the auth API by @StephenButtolph in ava-labs#2684
- Fix P-chain Shutdown deadlock by @StephenButtolph in ava-labs#2686
- Cleanup ID initialization by @StephenButtolph in ava-labs#2690
- Remove unused chains#beacons field by @joshua-kim in ava-labs#2692
- x/sync: Remove duplicated call to TrackBandwidth by @StephenButtolph in ava-labs#2694
- Move VMAliaser into node from config by @StephenButtolph in ava-labs#2689
- Fix minor errors in x/sync tests by @StephenButtolph in ava-labs#2709
- Update minimum golang version to v1.21.7 by @dhrubabasu in ava-labs#2710
- Check for github action updates in dependabot by @dhrubabasu in ava-labs#2715
- Update
golangci-lint
tov1.56.1
by @dhrubabasu in ava-labs#2714 - Add stringer to warp types by @aaronbuchwald in ava-labs#2712
- Refactor
p2p.PeerTracker
by @StephenButtolph in ava-labs#2701 - Bump actions/stale from 8 to 9 by @dependabot in ava-labs#2719
- Bump github/codeql-action from 2 to 3 by @dependabot in ava-labs#2720
- Bump bufbuild/buf-setup-action from 1.26.1 to 1.29.0 by @dependabot in ava-labs#2721
- Bump aws-actions/configure-aws-credentials from 1 to 4 by @dependabot in ava-labs#2722
- Manually setup golang in codeql action by @StephenButtolph in ava-labs#2725
- Provide pgo file during compilation by @StephenButtolph in ava-labs#2724
- P-chain - Tx builder cleanup by @abi87 in ava-labs#2718
- Refactor chain manager subnets by @joshua-kim in ava-labs#2711
- Replace snowball/snowflake interface with single shared snow interface by @aaronbuchwald in ava-labs#2717
- Remove duplicate IP length constant by @StephenButtolph in ava-labs#2733
- Add
platform.getSubnet
API by @felipemadero in ava-labs#2704 - Provide BLS signature in Handshake message by @StephenButtolph in ava-labs#2730
- Verify BLS signature provided in Handshake messages by @StephenButtolph in ava-labs#2735
- Move UTXOs definition from primary to primary/common by @StephenButtolph in ava-labs#2741
- Minimize Signer interface and document Sign by @StephenButtolph in ava-labs#2740
- Revert setup-go during unit tests by @StephenButtolph in ava-labs#2744
- P-chain wallet fees UTs by @abi87 in ava-labs#2734
merkledb
-- generalize error case to check state that should never occur by @danlaine in ava-labs#2743- Revert setup-go to v3 on all arm actions by @StephenButtolph in ava-labs#2749
- Add AppError to Sender interface by @joshua-kim in ava-labs#2737
- P-chain - Cleaned up fork switch in UTs by @abi87 in ava-labs#2746
- X-chain wallet fees UTs by @abi87 in ava-labs#2747
- Add keys values to bimap by @StephenButtolph in ava-labs#2754
- fix test sender by @joshua-kim in ava-labs#2755
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.19...v1.11.0
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 31
and is compatible with version v1.10.18
.
- Added
admin.dbGet
call to theadmin
API - Added bloom filter metrics:
bloom_filter_count
bloom_filter_entries
bloom_filter_hashes
bloom_filter_max_count
bloom_filter_reset_count
to the following namespaces:avalanche_X_vm_mempool
avalanche_P_vm_mempool
avalanche_C_vm_sdk_atomic_mempool
avalanche_C_vm_sdk_eth_mempool
- Fixed race condition during validator set creation
- Fixed C-chain mempool bloom filter recalculation
vms/platformvm
: ChangeAdvanceTimeTo
to modify passed-inparentState
by @dhrubabasu in ava-labs#2489vms/platformvm
: RemoveMempoolTxVerifier
by @dhrubabasu in ava-labs#2362- Verify
SignedIP.Timestamp
fromPeerList
messages by @danlaine in ava-labs#2587 - Fix metrics namespace by @StephenButtolph in ava-labs#2632
- Add bloom filter metrics to the p2p sdk by @ceyonur in ava-labs#2612
- Replace
shutdownEnvironment
witht.Cleanup()
by @dhrubabasu in ava-labs#2491 - P-chain - Memo field zeroed post Durango by @abi87 in ava-labs#2607
- Refactor feature extensions out of VMManager by @joshua-kim in ava-labs#2578
- Remove getter for router on chain manager by @joshua-kim in ava-labs#2641
- Fix
require.ErrorIs
argument order by @StephenButtolph in ava-labs#2645 api/admin
: CleanupSuccessResponseTests
by @dhrubabasu in ava-labs#2644- Allow calls to
Options
beforeVerify
by @StephenButtolph in ava-labs#2363 - Improve logging of unexpected proposer errors by @StephenButtolph in ava-labs#2646
- Disable non-security related dependabot PRs by @StephenButtolph in ava-labs#2647
- Add historical fork times by @StephenButtolph in ava-labs#2649
- Cleanup warp signer tests by @dhrubabasu in ava-labs#2651
- Reintroduce the upgrade test against v1.10.18 by @StephenButtolph in ava-labs#2652
- Cleanup database benchmarks by @dhrubabasu in ava-labs#2653
- Cleanup database tests by @dhrubabasu in ava-labs#2654
ci
: Add shellcheck step to lint job by @marun in ava-labs#2650- Replace
closeFn
witht.Cleanup
by @dhrubabasu in ava-labs#2638 - Fix TestExpiredBuildBlock by @StephenButtolph in ava-labs#2655
- Add admin.dbGet API by @StephenButtolph in ava-labs#2667
ci
: Update shellcheck.sh to pass all args to shellcheck by @marun in ava-labs#2657vms/platformvm
: RemoveNewAdvanceTimeTx
fromBuilder
by @dhrubabasu in ava-labs#2668- Log error if database returns unsorted heights by @StephenButtolph in ava-labs#2670
vms/platformvm
: Movevm.Shutdown
call in tests tot.Cleanup
by @dhrubabasu in ava-labs#2669e2e
: Add test ofplatform.getValidatorsAt
across nodes by @marun in ava-labs#2664- Fix P-chain validator set lookup race condition by @StephenButtolph in ava-labs#2672
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.18...v1.10.19
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 31
all plugins must update to be compatible.
- Added
info.acps
API - Added
supportedACPs
andobjectedACPs
for each peer returned byinfo.peers
- Added
txs
field toBanffProposalBlock
's json format - Added metrics:
avalanche_network_validator_ips
avalanche_network_gossipable_ips
avalanche_network_ip_bloom_count
avalanche_network_ip_bloom_entries
avalanche_network_ip_bloom_hashes
avalanche_network_ip_bloom_max_count
avalanche_network_ip_bloom_reset_count
- Added metrics related to
get_peer_list
message handling - Added p2p SDK metrics to the P-chain and X-chain
- Renamed metrics related to message handling:
version
->handshake
appRequestFailed
->appError
crossChainAppRequestFailed
->crossChainAppError
- Removed
gzip
compression time metrics - Converted p2p SDK metrics to use vectors rather than independent metrics
- Converted client name reported over the p2p network from
avalanche
toavalanchego
- Added:
--acp-support
--acp-object
snow-commit-threshold
network-peer-list-pull-gossip-frequency
network-peer-list-bloom-reset-frequency
network
to the X-chain and P-chain configs including:max-validator-set-staleness
target-gossip-size
pull-gossip-poll-size
pull-gossip-frequency
pull-gossip-throttling-period
pull-gossip-throttling-limit
expected-bloom-filter-elements
expected-bloom-filter-false-positive-probability
max-bloom-filter-false-positive-probability
legacy-push-gossip-cache-size
- Deprecated:
snow-virtuous-commit-threshold
snow-rogue-commit-threshold
network-peer-list-validator-gossip-size
network-peer-list-non-validator-gossip-size
network-peer-list-peers-gossip-size
network-peer-list-gossip-frequency
- Removed:
gzip
as an option fornetwork-compression-type
- Fixed
platformvm.SetPreference
to correctly reset the block building timer - Fixed early bootstrapping termination
- Fixed duplicated transaction initialization in the X-chain and P-chain
- Fixed IP gossip when using dynamically allocated staking ports
- Updated
golang.org/x/exp
dependency to fix downstream compilation errors - Updated
golang.org/x/crypto
dependency to addressCVE-2023-48795
- Updated minimum golang version to address
CVE-2023-39326
- Restricted
GOPROXY
during compilation to avoiddirect
version control fallbacks - Fixed
merkledb
deletion of the empty key - Fixed
merkledb
race condition when interacting with invalidated or closed trie views - Fixed
json.Marshal
forwallet
transactions - Fixed duplicate outbound dialer for manually tracked nodes in the p2p network
- testing: Update to latest version of ginkgo by @marun in ava-labs#2390
vms/platformvm
: Cleanup block builder tests by @dhrubabasu in ava-labs#2406- Drop Pending Stakers 0 - De-duplicate staking tx verification by @abi87 in ava-labs#2335
vms/platformvm
: Initialize txs inTransactions
field forBanffProposalBlock
by @dhrubabasu in ava-labs#2419vms/platformvm
: MoveVerifyUniqueInputs
fromverifier
tobackend
by @dhrubabasu in ava-labs#2410- Fix duplicated bootstrapper engine termination by @StephenButtolph in ava-labs#2334
- allow user of
build_fuzz.sh
to specify a directory to fuzz in by @danlaine in ava-labs#2414 - Update slices dependency to use Compare by @StephenButtolph in ava-labs#2424
vms/platformvm
: Cleanup some block tests by @dhrubabasu in ava-labs#2422- ProposerVM Extend windows 0 - Cleanup by @abi87 in ava-labs#2404
vms/platformvm
: AdddecisionTxs
parameter toNewBanffProposalBlock
by @dhrubabasu in ava-labs#2411- Update minimum golang version to v1.20.12 by @StephenButtolph in ava-labs#2427
- Fix platformvm.SetPreference by @StephenButtolph in ava-labs#2429
- Restrict GOPROXY by @StephenButtolph in ava-labs#2434
- Drop Pending Stakers 1 - introduced ScheduledStaker txs by @abi87 in ava-labs#2323
- Run merkledb fuzz tests every 6 hours by @danlaine in ava-labs#2415
- Remove unused error by @joshua-kim in ava-labs#2426
- Make
messageQueue.msgAndCtxs
a circular buffer by @danlaine in ava-labs#2433 - ProposerVM Extend windows 1 - UTs Cleanup by @abi87 in ava-labs#2412
- Change seed from int64 to uint64 by @StephenButtolph in ava-labs#2438
- Remove usage of timer.Timer in node by @StephenButtolph in ava-labs#2441
- Remove staged timer again by @StephenButtolph in ava-labs#2440
merkledb
/sync
-- Disambiguate no end root from no start root by @danlaine in ava-labs#2437- Drop Pending Stakers 2 - Replace txs.ScheduledStaker with txs.Staker by @abi87 in ava-labs#2305
vms/platformvm
: Remove double block building logic by @dhrubabasu in ava-labs#2380- Remove usage of timer.Timer in benchlist by @StephenButtolph in ava-labs#2446
vms/avm
: SimplifyPeek
function in mempool by @dhrubabasu in ava-labs#2449vms/platformvm
: RemovestandardBlockState
struct by @dhrubabasu in ava-labs#2450- Refactor sampler seeding by @StephenButtolph in ava-labs#2456
- Update tmpnet fixture to include Proof-of-Possession for initial stakers by @marun in ava-labs#2391
vms/platformvm
: RemoveEnableAdding
andDisableAdding
fromMempool
interface by @dhrubabasu in ava-labs#2463vms/avm
: Addexists
bool to mempoolPeek
by @dhrubabasu in ava-labs#2465vms/platformvm
: RemovePeekTxs
fromMempool
interface by @dhrubabasu in ava-labs#2378vms/platformvm
: AddprocessStandardTxs
helper by @dhrubabasu in ava-labs#2461vms/platformvm
: ProcessatomicRequests
andonAcceptFunc
in option blocks by @dhrubabasu in ava-labs#2459e2e
: Rename 'funded key' to 'pre-funded key' for consistency by @marun in ava-labs#2455vms/platformvm
: SurfaceVerifyUniqueInputs
in theManager
by @dhrubabasu in ava-labs#2467vms/platformvm
: AddTestBuildBlockShouldReward
test by @dhrubabasu in ava-labs#2466- Switch client version to a proto type from a string by @joshua-kim in ava-labs#2188
- Remove stale TODO by @danlaine in ava-labs#2468
vms/platformvm
: AddTestBuildBlockDoesNotBuildWithEmptyMempool
test by @dhrubabasu in ava-labs#2469vms/platformvm
: AddTestBuildBlockShouldAdvanceTime
test by @dhrubabasu in ava-labs#2471vms/platformvm
: Permit usage of theTransactions
field inBanffProposalBlock
by @dhrubabasu in ava-labs#2451vms/platformvm
: AddTestBuildBlockForceAdvanceTime
test by @dhrubabasu in ava-labs#2472- P2P AppError handling by @joshua-kim in ava-labs#2248
vms/platformvm
: Verify txs before building a block by @dhrubabasu in ava-labs#2359- Refactor p2p unit tests by @joshua-kim in ava-labs#2475
- Add ACP signaling by @StephenButtolph in ava-labs#2476
- Refactor SDK by @joshua-kim in ava-labs#2452
- Cleanup CI by @dhrubabasu in ava-labs#2480
- Ensure upgrade test uses the correct binary on restart by @marun in ava-labs#2478
- Prefetch Improvement by @dboehm-avalabs in ava-labs#2435
- ci: run each fuzz test for 10 seconds by @dhrubabasu in ava-labs#2483
- Remove nullable options by @nytzuga in ava-labs#2481
merkledb
-- dynamic root by @danlaine in ava-labs#2177- fix onEvictCache by @danlaine in ava-labs#2484
- Remove cached node bytes from merkle nodes by @dboehm-avalabs in ava-labs#2393
- Fix race in view iteration by @dboehm-avalabs in ava-labs#2486
- MerkleDB -- update readme by @danlaine in ava-labs#2423
- Drop Pending Stakers 3 - persist stakers' StartTime by @abi87 in ava-labs#2306
- SDK Push Gossiper implementation by @joshua-kim in ava-labs#2428
tmpnet
: Move tmpnet/local to tmpnet package by @marun in ava-labs#2457merkledb
-- make tests use time as randomness seed by @danlaine in ava-labs#2470tmpnet
: Break config.go up into coherent parts by @marun in ava-labs#2462- Drop Pending Stakers 4 - minimal UT infra cleanup by @abi87 in ava-labs#2332
- ProposerVM Extend windows 2- extend windowing by @abi87 in ava-labs#2401
- Support json marshalling txs returned from the wallet by @StephenButtolph in ava-labs#2494
- Avoid escaping to improve readability by @StephenButtolph in ava-labs#2496
- Allow OutputOwners to be json marshalled without InitCtx by @StephenButtolph in ava-labs#2495
- Drop Pending Stakers 5 - validated PostDurango StakerTxs by @abi87 in ava-labs#2314
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in ava-labs#2502
- Remove unused
BuildGenesisTest
function by @dhrubabasu in ava-labs#2503 - Remove unused
AcceptorTracker
struct by @dhrubabasu in ava-labs#2508 - Dedupe secp256k1 key usage in tests by @dhrubabasu in ava-labs#2511
- Merkledb readme updates by @danlaine in ava-labs#2510
- Gossip Test structs by @joshua-kim in ava-labs#2514
tmpnet
: Separate node into orchestration, config and process by @marun in ava-labs#2460- Move
snow.DefaultConsensusContextTest
tosnowtest.ConsensusContext
by @dhrubabasu in ava-labs#2507 - Add gossip Marshaller interface by @joshua-kim in ava-labs#2509
- Include chain creation error in health check by @marun in ava-labs#2519
- Make X-chain mempool safe for concurrent use by @StephenButtolph in ava-labs#2520
- Initialize transactions once by @StephenButtolph in ava-labs#2521
vms/avm
: Remove usage ofrequire.Contains
from service tests by @dhrubabasu in ava-labs#2517- Move context lock into issueTx by @StephenButtolph in ava-labs#2524
- Rework X-chain locking in tests by @StephenButtolph in ava-labs#2526
vms/avm
: Simplifymempool.Remove
signature by @dhrubabasu in ava-labs#2527- Remove unused mocks by @dhrubabasu in ava-labs#2528
- Move
avm.newContext
tosnowtest.Context
by @dhrubabasu in ava-labs#2513 - Do not fail-fast Tests / Unit by @StephenButtolph in ava-labs#2530
- Make P-Chain Mempool thread-safe by @joshua-kim in ava-labs#2523
vms/platformvm
: Usesnowtest.Context
helper by @dhrubabasu in ava-labs#2515- Export mempool errors by @StephenButtolph in ava-labs#2531
- Move locking into issueTx by @StephenButtolph in ava-labs#2532
- Fix merge in wallet service by @StephenButtolph in ava-labs#2534
- Introduce TxVerifier interface to network by @StephenButtolph in ava-labs#2533
- Export P-Chain Mempool Errors by @joshua-kim in ava-labs#2535
- Rename
Version
message toHandshake
by @danlaine in ava-labs#2479 - Rename myVersionTime to ipSigningTime by @danlaine in ava-labs#2537
- Remove resolved TODO by @dhrubabasu in ava-labs#2540
- Only initialize Txs once by @joshua-kim in ava-labs#2538
- JSON marshal the
Transactions
field inBanffProposalBlocks
by @dhrubabasu in ava-labs#2541 - Enable
predeclared
linter by @dhrubabasu in ava-labs#2539 - Move context lock into
network.issueTx
by @joshua-kim in ava-labs#2525 - Remove comment on treating failed sends as FATAL by @joshua-kim in ava-labs#2544
- Add TxVerifier interface to network by @joshua-kim in ava-labs#2542
- X-chain SDK gossip by @joshua-kim in ava-labs#2490
- Remove network context by @joshua-kim in ava-labs#2543
- Remove
snow.DefaultContextTest
by @dhrubabasu in ava-labs#2518 - Fix windowing when no validator is available by @abi87 in ava-labs#2529
- Unexport fields from gossip.BloomFilter by @StephenButtolph in ava-labs#2547
- P-Chain SDK Gossip by @joshua-kim in ava-labs#2487
- Documentation Fixes: Grammatical Corrections and Typo Fixes Across Multiple Files by @joaolago1113 in ava-labs#2550
- Notify block builder of txs after reject by @StephenButtolph in ava-labs#2549
- Set dependabot target branch to
dev
by @dhrubabasu in ava-labs#2553 - Remove
MockLogger
by @dhrubabasu in ava-labs#2554 - Clean up merkleDB interface and duplicate code by @dboehm-avalabs in ava-labs#2445
- Do not mark txs as dropped when mempool is full by @dhrubabasu in ava-labs#2557
- Update bug bounty program to immunefi by @StephenButtolph in ava-labs#2558
- Fix p2p sdk metric labels by @StephenButtolph in ava-labs#2561
- Suppress gossip warnings due to no sampled peers by @StephenButtolph in ava-labs#2562
- Remove dead code and unnecessary lock from reflect codec by @StephenButtolph in ava-labs#2560
- Remove unused index interface by @StephenButtolph in ava-labs#2564
- Implement SetMap and use it in XP-chain mempools by @StephenButtolph in ava-labs#2555
vms/platformvm
: AddTestIterate
by @dhrubabasu in ava-labs#2565- Cleanup codec usage by @StephenButtolph in ava-labs#2563
- Remove
len
tag parsing from the reflect codec by @StephenButtolph in ava-labs#2559 - Use more specific type by @dhrubabasu in ava-labs#2567
- Standardize
onShutdownCtx
by @dhrubabasu in ava-labs#2568 - Verify avm mempool txs against the last accepted state by @StephenButtolph in ava-labs#2569
- Update
CODEOWNERS
by @dhrubabasu in ava-labs#2570 - Remove license from mocks by @dhrubabasu in ava-labs#2574
- Add missing import by @dhrubabasu in ava-labs#2573
vms/platformvm
: Prune mempool periodically by @dhrubabasu in ava-labs#2566- Update license header to 2024 by @dhrubabasu in ava-labs#2572
- [MerkleDB] Make intermediate node cache two layered by @dboehm-avalabs in ava-labs#2576
- Fix merkledb rebuild iterator by @dboehm-avalabs in ava-labs#2581
- Fix intermediate node caching by @dboehm-avalabs in ava-labs#2585
- Remove codec length check after Durango by @StephenButtolph in ava-labs#2586
tmpnet
: Use AvalancheLocalChainConfig for cchain genesis by @marun in ava-labs#2583testing
: Ensure CheckBootstrapIsPossible is safe for teardown by @marun in ava-labs#2582tmpnet
: Separate network into orchestration and configuration by @marun in ava-labs#2464- Update uintsize implementation by @danlaine in ava-labs#2590
- Optimize bloom filter by @StephenButtolph in ava-labs#2588
- Remove TLS key gen from networking tests by @StephenButtolph in ava-labs#2596
- [utils/bloom] Optionally Update Bloom Filter Size on Reset by @patrick-ogrady in ava-labs#2591
- [ci] Increase Fuzz Time in Periodic Runs by @patrick-ogrady in ava-labs#2599
tmpnet
: Save metrics snapshot to disk before node shutdown by @marun in ava-labs#2601- chore: Fix typo s/useage/usage by @hugo-syn in ava-labs#2602
- Deprecate
SnowRogueCommitThresholdKey
andSnowVirtuousCommitThresholdKey
by @dhrubabasu in ava-labs#2600 - Fix networking invalid field log by @StephenButtolph in ava-labs#2604
- chore: Fix typo s/seperate/separate/ by @hugo-syn in ava-labs#2605
- Support dynamic port peerlist gossip by @StephenButtolph in ava-labs#2603
- Replace
PeerListAck
withGetPeerList
by @StephenButtolph in ava-labs#2580 - Log critical consensus values during health checks by @StephenButtolph in ava-labs#2609
- Update contributions branch to master by @StephenButtolph in ava-labs#2610
- Add ip bloom metrics by @StephenButtolph in ava-labs#2614
x/sync
: Auto-generateMockNetworkClient
by @dhrubabasu in ava-labs#2617- Remove CreateStaticHandlers from VM interface by @joshua-kim in ava-labs#2589
tmpnet
: Add support for subnets by @marun in ava-labs#2492- Update
go.uber.org/mock/gomock
tov0.4.0
by @dhrubabasu in ava-labs#2618 - Add
mockgen
source mode for generics + bls imports by @dhrubabasu in ava-labs#2615 - Verify all MockGen generated files are re-generated in CI by @dhrubabasu in ava-labs#2616
- Move division by 0 check out of the bloom loops by @StephenButtolph in ava-labs#2622
- P-chain Add UTs around stakers persistence in platformvm state by @abi87 in ava-labs#2505
- Revert "Set dependabot target branch to
dev
(#2553)" by @dhrubabasu in ava-labs#2623 - Remove remaining 2023 remnants by @dhrubabasu in ava-labs#2624
- Deprecate push-based peerlist gossip flags by @StephenButtolph in ava-labs#2625
- Remove support for compressing gzip messages by @dhrubabasu in ava-labs#2627
- Always attempt to install mockgen
v0.4.0
before execution by @dhrubabasu in ava-labs#2628 - Modify TLS parsing rules for Durango by @StephenButtolph in ava-labs#2458
- @joaolago1113 made their first contribution in ava-labs#2550
- @hugo-syn made their first contribution in ava-labs#2602
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.17...v1.10.18
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 30
and is compatible with versions v1.10.15-v1.10.16
.
- Added
avalanche_{chainID}_blks_build_accept_latency
metric - Added
avalanche_{chainID}_blks_issued{source}
metric with sources:pull_gossip
push_gossip
put_gossip
which is deprecatedbuilt
unknown
- Added
avalanche_{chainID}_issuer_stake_sum
metric - Added
avalanche_{chainID}_issuer_stake_count
metric
- Added:
--consensus-frontier-poll-frequency
- Removed:
--consensus-accepted-frontier-gossip-frequency
- Deprecated:
--consensus-accepted-frontier-gossip-validator-size
--consensus-accepted-frontier-gossip-non-validator-size
--consensus-accepted-frontier-gossip-peer-size
- Updated the default value to 1 to align with the change in default gossip frequency
--consensus-on-accept-gossip-validator-size
--consensus-on-accept-gossip-non-validator-size
--consensus-on-accept-gossip-peer-size
- Fixed
duplicated operation on provided value
error when executing atomic operations after state syncing the C-chain - Removed usage of atomic trie after commitment
- Fixed atomic trie root overwrite during state sync
- Prevented closure of
stdout
andstderr
when shutting down the logger
- Remove Banff check from mempool verifier by @dhrubabasu in ava-labs#2360
- Document storage growth in readme by @StephenButtolph in ava-labs#2364
- Add metric for duration between block timestamp and acceptance time by @StephenButtolph in ava-labs#2366
vms/platformvm
: Remove unusedwithMetrics
txheap by @dhrubabasu in ava-labs#2373- Move peerTracker from x/sync to network/p2p by @joshua-kim in ava-labs#2356
- Logging avoid closing standard outputs by @felipemadero in ava-labs#2372
vms/platformvm
: AdjustDiff.Apply
signature by @dhrubabasu in ava-labs#2368- Add bls validator info to genesis by @felipemadero in ava-labs#2371
- Remove
engine.GetVM
by @StephenButtolph in ava-labs#2374 vms/platformvm
: Consolidatestate
pkg mocks by @dhrubabasu in ava-labs#2370- Remove common bootstrapper by @StephenButtolph in ava-labs#2297
vms/platformvm
: MovetoEngine
channel to mempool by @dhrubabasu in ava-labs#2333vms/avm
: Renamestates
pkg tostate
by @dhrubabasu in ava-labs#2381- Implement generic bimap by @StephenButtolph in ava-labs#2383
- Unexport RequestID from snowman engine by @StephenButtolph in ava-labs#2384
- Add metric to track the stake weight of block providers by @StephenButtolph in ava-labs#2376
- Add block source metrics to monitor gossip by @StephenButtolph in ava-labs#2386
- Rename
D
toDurango
by @dhrubabasu in ava-labs#2389 - Replace periodic push accepted gossip with pull preference gossip for block discovery by @StephenButtolph in ava-labs#2367
- MerkleDB Remove ID from Node to reduce size and removal channel creation. by @dboehm-avalabs in ava-labs#2324
- Remove method
CappedList
fromset.Set
by @danlaine in ava-labs#2395 - Periodically PullGossip only from connected validators by @StephenButtolph in ava-labs#2399
- Update bootstrap IPs by @StephenButtolph in ava-labs#2396
- Rename
testnet
fixture totmpnet
by @marun in ava-labs#2307 - Add
p2p.Network
component by @joshua-kim in ava-labs#2283 vms/platformvm
: MoveGetRewardUTXOs
,GetSubnets
, andGetChains
toState
interface by @dhrubabasu in ava-labs#2402- Add more descriptive formatted error by @aaronbuchwald in ava-labs#2403
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.16...v1.10.17
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 30
and compatible with version v1.10.15
.
- Added log level information to the result of
admin.setLoggerLevel
- Updated
info.peers
to return chain aliases forbenched
chains - Added support to sample validators of non-tracked subnets with
platform.sampleValidators
- Added
avalanche_{chainID}_max_verified_height
metric to track the highest verified block
- Added
--db-read-only
to run the node without writing to disk.- This flag is only expected to be used during testing as it will cause memory use to increase over time
- Removed
--bootstrap-retry-enabled
- Removed
--bootstrap-retry-warn-frequency
- Fixed packing of large block requests during C-chain state sync
- Fixed order of updating acceptor tip and sending chain events to C-chain event subscribers
- Return log levels from admin.SetLoggerLevel by @StephenButtolph in ava-labs#2250
- feat(api) : Peers function to return the PrimaryAlias of the chainID by @DoTheBestToGetTheBest in ava-labs#2251
- Switch to using require.TestingT interface in SenderTest struct by @marun in ava-labs#2258
- Cleanup
ipcs
Socket
test by @danlaine in ava-labs#2257 - Require poll metrics to be registered by @StephenButtolph in ava-labs#2260
- Track all subnet validator sets in the validator manager by @StephenButtolph in ava-labs#2253
- e2e: Make NewWallet and NewEthclient regular functions by @marun in ava-labs#2262
- Fix typos in docs by @vuittont60 in ava-labs#2261
- Remove Token constants information from keys by @dboehm-avalabs in ava-labs#2197
- Remove unused
UnsortedEquals
function by @dhrubabasu in ava-labs#2264 - Document p2p package by @joshua-kim in ava-labs#2254
- Use extended public key to derive ledger addresses by @felipemadero in ava-labs#2246
merkledb
-- rename nit by @danlaine in ava-labs#2267merkledb
-- fix nil check in test by @danlaine in ava-labs#2268- Add read-only database flag (
--db-read-only
) by @danlaine in ava-labs#2266 merkledb
-- remove unneeded var declarations by @danlaine in ava-labs#2269- Add fuzz test for
NewIteratorWithStartAndPrefix
by @danlaine in ava-labs#1992 - Return if element was deleted from
Hashmap
by @dhrubabasu in ava-labs#2271 mempool.NewMempool
->mempool.New
by @dhrubabasu in ava-labs#2276- e2e: Refactor suite setup and helpers to tests/fixture/e2e for reuse by coreth by @marun in ava-labs#2265
- Cleanup platformvm mempool errs by @dhrubabasu in ava-labs#2278
- MerkleDB:Naming and comments cleanup by @dboehm-avalabs in ava-labs#2274
- Move
DropExpiredStakerTxs
to platformvm mempool by @dhrubabasu in ava-labs#2279 - Cleanup
ids.NodeID
usage by @abi87 in ava-labs#2280 - Genesis validators cleanup by @abi87 in ava-labs#2282
- Remove Lazy Initialize on Node by @joshua-kim in ava-labs#1384
- Remove sentinel node from MerkleDB proofs by @dboehm-avalabs in ava-labs#2106
- Embed
noop
handler for all unhandled messages by @dhrubabasu in ava-labs#2288 merkledb
-- AddClearer
interface by @danlaine in ava-labs#2277- Simplify get server creation by @StephenButtolph in ava-labs#2285
- Move management of platformvm preferred block to
executor.Manager
by @dhrubabasu in ava-labs#2292 - Add
recentTxsLock
to platformnetwork
struct by @dhrubabasu in ava-labs#2294 - e2e: More fixture refinement in support of coreth integration testing by @marun in ava-labs#2275
- Add
VerifyTx
toexecutor.Manager
by @dhrubabasu in ava-labs#2293 - Simplify avalanche bootstrapping by @StephenButtolph in ava-labs#2286
- Replace unique slices with sets in the engine interface by @StephenButtolph in ava-labs#2317
- Use zap.Stringer rather than zap.Any by @StephenButtolph in ava-labs#2320
- Move
AddUnverifiedTx
logic tonetwork.IssueTx
by @dhrubabasu in ava-labs#2310 - Remove
AddUnverifiedTx
fromBuilder
by @dhrubabasu in ava-labs#2311 - Remove error from SDK AppGossip handler by @joshua-kim in ava-labs#2252
- Rename AppRequestFailed to AppError by @joshua-kim in ava-labs#2321
- Remove
Network
interface fromBuilder
by @dhrubabasu in ava-labs#2312 - Update
error_code
to be sint32 instead of uint32. by @joshua-kim in ava-labs#2322 - Refactor bootstrapper implementation into consensus by @StephenButtolph in ava-labs#2300
- Pchain - Cleanup NodeID generation in UTs by @abi87 in ava-labs#2291
- nit: loop --> variadic by @danlaine in ava-labs#2316
- Update zap dependency to v1.26.0 by @danlaine in ava-labs#2325
- Remove useless anon functions by @StephenButtolph in ava-labs#2326
- Move
network
implementation to separate package by @dhrubabasu in ava-labs#2296 - Unexport avalanche constant from common package by @StephenButtolph in ava-labs#2327
- Remove
common.Config
functions by @StephenButtolph in ava-labs#2328 - Move engine startup into helper function by @StephenButtolph in ava-labs#2329
- Remove bootstrapping retry config by @StephenButtolph in ava-labs#2301
- Export snowman bootstrapper by @StephenButtolph in ava-labs#2331
- Remove common.Config from syncer.Config by @StephenButtolph in ava-labs#2330
platformvm.VM
-- replaceConfig
field withvalidators.Manager
by @danlaine in ava-labs#2319- Improve height monitoring by @StephenButtolph in ava-labs#2347
- Cleanup snowman consensus metrics by @StephenButtolph in ava-labs#2349
- Expand consensus health check by @StephenButtolph in ava-labs#2354
- Reduce the size of the OracleBlock interface by @StephenButtolph in ava-labs#2355
- [vms/proposervm] Update Build Heuristic by @patrick-ogrady in ava-labs#2348
- Use linkedhashmap for P-Chain mempool by @gyuho in ava-labs#1536
- Increase txs in pool metric when adding tx by @StephenButtolph in ava-labs#2361
- @DoTheBestToGetTheBest made their first contribution in ava-labs#2251
- @vuittont60 made their first contribution in ava-labs#2261
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.15...v1.10.16
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 30
all plugins must update to be compatible.
- Added
pebble
as an allowed option to--db-type
- Fixed C-chain tracer API panic
- Reduce allocations on insert and remove by @dboehm-avalabs in ava-labs#2201
merkledb
-- shift nit by @danlaine in ava-labs#2218- Update
golangci-lint
tov1.55.1
by @dhrubabasu in ava-labs#2228 - Add json marshal tests to existing serialization tests in
platformvm/txs
pkg by @dhrubabasu in ava-labs#2227 - Move all blst function usage to
bls
pkg by @dhrubabasu in ava-labs#2222 merkledb
-- don't passBranchFactor
toencodeDBNode
by @danlaine in ava-labs#2217- Add
utils.Err
helper by @dhrubabasu in ava-labs#2212 - Enable
perfsprint
linter by @dhrubabasu in ava-labs#2229 - Trim down size of secp256k1
Factory
struct by @dhrubabasu in ava-labs#2223 - Fix test typos by @dhrubabasu in ava-labs#2233
- P2P AppRequestFailed protobuf definition by @joshua-kim in ava-labs#2111
- Remove error from Router AppGossip by @joshua-kim in ava-labs#2238
- Document host and port behavior in help text by @StephenButtolph in ava-labs#2236
- Remove
database.Manager
by @danlaine in ava-labs#2239 - Add
BaseTx
support to platformvm by @dhrubabasu in ava-labs#2232 - Add
pebble
as valid value for--db-type
. by @danlaine in ava-labs#2244 - Add nullable option to codec by @nytzuga in ava-labs#2171
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.14...v1.10.15
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 29
and compatible with version v1.10.13
.
- Deprecated
--api-ipcs-enabled
- Deprecated
--ipcs-chain-ids
- Deprecated
--ipcs-path
- Deprecated
--api-keystore-enabled
- Fixed shutdown of timeout manager
- Fixed racy access of the shutdown time
- Remove build check from unit tests by @StephenButtolph in ava-labs#2189
- Update cgo usage by @StephenButtolph in ava-labs#2184
- Deprecate IPC configs by @danlaine in ava-labs#2168
- Update P2P proto docs by @joshua-kim in ava-labs#2181
- Merkle db Make Paths only refer to lists of nodes by @dboehm-avalabs in ava-labs#2143
- Deprecate keystore config by @danlaine in ava-labs#2195
- Add tests for BanffBlock serialization by @dhrubabasu in ava-labs#2194
- Move Shutdown lock from Handler into Engines by @StephenButtolph in ava-labs#2179
- Move HealthCheck lock from Handler into Engines by @StephenButtolph in ava-labs#2173
- Implement Heap Map by @joshua-kim in ava-labs#2137
- Move selectStartGear lock from Handler into Engines by @StephenButtolph in ava-labs#2182
- Add Heap Set by @joshua-kim in ava-labs#2136
- Shutdown TimeoutManager during node Shutdown by @abi87 in ava-labs#1707
- Redesign validator set management to enable tracking all subnets by @ceyonur in ava-labs#1857
- Update local network readme by @StephenButtolph in ava-labs#2203
- Use custom codec for validator metadata by @abi87 in ava-labs#1510
- Add RSA max key length test by @StephenButtolph in ava-labs#2205
- Remove duplicate networking check by @StephenButtolph in ava-labs#2204
- Update TestDialContext to use ManuallyTrack by @joshua-kim in ava-labs#2209
- Remove contains from validator manager interface by @ceyonur in ava-labs#2198
- Move the overridden manager into the node by @ceyonur in ava-labs#2199
- Remove
aggregate
struct by @dhrubabasu in ava-labs#2213 - Add log for ungraceful shutdown on startup by @joshua-kim in ava-labs#2215
- Add pebble database implementation by @danlaine in ava-labs#1999
- Add
TransferSubnetOwnershipTx
by @dhrubabasu in ava-labs#2178 - Revert networking AllowConnection change by @StephenButtolph in ava-labs#2219
- Fix unexpected unlock by @StephenButtolph in ava-labs#2221
- Improve logging for block verification failure by @StephenButtolph in ava-labs#2224
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.13...v1.10.14
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 29
all plugins must update to be compatible.
- Added
Prefetcher
to themerkledb
interface - Fixed json marshalling of
TrackedSubnets
andAllowedNodes
- Fix typo in block formation logic documentation by @kyoshisuki in ava-labs#2158
- Marshal blocks and transactions inside API calls by @StephenButtolph in ava-labs#2153
- Remove lock options from the info api by @StephenButtolph in ava-labs#2149
- Remove write lock option from the avm static API by @StephenButtolph in ava-labs#2154
- Remove write lock option from the avm wallet API by @StephenButtolph in ava-labs#2155
- Fix json marshalling of Sets by @StephenButtolph in ava-labs#2161
- Rename
removeSubnetValidatorValidation
toverifyRemoveSubnetValidatorTx
by @dhrubabasu in ava-labs#2162 - Remove lock options from the IPCs api by @StephenButtolph in ava-labs#2151
- Remove write lock option from the xsvm API by @StephenButtolph in ava-labs#2152
- Remove lock options from the admin API by @StephenButtolph in ava-labs#2150
- Remove aliasing of
math
standard lib by @dhrubabasu in ava-labs#2163 - Remove write lock option from the platformvm API by @StephenButtolph in ava-labs#2157
- Remove write lock option from the avm rpc API by @StephenButtolph in ava-labs#2156
- Remove context lock from API VM interface by @StephenButtolph in ava-labs#2165
- Use set.Of rather than set.Add by @StephenButtolph in ava-labs#2164
- Bump google.golang.org/grpc from 1.55.0 to 1.58.3 by @dependabot in ava-labs#2159
- [x/merkledb]
Prefetcher
interface by @patrick-ogrady in ava-labs#2167 - Validator Diffs: docs and UTs cleanup by @abi87 in ava-labs#2037
- MerkleDB Reduce buffer creation/memcopy on path construction by @dboehm-avalabs in ava-labs#2124
- Fix some P-chain UTs by @abi87 in ava-labs#2117
- @kyoshisuki made their first contribution in ava-labs#2158
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.12...v1.10.13
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28
and compatible with versions v1.10.9 - v1.10.11
.
- Added
avalanche_{chainID}_total_weight
metric - Added
avalanche_{chainID}_num_validators
metric - Added
avalanche_{chainID}_num_processing_ancestor_fetches_failed
metric - Added
avalanche_{chainID}_num_processing_ancestor_fetches_dropped
metric - Added
avalanche_{chainID}_num_processing_ancestor_fetches_succeeded
metric - Added
avalanche_{chainID}_num_processing_ancestor_fetches_unneeded
metric - Added
avalanche_{chainID}_num_missing_accepted_blocks
metric - Added
avalanche_{chainID}_selected_vote_index_count
metric - Added
avalanche_{chainID}_selected_vote_index_sum
metric
- Added
--snow-preference-quorum-size
flag - Added
--snow-confidence-quorum-size
flag - Added
"fx-owner-cache-size"
to the P-chain config
- Fixed concurrent node shutdown and chain creation race
- Updated http2 implementation to patch CVE-2023-39325
- Exited
network.dial
early to avoid goroutine leak when shutting down - Reduced log level of
"failed to send peer list for handshake"
messages fromERROR
toDEBUG
- Reduced log level of
"state pruning failed"
messages fromERROR
toWARN
- Add last accepted height to the snowman interface by @StephenButtolph in ava-labs#2091
- Delete kurtosis CI jobs by @marun in ava-labs#2068
- e2e: Ensure all Issue* calls use the default context by @marun in ava-labs#2069
- Remove Finalized from the consensus interface by @StephenButtolph in ava-labs#2093
- Remove embedding of
verify.Verifiable
inFxCredential
by @dhrubabasu in ava-labs#2089 - Clarify decidable interface simple default parameter tests by @gyuho in ava-labs#2094
- snow/consensus/snowman/poll: remove "unused" no early term poller by @gyuho in ava-labs#2095
- Cleanup
.golangci.yml
by @dhrubabasu in ava-labs#2097 - Refactor
ancestor.Tree
by @StephenButtolph in ava-labs#2099 - Update AMI runner image and instance type by @charlie-ava in ava-labs#1939
- Add
tagalign
linter by @dhrubabasu in ava-labs#2084 - Fix flaky BuildBlockIsIdempotent test by @StephenButtolph in ava-labs#2101
- Make
network.dial
honor context cancellation. by @danlaine in ava-labs#2061 - Add preference lookups by height to the consensus interface by @StephenButtolph in ava-labs#2092
- Remove duplicate pullQuery method by @StephenButtolph in ava-labs#2103
- Add additional validator set metrics by @aaronbuchwald in ava-labs#2051
- Remove
snowball.Initialize
andsnowball.Factory
by @danlaine in ava-labs#2104 - Remove initialize functions from the snowball package by @danlaine in ava-labs#2105
- Remove
genesis.State
by @joshua-kim in ava-labs#2112 - add
SetSubnetOwner
toChain
interface by @dhrubabasu in ava-labs#2031 - Move vote bubbling before poll termination by @StephenButtolph in ava-labs#2100
- testing: Switch upgrade test to testnet fixture by @marun in ava-labs#1887
- Reduce archivedb key lengths by 1 byte by @StephenButtolph in ava-labs#2113
- Cleanup uptime manager constructor by @abi87 in ava-labs#2118
- MerkleDB Compact Path Bytes by @dboehm-avalabs in ava-labs#2010
- MerkleDB Path changes cleanup by @dboehm-avalabs in ava-labs#2120
- Fix consensus engine interface comments by @StephenButtolph in ava-labs#2115
- Standardize consensus variable names in tests by @StephenButtolph in ava-labs#2129
- Prevent bytesNeeded overflow by @StephenButtolph in ava-labs#2130
- Migrate xsvm from github.com/ava-labs/xsvm by @marun in ava-labs#2045
- Fix handling of wg in the networking dial test by @StephenButtolph in ava-labs#2132
- Update go.mod and add update check by @StephenButtolph in ava-labs#2133
- Reduce log level of failing to send a peerList message by @StephenButtolph in ava-labs#2134
- RPCChainVM fail-fast health RPCs by @hexfusion in ava-labs#2123
- MerkleDB allow warming node cache by @dboehm-avalabs in ava-labs#2128
- Add vote bubbling metrics by @StephenButtolph in ava-labs#2138
- Reduce log level of an error during Prune by @StephenButtolph in ava-labs#2141
- Exit chain creation routine before shutting down chain router by @StephenButtolph in ava-labs#2140
- Merkle db fix type cast bug by @dboehm-avalabs in ava-labs#2142
- Add Warp Payload Types by @nytzuga in ava-labs#2116
- Add height voting for chits by @StephenButtolph in ava-labs#2102
- Add Heap Queue by @joshua-kim in ava-labs#2135
- Add additional payload.Hash examples by @StephenButtolph in ava-labs#2145
- Split Alpha into AlphaPreference and AlphaConfidence by @StephenButtolph in ava-labs#2125
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.11...v1.10.12
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28
and compatible with versions v1.10.9 - v1.10.10
.
- Prevented overzelous benching due to dropped AppRequests
- Populated the process file atomically to avoid racy reads
- Rename platformvm/blocks to platformvm/block by @joshua-kim in ava-labs#1980
- RewardValidatorTx cleanup by @abi87 in ava-labs#1891
- Cancel stale SH actions by @danlaine in ava-labs#2003
- e2e: Switch assertion library from gomega to testify by @marun in ava-labs#1909
- e2e: Add bootstrap checks to migrated kurtosis tests by @marun in ava-labs#1935
- Add
GetTransformSubnetTx
helper by @dhrubabasu in ava-labs#2047 - Add readme for the staking/local folder by @StephenButtolph in ava-labs#2046
- use
IsCortinaActivated
helper by @dhrubabasu in ava-labs#2048 - add
D
upgrade boilerplate by @dhrubabasu in ava-labs#2049 - e2e: Ensure interchain workflow coverage for the P-Chain by @marun in ava-labs#1882
- e2e: Switch to using default timed context everywhere by @marun in ava-labs#1910
- Remove indentation + confusing comment by @StephenButtolph in ava-labs#2053
- Delete ErrDelegatorSubset by @joshua-kim in ava-labs#2055
- Fix default validator start time by @marun in ava-labs#2058
- Enable workflows to be triggered by merge queue by @marun in ava-labs#2057
- e2e: Migrate staking rewards test from kurtosis by @marun in ava-labs#1767
- Fix LRU documentation comment by @anusha-ctrl in ava-labs#2036
- Ignore AppResponse timeouts for benching by @StephenButtolph in ava-labs#2066
- trace: provide appName and version from Config by @najeal in ava-labs#1893
- Update perms.WriteFile to write atomically by @marun in ava-labs#2063
- ArchiveDB by @nytzuga in ava-labs#1911
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.10...v1.10.11
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28
and compatible with version v1.10.9
.
- Added
height
to the output ofplatform.getCurrentSupply
- Added
proposerNumHistoricalBlocks
to subnet configs
- Fixed handling of
SIGTERM
signals in plugin processes prior to receiving aShutdown
message - Fixed range proof commitment of empty proofs
- e2e: Save network data for each test run as an uploaded artifact by @marun in ava-labs#1856
- e2e: Ensure interchain workflow coverage for X-Chain and C-Chain by @marun in ava-labs#1871
- MerkleDB Adjust New View function(s) by @dboehm-avalabs in ava-labs#1927
- e2e: Migrate duplicate node id test from kurtosis by @marun in ava-labs#1573
- Add tracing levels to merkledb by @StephenButtolph in ava-labs#1933
- [x/merkledb] Add Configuration for
RootGenConcurrency
by @patrick-ogrady in ava-labs#1936 - e2e: Ensure testnet network dir is archived on failed test run by @marun in ava-labs#1930
- Merkle db cleanup view creation by @dboehm-avalabs in ava-labs#1934
- Add async DB deletion helper by @StephenButtolph in ava-labs#1931
- Implement SDK handler to drop messages from non-validators by @joshua-kim in ava-labs#1917
- Support proposervm historical block deletion by @StephenButtolph in ava-labs#1929
- Remove thread pool by @StephenButtolph in ava-labs#1940
- Merkledb split node storage into value and intermediate by @dboehm-avalabs in ava-labs#1918
merkledb
-- remove unneeded codec test helper by @danlaine in ava-labs#1943merkledb
-- add codec test and move helper by @danlaine in ava-labs#1944- Add throttler implementation to SDK by @joshua-kim in ava-labs#1905
- Add Throttled Handler implementation to SDK by @joshua-kim in ava-labs#1906
- Change merkledb caches to be size based by @StephenButtolph in ava-labs#1947
- Rename
node.marshal
tonode.bytes
by @danlaine in ava-labs#1951 - e2e: Switch to a default network node count of 2 by @marun in ava-labs#1928
- MerkleDB Improve Node Size Calculation by @dboehm-avalabs in ava-labs#1950
merkledb
-- remove unneeded return values by @danlaine in ava-labs#1959sync
-- reduce test sizes by @danlaine in ava-labs#1962merkledb
-- limit number of goroutines calculating node IDs by @danlaine in ava-labs#1960- Add gossip package to p2p SDK by @joshua-kim in ava-labs#1958
- Improve state sync logging by @StephenButtolph in ava-labs#1955
- Update golang to 1.20.8 by @StephenButtolph in ava-labs#1826
- Use odd-numbered request ids for SDK by @joshua-kim in ava-labs#1975
- update iterator invariant by @danlaine in ava-labs#1978
- Document common usage of requestIDs for snow senders by @StephenButtolph in ava-labs#1981
- e2e: Diagnose and fix flakes by @marun in ava-labs#1941
merkledb
--db_test.go
cleanup by @danlaine in ava-labs#1954merkledb
-- make config fields uints by @danlaine in ava-labs#1963- Only gracefully exit rpcchainvm server after Shutdown by @StephenButtolph in ava-labs#1988
- Add contexts to SDK callbacks by @joshua-kim in ava-labs#1977
- Change max response size to target response size by @joshua-kim in ava-labs#1995
- Add sdk gossip handler metrics by @joshua-kim in ava-labs#1997
- Add p2p SDK Router metrics by @joshua-kim in ava-labs#2000
- Merkledb Attempt to reduce test runtime by @dboehm-avalabs in ava-labs#1990
- longer timeout on windows UT by @danlaine in ava-labs#2001
sync
-- log tweaks by @danlaine in ava-labs#2008- Add Validator Gossiper by @joshua-kim in ava-labs#2015
- database: comment that Get returns ErrNotFound if key is not present by @aaronbuchwald in ava-labs#2018
- Return
height
fromGetCurrentSupply
by @dhrubabasu in ava-labs#2022 - simplify platformvm
GetHeight
function by @dhrubabasu in ava-labs#2023 - Merkle db fix range proof commit bug by @dboehm-avalabs in ava-labs#2019
- Add
bag.Of
helper by @StephenButtolph in ava-labs#2027 - Cleanup early poll termination logic by @StephenButtolph in ava-labs#2029
- fix typo by @dhrubabasu in ava-labs#2030
- Merkle db intermediate node key compression by @dboehm-avalabs in ava-labs#1987
- Improve RPC Chain version mismatch error message by @martineckardt in ava-labs#2021
- Move subnet owner lookup to platformvm state by @dhrubabasu in ava-labs#2024
- Fix fuzz tests; add iterator fuzz test by @danlaine in ava-labs#1991
- Refactor subnet validator primary network requirements by @dhrubabasu in ava-labs#2014
- Rename events to event by @joshua-kim in ava-labs#1973
- Add function to initialize SampleableSet by @joshua-kim in ava-labs#2017
- add
IsCortinaActivated
helper by @dhrubabasu in ava-labs#2013 - Fix P-chain Import by @StephenButtolph in ava-labs#2035
- Rename avm/blocks package to avm/block by @joshua-kim in ava-labs#1970
- Merkledb Update rangeproof proto to be consistent with changeproof proto by @dboehm-avalabs in ava-labs#2040
merkledb
-- encode lengths as uvarints by @danlaine in ava-labs#2039- MerkleDB Remove GetNodeFromParent by @dboehm-avalabs in ava-labs#2041
- @martineckardt made their first contribution in ava-labs#2021
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.9...v1.10.10
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 28
all plugins must update to be compatible.
- Changed the default value of
--network-compression-type
fromgzip
tozstd
- Marked corruptabledb as corrupted after encountering an error during iteration
- Fixed proposervm error handling during startup
merkledb
-- verify range proof in fuzz test; fix bound error by @danlaine in ava-labs#1789- Update default compression type to zstd by @StephenButtolph in ava-labs#1839
- Migrate to
uber-go/mock
by @dhrubabasu in ava-labs#1840 corruptabledb
-- corrupt on iterator error by @danlaine in ava-labs#1829- Add support for Maps to the reflect_codec by @nytzuga in ava-labs#1790
- Make linter fail if
github.com/golang/mock/gomock
is used by @danlaine in ava-labs#1843 - Firewoodize merkle db Part 1: Make Views ReadOnly by @dboehm-avalabs in ava-labs#1816
- E2E tests -- use appropriate timeouts by @danlaine in ava-labs#1851
- e2e: Switch to testnet fixture by @marun in ava-labs#1709
secp256k1
-- add fuzz tests by @danlaine in ava-labs#1809- Add fuzz test for complex codec unmarshalling by @StephenButtolph in ava-labs#1846
- Simplify exported interface of the primary wallet by @StephenButtolph in ava-labs#1849
- Regenerate mocks by @joshua-kim in ava-labs#1860
- Remove history btree by @danlaine in ava-labs#1861
merkledb
-- RemoveCommitToParent
by @danlaine in ava-labs#1854merkledb
-- remove other history btree by @danlaine in ava-labs#1862merkledb
-- add path fuzz test by @danlaine in ava-labs#1852- fix range proof verification case by @danlaine in ava-labs#1834
merkledb
-- add change proof fuzz test; fix change proof verification by @danlaine in ava-labs#1802- Warp readme by @aaronbuchwald in ava-labs#1780
- CODEOWNERS: add marun to tests by @hexfusion in ava-labs#1863
- Add CI check that auto-generated code is up to date by @dhrubabasu in ava-labs#1828
sync
-- change proof request can return range proof by @danlaine in ava-labs#1772- Ensure consistent use of best-practice
set -o
in all scripts by @marun in ava-labs#1864 - GetCanonicalValidatorSet minimal ValidatorState iface by @darioush in ava-labs#1875
sync
-- handle fatal error by @danlaine in ava-labs#1874merkledb
-- useMaybe
for start bounds by @danlaine in ava-labs#1872- Add C-chain wallet to the primary network by @StephenButtolph in ava-labs#1850
- e2e: Refactor keychain and wallet creation to test helpers by @marun in ava-labs#1870
- Update account nonce on exportTx accept by @StephenButtolph in ava-labs#1881
sync
-- add workheap test by @danlaine in ava-labs#1879merkledb
-- commit to db only by @danlaine in ava-labs#1885- Remove node/value lock from trieview by @dboehm-avalabs in ava-labs#1865
- remove old todo by @danlaine in ava-labs#1892
- Fix race in TestHandlerDispatchInternal by @joshua-kim in ava-labs#1895
- Remove duplicate code from proposervm block acceptance by @StephenButtolph in ava-labs#1894
- e2e: Bump permissionless subnets timeouts by @marun in ava-labs#1897
merkledb
-- codec remove err checks by @danlaine in ava-labs#1899- Merkle db fix new return type by @dboehm-avalabs in ava-labs#1898
- Add SDK Sampling interface by @joshua-kim in ava-labs#1877
- Add NoOpHandler implementation to SDK by @joshua-kim in ava-labs#1903
- Remove unused scripts by @StephenButtolph in ava-labs#1908
merkledb
-- codec nits/cleanup by @danlaine in ava-labs#1904merkledb
-- preallocatebytes.Buffer
in codec by @danlaine in ava-labs#1900- Proposervm height index repair fix by @abi87 in ava-labs#1915
merkledb
-- move and rename methods by @danlaine in ava-labs#1919- Remove optional height indexing interface by @StephenButtolph in ava-labs#1896
merkledb
-- nits by @danlaine in ava-labs#1916- Fix code owners file by @StephenButtolph in ava-labs#1922
- Drop invalid TLS certs during initial handshake by @StephenButtolph in ava-labs#1923
- Restricted tls metrics by @StephenButtolph in ava-labs#1924
- @nytzuga made their first contribution in ava-labs#1790
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.8...v1.10.9
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 27
and compatible with versions v1.10.5 - v1.10.7
.
This update changes the local network genesis. This version will not be able to join local networks with prior versions.
The first startup of the P-Chain will perform indexing operations. This indexing runs in the background and does not impact restart time. During this indexing the node will report increased CPU, memory, and disk usage.
- Added
platform.getBlockByHeight
- Added
--partial-sync-primary-network
flag to enable non-validators to optionally sync only the P-chain on the primary network - Added P-chain cache size configuration
block-id-cache-size
- Fixed P-chain GetValidatorSet regression for subnets
- Changed
x/sync
range/change proof bounds from[]byte
toMaybe[[]byte]
- Fixed
x/sync
error handling from failure to send app messages
- Removes calls to ctrl.Finish by @darioush in ava-labs#1803
- e2e: Remove unnecessary transaction status checking by @marun in ava-labs#1786
- fix p2p mockgen location by @dhrubabasu in ava-labs#1806
- fix end proof verification by @danlaine in ava-labs#1801
merkledb
-- add proof fuzz test by @danlaine in ava-labs#1804sync
-- re-add network client metrics by @danlaine in ava-labs#1787- Add function to initialize set from elements by @joshua-kim in ava-labs#1808
- Add Maybe to the end bound of proofs (Part 1) by @dboehm-avalabs in ava-labs#1793
- add go version to --version by @amirhasanzadehpy in ava-labs#1819
- e2e: Add local network fixture by @marun in ava-labs#1700
- Fix test flake in TestProposalTxsInMempool by @StephenButtolph in ava-labs#1822
sync
-- remove todo by @danlaine in ava-labs#1788- Add Maybe to the end bound of proofs (Part 2) by @dboehm-avalabs in ava-labs#1813
- Move Maybe to its own package by @danlaine in ava-labs#1817
merkledb
-- clarify/improve change proof invariants by @danlaine in ava-labs#1810- P-chain state prune + height index by @dhrubabasu in ava-labs#1719
- Update maintainer of the debian packages by @StephenButtolph in ava-labs#1825
- Make platformvm implement
block.HeightIndexedChainVM
by @dhrubabasu in ava-labs#1746 - Add P-chain
GetBlockByHeight
API method by @dhrubabasu in ava-labs#1747 - Update local genesis startTime by @ceyonur in ava-labs#1811
sync
-- add handling for fatal error by @danlaine in ava-labs#1690- Add error logs for unexpected proposervm BuildBlock failures by @StephenButtolph in ava-labs#1832
- Fix subnet validator set public key initialization by @StephenButtolph in ava-labs#1833
- Document PendingTxs + BuildBlock consensus engine requirement by @StephenButtolph in ava-labs#1835
- Bump github.com/supranational/blst from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11 by @dependabot in ava-labs#1831
- Add Primary Network Lite Sync Option by @abi87 in ava-labs#1769
- Check P-chain ShouldPrune during Initialize by @StephenButtolph in ava-labs#1836
- @amirhasanzadehpy made their first contribution in ava-labs#1819
- @dependabot made their first contribution in ava-labs#1831
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.7...v1.10.8
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
.
- Modifed
platform.getValidatorsAt
to also return BLS public keys
- Changed the default value of
--network-allow-private-ips
tofalse
when the--network-id
is eitherfuji
ormainnet
- 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
usenetwork-outbound-connection-throttling-rps
instead--outbound-connection-timeout
usenetwork-outbound-connection-timeout
instead--staking-enabled
usesybil-protection-enabled
instead--staking-disabled-weight
usesybil-protection-disabled-weight
instead--network-compression-enabled
use--network-compression-type
instead--consensus-gossip-frequency
use--consensus-accepted-frontier-gossip-frequency
instead
- Fixed C-chain tx tracer crashes
- Fixed merkledb panic during state sync
- Fixed merkledb state sync stale target tracking
- Remove deprecated configs by @ceyonur in ava-labs#1712
- upgrade: Increase all ANR timeouts to 2m to ensure CI reliability by @marun in ava-labs#1737
- fix sync panic by @danlaine in ava-labs#1736
- remove
vm.state
re-assignment in tests by @dhrubabasu in ava-labs#1739 - Expose BLS public keys from platform.getValidatorsAt by @StephenButtolph in ava-labs#1740
- Fix validator set diff tests by @StephenButtolph in ava-labs#1744
- Replace List() with Map() on validators.Set by @StephenButtolph in ava-labs#1745
- vms/platformvm: configure state cache sizes #1522 by @najeal in ava-labs#1677
- Support both
stateBlk
s andBlock
s inblockDB
by @dhrubabasu in ava-labs#1748 - Add
DefaultExecutionConfig
var toplatformvm
by @dhrubabasu in ava-labs#1749 - Remove hanging TODO from prior change by @StephenButtolph in ava-labs#1758
- Write process context on node start to simplify test orchestration by @marun in ava-labs#1729
- x/sync: add locks for peerTracker by @darioush in ava-labs#1756
- Add ids length constants by @StephenButtolph in ava-labs#1759
- [x/sync] Update target locking by @patrick-ogrady in ava-labs#1763
- Export warp errors for external use by @aaronbuchwald in ava-labs#1771
- Remove unused networking constant by @StephenButtolph in ava-labs#1774
- Change the default value of
--network-allow-private-ips
tofalse
formainnet
andfuji
by @StephenButtolph in ava-labs#1773 - Remove context.TODO from tests by @StephenButtolph in ava-labs#1778
- Replace linkeddb iterator with native DB range queries by @StephenButtolph in ava-labs#1752
- Add support for measuring key size in caches by @StephenButtolph in ava-labs#1781
- Bump coreth to v0.12.5-rc.0 by @aaronbuchwald in ava-labs#1775
- Add metric for the number of elements in a cache by @StephenButtolph in ava-labs#1782
- Evict blocks based on size by @StephenButtolph in ava-labs#1766
- Add proposervm state metrics by @StephenButtolph in ava-labs#1785
- Register metercacher
len
metric by @StephenButtolph in ava-labs#1791 - Reduce block cache sizes to 64 MiB by @StephenButtolph in ava-labs#1794
- Add p2p sdk by @joshua-kim in ava-labs#1799
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.5...v1.10.7
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.
- Added
avalanche_network_clock_skew_sum
metric - Added
avalanche_network_clock_skew_count
metric
- Added
--tracing-headers
to allow specifying headers to the tracing indexer
- Fixed API handler crash for
lookupState
inprestate
tracer - Fixed API handler crash for LOG edge cases in the
callTracer
- stop persisting rejected blocks on P-chain by @dhrubabasu in ava-labs#1696
- Ensure scripts/lint.sh failure when used with incompatible grep by @marun in ava-labs#1711
- sum peers clock skew into metric by @najeal in ava-labs#1695
- Make AVM implement
block.HeightIndexedChainVM
by @dhrubabasu in ava-labs#1699 - ProposerVM nits by @abi87 in ava-labs#1688
- Sorting -- Remove old
IsSortedAndUnique
, renameIsSortedAndUniqueSortable
toIsSortedAndUnique
by @danlaine in ava-labs#1666 - Update snow consensus doc post X-chain linearization by @exdx in ava-labs#1703
merkledb
/sync
-- remove TODOs by @danlaine in ava-labs#1718- remove cache TODOs by @danlaine in ava-labs#1721
- Adjust
NewSizedCache
to take in a size function by @dhrubabasu in ava-labs#1725 - Wallet issuance to return tx instead of tx id by @felipemadero in ava-labs#1704
- Add support for providing tracing headers by @StephenButtolph in ava-labs#1727
- Only return accepted blocks in
GetStatelessBlock
by @dhrubabasu in ava-labs#1724 - Proposermv fix goroutine leaks by @abi87 in ava-labs#1713
- Update warp msg format by @aaronbuchwald in ava-labs#1686
- Cleanup anr scripts by @ceyonur in ava-labs#1714
- remove TrackBandwidth from NetworkClient by @danlaine in ava-labs#1716
- Bump network start timeout by @marun in ava-labs#1730
- e2e: Ensure e2e.test is built with portable BLST by @marun in ava-labs#1734
- e2e: Increase all ANR timeouts to 2m to ensure CI reliability. by @marun in ava-labs#1733
- @exdx made their first contribution in ava-labs#1703
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.4...v1.10.5
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.
- 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
- Added
--staking-host
to allow binding only on a specific address for staking - Added
checksums-enabled
to the X-chain and P-chain configs
- 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
- e2e: Support testing on MacOS without requiring firewall exceptions by @marun in ava-labs#1613
- Reduce resource log level by @StephenButtolph in ava-labs#1622
- Improve
snow/
tests withrequire
by @dhrubabasu in ava-labs#1503 - Improve
x/
tests withrequire
by @dhrubabasu in ava-labs#1454 sync
-- fixTestFindNextKeyRandom
by @danlaine in ava-labs#1624- Improve
vms/
tests withrequire
by @dhrubabasu in ava-labs#1505 - Improve
database/
tests withrequire
by @dhrubabasu in ava-labs#1506 - Ban usage of
t.Fatal
andt.Error
by @dhrubabasu in ava-labs#1453 - chore: fix typo in binary_snowflake.go by @eltociear in ava-labs#1630
- Discriminate window fit err msg from overdelegated error msg by @felipemadero in ava-labs#1606
- Remove MaxConnectionAge gRPC StreamID overflow mitigation by @hexfusion in ava-labs#1388
- add fuzzing action by @danlaine in ava-labs#1635
- Remove dagState and GetUTXOFromID by @StephenButtolph in ava-labs#1632
- Update all AVM tests for post-linearization by @StephenButtolph in ava-labs#1631
- Remove PendingTxs from the DAGVM interface by @StephenButtolph in ava-labs#1641
- Remove GetTx from the DAGVM interface by @StephenButtolph in ava-labs#1642
- Bump coreth v0.12.4 by @aaronbuchwald in ava-labs#1646
- [x/merkledb] Remove useless
err
check by @patrick-ogrady in ava-labs#1650 - [x/merkledb] Trailing whitespace removal on README by @patrick-ogrady in ava-labs#1649
- Remove unneeded functions from UniqueTx by @StephenButtolph in ava-labs#1643
- Simplify tx verification by @StephenButtolph in ava-labs#1654
merkledb
-- fixfindNextKey
by @danlaine in ava-labs#1653- Cleanup X-chain UniqueTx Dependencies by @StephenButtolph in ava-labs#1656
- Prune X-chain State by @coffeeavax in ava-labs#1427
- Support building docker image on ARM64 by @dshiell in ava-labs#1103
- remove goreleaser by @danlaine in ava-labs#1660
- Fix Dockerfile on non amd64 platforms by @joshua-kim in ava-labs#1661
- Improve metrics error message by @StephenButtolph in ava-labs#1663
- Remove X-chain UniqueTx by @StephenButtolph in ava-labs#1662
- Add state checksums by @StephenButtolph in ava-labs#1658
- Modify proposervm window by @najeal in ava-labs#1638
- sorting nit by @danlaine in ava-labs#1665
merkledb
-- rewrite and test range proof invariants; fix proof generation/veriifcation bugs by @danlaine in ava-labs#1629- Add minimum proposer window length by @StephenButtolph in ava-labs#1667
- CI -- only run fuzz tests on ubuntu by @danlaine in ava-labs#1636
MerkleDB
-- remove codec version by @danlaine in ava-labs#1671MerkleDB
-- use default config in all tests by @danlaine in ava-labs#1590sync
-- reduce stuttering by @danlaine in ava-labs#1672Sync
-- unexport field by @danlaine in ava-labs#1673sync
-- nits and cleanup by @danlaine in ava-labs#1674sync
-- remove unused code by @danlaine in ava-labs#1676- Mark preForkBlocks after the fork as Rejected by @StephenButtolph in ava-labs#1683
merkledb
-- fix comment by @danlaine in ava-labs#1675MerkleDB
-- document codec by @danlaine in ava-labs#1670sync
-- client cleanup by @danlaine in ava-labs#1680- Update buf version to v1.23.1 by @aaronbuchwald in ava-labs#1685
- @eltociear made their first contribution in ava-labs#1630
- @felipemadero made their first contribution in ava-labs#1606
- @dshiell made their first contribution in ava-labs#1103
- @najeal made their first contribution in ava-labs#1638
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.3...v1.10.4
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.
- 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
- Added
--http-allowed-hosts
with a default value oflocalhost
- Removed
--snow-mixed-query-num-push-vdr
- Removed
--snow-mixed-query-num-push-non-vdr
- Removed
minPercentConnectedStakeHealthy
from the subnet config
- Fixed
platformvm.GetValidatorSet
returning incorrect BLS public keys - Fixed IPv6 literal binding with
--http-host
- Fixed P2P message log format
x/sync
-- Add proto for P2P messages by @dboehm-avalabs in ava-labs#1472- Bump Protobuf and tooling and add section to proto docs outlining buf publishing by @hexfusion in ava-labs#1552
- Minor pchain UTs cleanup by @abi87 in ava-labs#1554
- Add ping uptimes test by @ceyonur in ava-labs#1550
- Add workflow to mark stale issues and PRs by @joshua-kim in ava-labs#1443
- Enforce inlining functions with a single error return in
require.NoError
by @dhrubabasu in ava-labs#1500 x/sync
/x/merkledb
-- addSyncableDB
interface by @danlaine in ava-labs#1555- Rename beacon to boostrapper, define bootstrappers in JSON file for cross-language compatibility by @gyuho in ava-labs#1439
- add P-chain height indexing by @dhrubabasu in ava-labs#1447
- Add P-chain
GetBlockByHeight
API method by @dhrubabasu in ava-labs#1448 x/sync
-- use for sending Range Proofs by @danlaine in ava-labs#1537- Add test to ensure that database packing produces sorted values by @StephenButtolph in ava-labs#1560
- Randomize unit test execution order to identify unwanted dependency by @marun in ava-labs#1565
- use
http.Error
instead of separately writing error code and message by @danlaine in ava-labs#1564 - Adding allowed http hosts flag by @joshua-kim in ava-labs#1566
x/sync
-- Use proto for sending Change Proofs by @danlaine in ava-labs#1541- Only send
PushQuery
messages after building the block by @joshua-kim in ava-labs#1428 - Rename APIAllowedOrigins to HTTPAllowedOrigins by @joshua-kim in ava-labs#1567
- Add GetBalance examples for the P-chain and X-chain wallets by @StephenButtolph in ava-labs#1569
- Reduce number of test iterations by @danlaine in ava-labs#1568
- Re-add upgrade tests by @StephenButtolph in ava-labs#1410
- Remove lists from Chits messages by @StephenButtolph in ava-labs#1412
- Add more X-chain tests by @coffeeavax in ava-labs#1487
- fix typo by @meaghanfitzgerald in ava-labs#1570
- Reduce the number of test health checks by @StephenButtolph in ava-labs#1571
- Fix proposervm.GetAncestors test flake by @StephenButtolph in ava-labs#1572
- Remove list from AcceptedFrontier message by @StephenButtolph in ava-labs#1578
- Remove version db from merkle db by @dboehm-avalabs in ava-labs#1534
MerkleDB
-- add eviction batch size config by @danlaine in ava-labs#1586MerkleDB
-- fixonEvictCache.Flush
by @danlaine in ava-labs#1589- Revert P-Chain height index by @StephenButtolph in ava-labs#1591
x/sync
-- AddSyncableDB
proto by @danlaine in ava-labs#1559- Clarify break on error during ancestors lookup by @hexfusion in ava-labs#1580
- Add buf-push github workflow by @hexfusion in ava-labs#1556
- Pchain bls key diff fix by @abi87 in ava-labs#1584
- Cleanup fx interface compliance by @StephenButtolph in ava-labs#1599
- Improve metrics error msging by @anusha-ctrl in ava-labs#1598
- Separate health checks by tags by @StephenButtolph in ava-labs#1579
- Separate subnet stake connected health and metrics from P-chain by @ceyonur in ava-labs#1358
- Merkle db iterator by @dboehm-avalabs in ava-labs#1533
- Fix unreadable message errors by @morrisettjohn in ava-labs#1585
- Log unexpected errors during GetValidatorSet by @hexfusion in ava-labs#1592
merkleDB
-- add inner heap type to syncWorkHeap by @danlaine in ava-labs#1582sync
-- explain algorithm in readme by @danlaine in ava-labs#1600- Rename license header file to avoid unintended license indexing by @StephenButtolph in ava-labs#1608
merkledb
andsync
-- use time based rand seed by @danlaine in ava-labs#1607- add
local-prefixes
setting forgoimports
by @dhrubabasu in ava-labs#1612 - snow/engine/snowman: instantiate voter after issuer by @gyuho in ava-labs#1610
- Update CodeQL to v2 by @StephenButtolph in ava-labs#1616
- Remove old networking metric by @StephenButtolph in ava-labs#1619
- Fix --http-host flag to support IPv6 by @StephenButtolph in ava-labs#1620
- @marun made their first contribution in ava-labs#1565
- @meaghanfitzgerald made their first contribution in ava-labs#1570
- @anusha-ctrl made their first contribution in ava-labs#1598
- @morrisettjohn made their first contribution in ava-labs#1585
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.2...v1.10.3
This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26
.
- 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
- 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
- Fixed
--network-compression-type
to correctly honor the requested compression type, rather than always using gzip - Fixed CPU metrics on macos
- use
require
library functions in tests by @dhrubabasu in ava-labs#1451 - style nits in vm clients by @dhrubabasu in ava-labs#1449
- utils/logging: add "Enabled" method to remove redundant verbo logs by @gyuho in ava-labs#1461
- ban
require.EqualValues
by @dhrubabasu in ava-labs#1457 - chains: do not hold write subnetsLock in health checks by @gyuho in ava-labs#1460
- remove zstd check by @dhrubabasu in ava-labs#1459
- use
require.IsType
for type assertions in tests by @dhrubabasu in ava-labs#1458 - vms/platformvm/service: nits (preallocate address slice, error msg) by @gyuho in ava-labs#1477
- ban
require.NotEqualValues
by @dhrubabasu in ava-labs#1470 - use
require
inapi
andutils/password
packages by @dhrubabasu in ava-labs#1471 - use "golang.org/x/term" as "golang.org/x/crypto/ssh/terminal" is deprecated by @gyuho in ava-labs#1464
- chains: move "msgChan" closer to the first use (readability) by @gyuho in ava-labs#1484
- ban function params for
require.ErrorIs
by @dhrubabasu in ava-labs#1486 - standardize imports by @dhrubabasu in ava-labs#1466
- fix license header test by @dhrubabasu in ava-labs#1492
- use blank identifier for interface compliance by @dhrubabasu in ava-labs#1493
- codec: remove "SetMaxSize" from "Manager", remove unnecessary lock by @gyuho in ava-labs#1481
- config: disallow "ThrottlerConfig.MaxRecheckDelay" < 1 ms by @gyuho in ava-labs#1435
- ban
require.Equal
when testing for0
by @dhrubabasu in ava-labs#1495 - Clean up MerkleDVB Sync Close lock by @dboehm-avalabs in ava-labs#1469
- MerkleDB Cleanup by @dboehm-avalabs in ava-labs#1465
- Remove comment referencing old IP based tracking by @StephenButtolph in ava-labs#1509
- ban usage of
require.Len
when testing for length0
by @dhrubabasu in ava-labs#1496 - ban usage of
require.Equal
when testing for length by @dhrubabasu in ava-labs#1497 - ban usage of
nil
in require functions by @dhrubabasu in ava-labs#1498 - Sized LRU cache by @abi87 in ava-labs#1517
- engine/snowman: clean up some comments in "bubbleVotes" unit tests by @gyuho in ava-labs#1444
- snow/networking/sender: add missing verbo check by @gyuho in ava-labs#1504
- Delete duplicate test var definitions by @StephenButtolph in ava-labs#1518
- utils/bag: print generic type for bag elements by @gyuho in ava-labs#1507
- Fix incorrect test refactor by @abi87 in ava-labs#1526
- Pchain validators repackaging by @abi87 in ava-labs#1284
- Config overhaul by @ceyonur in ava-labs#1370
- rename enabled staking to sybil protection enabled by @ceyonur in ava-labs#1441
- Fix network compression type flag usage by @StephenButtolph in ava-labs#1532
- Deprecate uptimes in pong message by @ceyonur in ava-labs#1362
- Add CPU cycles and number of disk read/write metrics by pid by @coffeeavax in ava-labs#1334
- Fetch process resource stats as best-effort by @StephenButtolph in ava-labs#1543
- Add serialization tests for transactions added in Banff by @StephenButtolph in ava-labs#1513
- Log chain shutdown duration by @StephenButtolph in ava-labs#1545
- add interface for MerkleDB by @danlaine in ava-labs#1519
- @gyuho made their first contribution in ava-labs#1461
- @coffeeavax made their first contribution in ava-labs#1334
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.1...v1.10.2
This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26
.
- Enabled
avm.getBlockByHeight
to take inheight
as a string - Added IDs to json formats
platform.getTx
now includesid
in thetx
responseplatform.getBlock
now includesid
in theblock
response and in the internaltx
fieldsavm.getTx
now includesid
in thetx
responseavm.getBlock
now includesid
in theblock
response and in the internaltx
fieldsavm.getBlockByHeight
now includesid
in theblock
response and in the internaltx
fields
- Removed
avm.issueStopVertex
- Fixed
wallet
methods to correctly allow issuance of dependent transactions after the X-chain linearization - Added
validatorOnly
flag inplatform.getStake
- Removed all avalanche consensus metrics
- Fixed
msgHandlingTime
metrics
- Removed
--snow-avalanche-num-parents
- Removed
--snow-avalanche-batch-size
- 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
- Add benchmark for gRPC GetValidatorSet by @hexfusion in ava-labs#1326
- Add checks for database being closed in merkledb; other nits by @danlaine in ava-labs#1333
- Update linkedhashmap to only Rlock when possible by @dboehm-avalabs in ava-labs#1329
- Remove no-op changes from history results by @dboehm-avalabs in ava-labs#1335
- Cleanup type assertions in the linkedHashmap by @StephenButtolph in ava-labs#1341
- Fix racy avm tx access by @StephenButtolph in ava-labs#1349
- Update Fuji beacon ips by @StephenButtolph in ava-labs#1354
- Remove duplicate TLS verification by @StephenButtolph in ava-labs#1364
- Adjust Merkledb Trie invalidation locking by @dboehm-avalabs in ava-labs#1355
- Use require in Avalanche bootstrapping tests by @StephenButtolph in ava-labs#1344
- Add Proof size limit to sync client by @dboehm-avalabs in ava-labs#1269
- Add stake priority helpers by @StephenButtolph in ava-labs#1375
- add contribution file by @joshua-kim in ava-labs#1373
- Remove max sample value by @StephenButtolph in ava-labs#1374
- Prefetch rpcdb iterator batches by @StephenButtolph in ava-labs#1323
- Temp fix for flaky Sync Test by @dboehm-avalabs in ava-labs#1378
- Update merkle cache to be FIFO instead of LRU by @dboehm-avalabs in ava-labs#1353
- Improve cost of BLS key serialization for gRPC by @hexfusion in ava-labs#1343
- [Issue-1368]: Panic in serializedPath.HasPrefix by @dboehm-avalabs in ava-labs#1371
- Add ValidatorsOnly flag to GetStake by @StephenButtolph in ava-labs#1377
- Use proto in
x/sync
by @danlaine in ava-labs#1336 - Update incorrect fuji beacon IPs by @StephenButtolph in ava-labs#1392
- Update
api/
error handling by @StephenButtolph in ava-labs#1393 - refactor concurrent work limiting in sync in
x/sync
by @danlaine in ava-labs#1347 - Remove check for impossible condition in
x/sync
by @danlaine in ava-labs#1348 - Improve
codec/
error handling by @StephenButtolph in ava-labs#1396 - Improve
config/
error handling by @StephenButtolph in ava-labs#1397 - Improve
genesis/
error handling by @StephenButtolph in ava-labs#1398 - Improve various error handling locations by @StephenButtolph in ava-labs#1399
- Improve
utils/
error handling by @StephenButtolph in ava-labs#1400 - Improve consensus error handling by @StephenButtolph in ava-labs#1401
- Improve secp256k1fx + merkledb error handling by @StephenButtolph in ava-labs#1402
- Ban usage of require.Error by @StephenButtolph in ava-labs#1346
- Remove slice capacity hint in
x/sync
by @danlaine in ava-labs#1350 - Simplify
syncWorkHeap
less function inx/sync
by @danlaine in ava-labs#1351 - Replace
switch
withtxs.Visitor
in X chain signer by @dhrubabasu in ava-labs#1404 - Include IDs in json marshalling by @StephenButtolph in ava-labs#1408
- Adjust find next key logic in x/Sync by @dboehm-avalabs in ava-labs#1331
- Remove bitmask from writeMsgLen by @StephenButtolph in ava-labs#1342
- Require
txID
s in PeerList messages by @StephenButtolph in ava-labs#1411 - Allow dependent tx issuance over the wallet API by @StephenButtolph in ava-labs#1413
- Add support for proto
message.Tx
decoding by @danlaine in ava-labs#1332 - Remove avalanche bootstrapping -> avalanche consensus transition by @StephenButtolph in ava-labs#1345
- Benchmark get canonical validator set by @aaronbuchwald in ava-labs#1417
- Simplify IP status calculation by @StephenButtolph in ava-labs#1421
- Honor AllowPrivateIPs config by @StephenButtolph in ava-labs#1422
- Update BLS signature ordering to avoid public key compression by @StephenButtolph in ava-labs#1416
- Remove DAG based consensus by @StephenButtolph in ava-labs#1359
- Remove IssueStopVertex message by @StephenButtolph in ava-labs#1419
- Fix msgHandlingTime by @StephenButtolph in ava-labs#1432
- Change ChangeProofs to only have one list of key/value change instead of key/values and deleted by @dboehm-avalabs in ava-labs#1385
- Update AMI generation workflow by @charlie-ava in ava-labs#1289
- Support
height
as a string inavm.getBlockByHeight
by @StephenButtolph in ava-labs#1437 - Defer Snowman Bootstrapper parser initialization to Start by @StephenButtolph in ava-labs#1442
- Cleanup proposervm ancestors packing @StephenButtolph in ava-labs#1446
- @hexfusion made their first contribution in ava-labs#1326
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.10.0...v1.10.1
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
.
- Add CODEOWNERS for the x/ package by @StephenButtolph in ava-labs#1260
- Feature Spec Template by @richardpringle in ava-labs#1258
- Standardize CI triggers by @StephenButtolph in ava-labs#1265
- special case no sent/received message in network health check by @ceyonur in ava-labs#1263
- Fix bug template by @StephenButtolph in ava-labs#1268
- Replace
flags
usage withpflags
by @danlaine in ava-labs#1270 - Fixed grammatical errors in
README.md
by @krakxn in ava-labs#1102 - Add tests for race conditions in merkledb by @kyl27 in ava-labs#1256
- Add P-chain indexer API example by @StephenButtolph in ava-labs#1271
- use
require
insnow/choices
tests by @dhrubabasu in ava-labs#1279 - use
require
inutils/wrappers
tests by @dhrubabasu in ava-labs#1280 - add support for tracking delegatee rewards to validator metadata by @dhrubabasu in ava-labs#1273
- defer delegatee rewards until end of validator staking period by @dhrubabasu in ava-labs#1262
- Initialize UptimeCalculator in TestPeer by @joshua-kim in ava-labs#1283
- Add Avalanche liveness health checks by @StephenButtolph in ava-labs#1287
- Skip AMI generation with Fuji tags by @StephenButtolph in ava-labs#1288
- Use
maps.Equal
inset.Equals
by @danlaine in ava-labs#1290 - return accrued delegator rewards in
GetCurrentValidators
by @dhrubabasu in ava-labs#1291 - Add zstd compression by @danlaine in ava-labs#1278
- implement
txs.Visitor
in X chain wallet by @dhrubabasu in ava-labs#1299 - Parallelize gzip compression by @StephenButtolph in ava-labs#1293
- Add zip bomb tests by @StephenButtolph in ava-labs#1300
- Gossip Avalanche frontier after the linearization by @StephenButtolph in ava-labs#1303
- Add fine grained metrics+logging for handling, processing, and grab l… by @aaronbuchwald in ava-labs#1301
- Persist stateless block in AVM state by @StephenButtolph in ava-labs#1305
- Initialize FxID fields in GetBlock and GetBlockByHeight by @StephenButtolph in ava-labs#1306
- Filterable Health Tags by @ceyonur in ava-labs#1304
- increase health await timeout by @ceyonur in ava-labs#1317
- Expose GetEngineManager from the chain Handler by @StephenButtolph in ava-labs#1316
- Add BLS benchmarks by @StephenButtolph in ava-labs#1318
- Encode codec version in merkledb by @danlaine in ava-labs#1313
- Expose consensus-app-concurrency by @StephenButtolph in ava-labs#1322
- Adjust Logic In Merkle DB History by @dboehm-avalabs in ava-labs#1310
- Fix Concurrency Bug In CommitToParent by @dboehm-avalabs in ava-labs#1320
- Cleanup goroutines on health.Stop by @StephenButtolph in ava-labs#1325
- @richardpringle made their first contribution in ava-labs#1258
- @ceyonur made their first contribution in ava-labs#1263
- @krakxn made their first contribution in ava-labs#1102
- @kyl27 made their first contribution in ava-labs#1256
- @dhrubabasu made their first contribution in ava-labs#1279
- @joshua-kim made their first contribution in ava-labs#1283
- @dboehm-avalabs made their first contribution in ava-labs#1310
Full Changelog: https://github.com/ava-labs/avalanchego/compare/v1.9.16...v1.10.0
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
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
- Fixed
x/merkledb.ChangeProof#getLargestKey
to correctly handle no changes - Added test for
avm/txs/executor.SemanticVerifier#verifyFxUsage
with multiple valid fxs - Fixed CPU + bandwidth performance regression during vertex processing
- Added example usage of the
/ext/index/X/block
API - Reduced the default value of
--snow-optimal-processing
from50
to10
- Updated the year in the license header
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
- Removed linger setting on P2P connections
- Improved error message when failing to calculate peer uptimes
- Removed
EngineType
from P2P response messages - Added context cancellation during dynamic IP updates
- Reduced the maximum P2P reconnect delay from 1 hour to 1 minute
- Added support to switch from
Avalanche
consensus toSnowman
consensus - Added support for routing consensus messages to either
Avalanche
orSnowman
consensus on the same chain - Removed usage of deferred evaluation of the
handler.Consensus
in theAvalanche
OnFinished
callback - Dropped inbound
Avalanche
consensus messages after switching toSnowman
consensus - Renamed the
Avalanche
VM metrics prefix fromavalanche_{chainID}_vm_
toavalanche_{chainID}_vm_avalanche
- Replaced
consensus
anddecision
dispatchers withblock
,tx
, andvertex
dispatchers - Removed
Avalanche
bootstrapping restarts during the switch toSnowman
consensus
- Added
avm
block execution manager - Added
avm
block builder - Refactored
avm
transaction syntactic verification - Refactored
avm
transaction semantic verification - Refactored
avm
transaction execution - Added
avm
mempool gossip - Removed block timer interface from
avm
mempool
- Moved
toEngine
channel into theavm
mempool
- Added
GetUTXOFromID
to theavm
state.Chain
interface - Added unpopulated
MerkleRoot
toavm
blocks - Added
avm
transaction based metrics - Replaced error strings with error interfaces in the
avm
mempool
- Added logs when the local nodes stake amount changes
- Moved
platformvm
message
package intocomponents
- Replaced error strings with error interfaces in the
platformvm
mempool
- Added
ID
method towarp.UnsignedMessage
- Improved
warp.Signature
verification error descriptions
- Improved
merkledb
locking to allow concurrent read access throughtrieView
s - Fixed
Banff
transaction signing with ledger when using the wallet - Emitted github artifacts after successful builds
- Added non-blocking bounded queue
- Converted the
x.Parser
helper to be ablock.Parser
interface from atx.Parser
interface
- Separated dockerhub image publishing from the kurtosis test workflow
- Exported various errors to use in testing
- Removed the
vms/components/state
package - Replaced ad-hoc linked hashmaps with the standard data-structure
- Removed
usr/local/lib/avalanche
from deb packages - Standardized usage of
constants.UnitTestID
- Added P-chain
RemoveSubnetValidatorTx
example using the wallet - Added X-chain
CreateAssetTx
example using the wallet
- Added support to specify
HTTP
server timeouts--http-read-timeout
--http-read-header-timeout
--http-write-timeout
--http-idle-timeout
- Added
avm
block APIsavm.getBlock
avm.getBlockByHeight
avm.getHeight
- Converted
avm
APIs to only surface accepted state - Deprecated all
ipcs
APIsipcs.publishBlockchain
ipcs.unpublishBlockchain
ipcs.getPublishedBlockchains
- Deprecated all
keystore
APIskeystore.createUser
keystore.deleteUser
keystore.listUsers
keystore.importUser
keystore.exportUser
- Deprecated the
avm/pubsub
API endpoint - Deprecated various
avm
APIsavm.getAddressTxs
avm.getBalance
avm.getAllBalances
avm.createAsset
avm.createFixedCapAsset
avm.createVariableCapAsset
avm.createNFTAsset
avm.createAddress
avm.listAddresses
avm.exportKey
avm.importKey
avm.mint
avm.sendNFT
avm.mintNFT
avm.import
avm.export
avm.send
avm.sendMultiple
- Deprecated the
avm/wallet
API endpointwallet.issueTx
wallet.send
wallet.sendMultiple
- Deprecated various
platformvm
APIsplatform.exportKey
platform.importKey
platform.getBalance
platform.createAddress
platform.listAddresses
platform.getSubnets
platform.addValidator
platform.addDelegator
platform.addSubnetValidator
platform.createSubnet
platform.exportAVAX
platform.importAVAX
platform.createBlockchain
platform.getBlockchains
platform.getStake
platform.getMaxStakeAmount
platform.getRewardUTXOs
- Deprecated the
stake
field in theplatform.getTotalStake
response in favor ofweight
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
- Removed error from
logging.NoLog#Write
- Added logging to the static VM factory usage
- Fixed incorrect error being returned from
subprocess.Bootstrap
- Added ledger tx parsing support
- Added explicit consistency guarantees when committing multiple
merkledb.trieView
s to disk at once - Removed reliance on premature root calculations for
merkledb.trieView
validity tracking - Updated
x/merkledb/README.md
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24
.
- Removed parent tracking from
merkledb.trieView
- Removed
base
caches frommerkledb.trieView
- Fixed error handling during
merkledb
intermediate node eviction - Replaced values larger than
32
bytes with a hash in themerkledb
hash representation
- Refactored
avm
API tx creation into a standaloneSpender
implementation - Migrated UTXO interfaces from the
platformvm
into thecomponents
for use in theavm
- Refactored
avm
tx.SyntacticVerify
to expect the config rather than the fee fields
- Updated the minimum golang version to
v1.19.6
- Fixed
rpcchainvm
signal handling to only shutdown upon receipt ofSIGTERM
- Added
warp.Signature#NumSigners
for better cost tracking support - Added
snow.Context#PublicKey
to provide access to the local node's BLS public key inside the VM execution environment - Renamed Avalanche consensus metric prefix to
avalanche_{chainID}_avalanche
- Specified an explicit TCP
Linger
timeout of15
seconds - Updated the
secp256k1
library tov4.1.0
- Removed support for the
--whitelisted-subnets
flag - Removed unnecessary abstractions from the
app
package - Removed
Factory
embedding fromplatformvm.VM
andavm.VM
- Removed
validator
package from theplatformvm
- Removed
timer.TimeoutManager
- Replaced
snow.Context
inFactory.New
withlogging.Logger
- Renamed
set.Bits#Len
toBitLen
andset.Bits#HammingWeight
toLen
to align withset.Bits64
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 23
.
Note: The --whitelisted-subnets
flag was deprecated in v1.9.6
. This is the last release in which it will be supported. Use --track-subnets
instead.
- Added warning when the P2P server IP is private
- Added warning when the HTTP server IP is potentially publicly reachable
- Removed
merkledb.trieView#calculateIDs
tracing when no recalculation is needed
- Capped the number of goroutines that
merkledb.trieView#calculateIDsConcurrent
will create - Removed
nodb
package - Refactored
Batch
implementations to share common code - Added
Batch.Replay
invariant tests - Converted to use
require
in alldatabase
interface tests
- Moved the
secp256k1
implementations to a newsecp256k1
package out of thecrypto
package - Added
rfc6979
compliance tests to thesecp256k1
signing implementation - Removed unused cryptography implementations
ed25519
,rsa
, andrsapss
- Removed unnecessary cryptography interfaces
crypto.Factory
,crypto.RecoverableFactory
,crypto.PublicKey
, andcrypto.PrivateKey
- Added verification when parsing
secp256k1
public keys to ensure usage of the compressed format
- Removed delegators from
platform.getCurrentValidators
unless a singlenodeID
is requested - Added
delegatorCount
anddelegatorWeight
to the validators returned byplatform.getCurrentValidators
- Improved documentation on the
block.WithVerifyContext
interface - Fixed
--public-ip
and--public-ip-resolution-service
CLI flag descriptions - Updated
README.md
to explicitly referenceSECURITY.md
- Enabled state sync by default when syncing from an empty database
- Increased block gas limit to 15M for
Cortina
Network Upgrade - Added back file tracer endpoint
- Added back JS tracer
- Added
allowedNodes
to the subnet config forvalidatorOnly
subnets - Removed the
hashicorp/go-plugin
dependency to improve plugin flexibility - Replaced specialized
bag
implementations with genericbag
implementations - Added
mempool
package to theavm
- Added
chain.State#IsProcessing
to simplify integration withblock.WithVerifyContext
- Added
StateSyncMinVersion
tosync.ClientConfig
- Added validity checks for
InitialStakeDuration
in a custom network genesis - Removed unnecessary reflect call when marshalling an empty slice
- Renamed
teleporter
package towarp
- Replaced
bool
flags in P-chain state diffs with anenum
- Refactored subnet configs to more closely align between the primary network and subnets
- Simplified the
utxo.Spender
interface - Removed unused field
common.Config#Validators
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22
.
- Added TCP proxy support for p2p network traffic
- Added p2p network client utility for directly messaging the p2p network
- Guaranteed delivery of App messages to the VM, regardless of sync status
- Added
EngineType
to consensus context
- Added initial implementation of a path-based merkle-radix tree
- Added initial implementation of state sync powered by the merkledb
- Updated
platform.getCurrentValidators
to returnuptime
as a percentage - Updated
platform.get*Validators
to avoid iterating over the staker set when requesting specific nodeIDs - Cached staker data in
platform.get*Validators
to significantly reduce DB IO - Added
stakeAmount
andweight
to all staker responses in P-chain APIs - Deprecated
stakeAmount
in staker responses from P-chain APIs - Removed
creationTxFee
frominfo.GetTxFeeResponse
- Removed
address
fromplatformvm.GetBalanceRequest
- Fixed
RemoveSubnetValidatorTx
weight diff corruption - Released network lock before attempting to close a peer connection
- Fixed X-Chain last accepted block initialization to use the genesis block, not the stop vertex after linearization
- Removed plugin directory handling from AMI generation
- Removed copy of plugins directory from tar script
- Removed unused rpm packaging scripts
- Removed engine dependency from chain registrants
- Removed unused field from chain handler log
- Linted custom test
chains.Manager
- Used generic btree implementation
- Deleted
utils.CopyBytes
- Updated rjeczalik/notify from v0.9.2 to v0.9.3
- Added AVM
state.Chain
interface - Added generic atomic value utility
- Added test for the AMI builder during RCs
- Converted cache implementations to use generics
- Added optional cache eviction callback
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22
.
- Fixed subnet validator lookup regression
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22
.
- Added
StateSyncMode
to the return ofStateSummary#Accept
to support syncing chain state while tracking the chain as a light client - Added
AcceptedFrontier
toChits
messages - Reduced unnecessary confidence resets during consensus by applying
AcceptedFrontier
s duringQueryFailed
handling - Added EngineType for consensus messages in the p2p message definitions
- Updated
vertex.DAGVM
interface to support linearization
- Added
--plugin-dir
flag. The default value is[DATADIR]/plugins
- Removed
--build-dir
flag. The location of the avalanchego binary is no longer considered when looking for theplugins
directory. Subnet maintainers should ensure that their node is able to properly discover plugins, as the default location is likely changed. See--plugin-dir
- Changed the default value of
--api-keystore-enabled
tofalse
- Added
--track-subnets
flag as a replacement of--whitelisted-subnets
- Fixed NAT-PMP router discovery and port mapping
- Fixed
--staking-enabled=false
setting to correctly start subnet chains and report healthy - Fixed message logging in the consensus handler
- Populated non-trivial logger in the
rpcchainvm
Server
'ssnow.Context
- Updated
rpcchainvm
proto definitions to use enums - Added
Block
format and definition to theAVM
- Removed
proposervm
height index reset
- Added
avalanche_network_peer_connected_duration_average
metric - Added
avalanche_api_calls_processing
metric - Added
avalanche_api_calls
metric - Added
avalanche_api_calls_duration
metric
- Added wallet example to create
stakeable.LockOut
outputs - Improved ubuntu deb install instructions
- Updated ledger-avalanche to v0.6.5
- Added linter to ban the usage of
fmt.Errorf
without format directives - Added
List
to thebuffer#Deque
interface - Added
Index
to thebuffer#Deque
interface - Added
SetLevel
to theLogger
interface - Updated
auth
API to use the newjwt
standard
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 21
.
- Added subnet message serialization format
- Added subnet message signing
- Replaced
bls.SecretKey
with ateleporter.Signer
in thesnow.Context
- Moved
SNLookup
into thevalidators.State
interface to support non-whitelisted chainID to subnetID lookups - Added support for non-whitelisted subnetIDs for fetching the validator set at a given height
- Added subnet message verification
- Added
teleporter.AnycastID
to denote a subnet message not intended for a specific chain
- Added re-gossip of updated validator IPs
- Fixed
rpcchainvm.BatchedParseBlock
to correctly wrap returned blocks - Removed incorrect
uintptr
handling in the generic codec - Removed message latency tracking on messages being sent to itself
- Added support for eth_call over VM2VM messaging
- Added config flags for tx pool behavior
- Added networking package README.md
- Removed pagination of large db messages over gRPC
- Added
Size
to the generic codec to reduce allocations - Added
UnpackLimitedBytes
andUnpackLimitedStr
to the manual packer - Added SECURITY.md
- Exposed proposer list from the
proposervm
'sWindower
interface - Added health and bootstrapping client helpers that block until the node is healthy
- Moved bit sets from the
ids
package to theset
package - Added more wallet examples
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 20
.
This version modifies the db format. The db format is compatible with v1.9.3, but not v1.9.2 or earlier. After running a node with v1.9.4 attempting to run a node with a version earlier than v1.9.3 may report a fatal error on startup.
- Added gossip tracking to the
peer
instance to only gossip newIP
s to a connection - Added
PeerListAck
message to report whichTxID
s provided by thePeerList
message were tracked - Added
TxID
s to thePeerList
message to unique-ify nodeIDs across validation periods - Added
TxID
mappings to the gossip tracker
- Renamed
GetValidators
toGet
on thevalidators.Manager
interface - Removed
Set
,AddWeight
,RemoveWeight
, andContains
from thevalidators.Manager
interface - Added
Add
to thevalidators.Manager
interface - Removed
Set
from thevalidators.Set
interface - Added
Add
andGet
to thevalidators.Set
interface - Modified
validators.Set#Sample
to returnids.NodeID
rather thanvaldiators.Validator
- Replaced the
validators.Validator
interface with a struct - Added a
BLS
public key field tovalidators.Validator
- Added a
TxID
field tovalidators.Validator
- Improved and documented error handling within the
validators.Set
interface - Added
BLS
public keys to the result ofGetValidatorSet
- Added
BuildBlockWithContext
as an optional VM method to build blocks at a specific P-chain height - Added
VerifyWithContext
as an optional block method to verify blocks at a specific P-chain height
- Added ConnectedSubnet message handling to the chain handler
- Added SubnetConnector interface and implemented it in the platformvm
- Added subnet uptimes to p2p
pong
messages - Added subnet uptimes to
platform.getCurrentValidators
- Added
subnetID
as an argument toinfo.Uptime
- Fixed incorrect context cancellation of escaped contexts from grpc servers
- Fixed race condition between API initialization and shutdown
- Fixed race condition between NAT traversal initialization and shutdown
- Fixed race condition during beacon connection tracking
- Added race detection to the E2E tests
- Added additional message and sender tests
- Improved header and logs caching using maximum accepted depth cache
- Added config option to perform database inspection on startup
- Added configurable transaction indexing to reduce disk usage
- Added special case to allow transactions using Nick's Method to bypass API level replay protection
- Added counter metrics for number of accepted/processed logs
- Added indices to the return values of
GetLastAccepted
andGetContainerByID
on theindexer
API client - Removed unnecessary locking from the
info
API
- Added
ChainDataDir
to thesnow.Context
to allow blockchains to canonically access disk outside avalanchego's database - Added
--chain-data-dir
as a CLI flag to specify the base directory for allChainDataDir
s
- Removed
Version
from thepeer.Network
interface - Removed
Pong
from thepeer.Network
interface - Reduced memory allocations inside the system throttler
- Added
CChainID
to thesnow.Context
- Converted all sorting to utilize generics
- Converted all set management to utilize generics
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 19
.
- Added
context.Context
to allVM
interface functions - Added
context.Context
to thevalidators.State
interface - Added additional message fields to
tracedRouter#HandleInbound
- Added
tracedVM
implementations forblock.ChainVM
andvertex.DAGVM
- Added
tracedState
implementation forvalidators.State
- Added
tracedHandler
implementation forhttp.Handler
- Added
tracedConsensus
implementations forsnowman.Consensus
andavalanche.Consensus
- Fixed incorrect
NodeID
used in registeredAppRequest
timeouts - Fixed panic when calling
encdb#NewBatch
afterencdb#Close
- Fixed panic when calling
prefixdb#NewBatch
afterprefixdb#Close
- Added
proposerMinBlockDelay
support to subnet configs - Added
providedFlags
field to theinitializing node
for easily observing custom node configs - Added
--chain-aliases-file
and--chain-aliases-file-content
CLI flags - Added
--proposervm-use-current-height
CLI flag
- Added metric for number of processed and accepted transactions
- Added wait for state sync goroutines to complete on shutdown
- Increased go-ethereum dependency to v1.10.26
- Increased soft cap on transaction size limits
- Added back isForkIncompatible checks for all existing forks
- Cleaned up Apricot Phase 6 code
- Added
unused-receiver
linter - Added
unused-parameter
linter - Added
useless-break
linter - Added
unhandled-error
linter - Added
unexported-naming
linter - Added
struct-tag
linter - Added
bool-literal-in-expr
linter - Added
early-return
linter - Added
empty-lines
linter - Added
error-lint
linter
- Added
scripts/build_fuzz.sh
and initial fuzz tests - Added additional
Fx
tests - Added additional
messageQueue
tests - Fixed
vmRegisterer
tests
- Documented
Database.Put
invariant fornil
and empty slices - Documented avalanchego's versioning scheme
- Improved
vm.proto
docs
- Added peer gossip tracker
- Added
avalanche_P_vm_time_until_unstake
andavalanche_P_vm_time_until_unstake_subnet
metrics - Added
keychain.NewLedgerKeychainFromIndices
- Removed usage of
Temporary
error handling afterlistener#Accept
- Removed
Parameters
from allConsensus
interfaces - Updated
avalanche-network-runner
tov1.3.0
- Added
ids.BigBitSet
to extendids.BitSet64
for arbitrarily large sets - Added support for parsing future subnet uptime tracking data to the P-chain's state implementation
- Increased validator set cache size
- Added
avax.UTXOIDFromString
helper for managingUTXOID
s more easily
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 19
.
- Added trie clean cache journaling to disk to improve processing time after restart
- Fixed regression where a snapshot could be marked as stale by the async acceptor during block processing
- Added fine-grained block processing metrics
- Added
validators.State
to the rpcchainvm server'ssnow.Context
- Added
rpcProtocolVersion
to the output ofinfo.getNodeVersion
- Added
rpcchainvm
protocol version to the output of the--version
flag - Added
version.RPCChainVMProtocolCompatibility
map to easily compare plugin compatibility against avalanchego versions
- Downgraded
ubuntu
release binaries fromjammy
tofocal
- Updated macos github runners to
macos-12
- Added workflow dispatch to build release binaries
- Added bls proof of possession to
platform.getCurrentValidators
andplatform.getPendingValidators
- Added bls public key to in-memory staker objects
- Improved memory clearing of bls secret keys
- Fixed issue where the chain manager would attempt to start chain creation multiple times
- Fixed race that caused the P-chain to finish bootstrapping before the primary network finished bootstrapping
- Converted inbound message handling to expect usage of types rather than maps of fields
- Simplified the
validators.Set
implementation - Added a warning if synchronous consensus messages take too long
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 18
.
- Added cross-chain messaging support to the VM interface
- Added Ledger support to the Primary Network wallet
- Converted Bionic builds to Jammy builds
- Added
mock.gen.sh
to programmatically generate mock implementations - Added BLS signer to the
snow.Context
- Moved
base
fromrpc.NewEndpointRequester
to be included in themethod
inSendRequest
- Converted
UnboundedQueue
toUnboundedDeque
- Added support for OpenTelemetry tracing
- Converted periodic bootstrapping status update to be time-based
- Removed duplicated fields from the json format of the node config
- Configured min connected stake health check based on the consensus parameters
- Added new consensus metrics
- Documented how chain time is advanced in the PlatformVM with
chain_time_update.md
- Converted chain creation to be handled asynchronously from the P-chain's execution environment
- Removed
SetLinger
usage of P2P TCP connections - Removed
Banff
upgrade flow - Fixed ProposerVM inner block caching after verification
- Fixed PlatformVM mempool verification to use an updated chain time
- Removed deprecated CLI flags:
--dynamic-update-duration
,--dynamic-public-ip
- Added unexpected Put bytes tests to the Avalanche and Snowman consensus engines
- Removed mockery generated mock implementations
- Converted safe math functions to use generics where possible
- Added linting to prevent usage of
assert
in unit tests - Converted empty struct usage to
nil
for interface compliance checks - Added CODEOWNERs to own first rounds of PR review
This upgrade adds support for creating Proof-of-Stake Subnets.
This version is not backwards compatible. The changes in the upgrade go into effect at 12 PM EDT, October 18th 2022 on Mainnet.
All Mainnet nodes should upgrade before 12 PM EDT, October 18th 2022.
The supported plugin version is 17
.
- Activated P2P serialization format change to Protobuf
- Activated non-AVAX
ImportTx
/ExportTx
s to/from the P-chain - Activated
Banff*
blocks on the P-chain - Deactivated
Apricot*
blocks on the P-chain - Activated
RemoveSubnetValidatorTx
s on the P-chain - Activated
TransformSubnetTx
s on the P-chain - Activated
AddPermissionlessValidatorTx
s on the P-chain - Activated
AddPermissionlessDelegatorTx
s on the P-chain - Deactivated ANT
ImportTx
/ExportTx
s on the C-chain - Deactivated ANT precompiles on the C-chain
- Ubuntu 18.04 releases are deprecated and will not be provided for
>=v1.9.1
- Fixed locked input signing in the P-chain wallet
- Removed assertions from the logger interface
- Removed
--assertions-enabled
flag - Fixed typo in
--bootstrap-max-time-get-ancestors
flag - Standardized exported P-Chain codec usage
- Improved isolation and execution of the E2E tests
- Updated the linked hashmap implementation to use generics
This version is backwards compatible to v1.8.0. It is optional, but encouraged. The supported plugin version is 16
.
- Added BLS key file at
--staking-signer-key-file
- Exposed BLS proof of possession in the
info.getNodeID
API - Added BLS proof of possession to
AddPermissionlessValidatorTx
s for the Primary Network
The default value of --staking-signer-key-file
is ~/.avalanchego/staking/signer.key
. If the key file doesn't exist, it will be populated with a new key.
- Added P2P proto support to be activated in a future release
- Fixed inbound bandwidth spike after leaving the validation set
- Removed support for
ChitsV2
messages - Removed
ContainerID
s fromPut
andPushQuery
messages - Added
pending_timeouts
metric to track the number of active timeouts a node is tracking - Fixed overflow in gzip decompression
- Optimized memory usage in
peer.MessageQueue
- Fixed bootstrapping ETA metric
- Removed unused
unknown_txs_count
metric - Replaced duplicated code with generic implementations
- Added failure reason to bad block API
Please upgrade your node as soon as possible.
The supported plugin version is 16
.
- Fixed stale block reference by evicting blocks upon successful verification
- Removed check for Apricot Phase6 incompatible fork to unblock nodes that did not upgrade ahead of the activation time
Please upgrade your node as soon as possible.
The supported plugin version is 16
.
- Added temporarily invalid block caching to reduce repeated network requests
- Added caching to the proposervm's inner block parsing
- Reduced the log level of
BAD BLOCK
s fromERROR
toDEBUG
- Deprecated Native Asset Call
Please upgrade your node as soon as possible.
The changes in v1.8.x
go into effect at 4 PM EDT on September 6th, 2022 on both Fuji and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
The supported plugin version is 16
.
- Fixed live-lock in bootstrapping, after performing state-sync, by properly reporting
database.ErrNotFound
inGetBlockIDAtHeight
rather than a formatted error - Increased the log level of
BAD BLOCK
s fromDEBUG
toERROR
- Fixed typo in Chain Config
String
function
Please upgrade your node as soon as possible.
The changes in v1.8.x
go into effect at 4 PM EDT on September 6th, 2022 on both Fuji and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
The supported plugin version is 16
.
- Reduced the severity of not quickly connecting to bootstrap nodes from
FATAL
toWARN
- Reduced the log level of
BAD BLOCK
s fromERROR
toDEBUG
- Added Apricot Phase6 to Chain Config
String
function
This is a mandatory security upgrade. Please upgrade your node as soon as possible.
The changes in the upgrade go into effect at 4 PM EDT on September 6th, 2022 on both Fuji and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
You may see some extraneous ERROR logs ("BAD BLOCK") on your node after upgrading. These may continue until the Apricot Phase 6 activation (at 4 PM EDT on September 6th).
The supported plugin version is 16
.
- Fixed
GetBlock
API when requesting the encoding asjson
- Changed the json key in
AddSubnetValidatorTx
s fromsubnet
tosubnetID
- Added multiple asset support to
getBalance
- Updated
PermissionlessValidator
s returned fromgetCurrentValidators
andgetPendingValidators
to includevalidationRewardOwner
anddelegationRewardOwner
- Deprecated
rewardOwner
inPermissionlessValidator
s returned fromgetCurrentValidators
andgetPendingValidators
- Added
subnetID
argument togetCurrentSupply
- Added multiple asset support to
getStake
- Added
subnetID
argument togetMinStake
- Renamed existing blocks
ProposalBlock
->ApricotProposalBlock
AbortBlock
->ApricotAbortBlock
CommitBlock
->ApricotCommitBlock
StandardBlock
->ApricotStandardBlock
AtomicBlock
->ApricotAtomicBlock
- Added new block types to be enabled in a future release
BlueberryProposalBlock
- Introduces a
Time
field and an unusedTxs
field before the remainingApricotProposalBlock
fields
- Introduces a
BlueberryAbortBlock
- Introduces a
Time
field before the remainingApricotAbortBlock
fields
- Introduces a
BlueberryCommitBlock
- Introduces a
Time
field before the remainingApricotCommitBlock
fields
- Introduces a
BlueberryStandardBlock
- Introduces a
Time
field before the remainingApricotStandardBlock
fields
- Introduces a
- Added new transaction types to be enabled in a future release
RemoveSubnetValidatorTx
- Can be included into
BlueberryStandardBlock
s - Allows a subnet owner to remove a validator from their subnet
- Can be included into
TransformSubnetTx
- Can be included into
BlueberryStandardBlock
s - Allows a subnet owner to convert their subnet into a permissionless subnet
- Can be included into
AddPermissionlessValidatorTx
- Can be included into
BlueberryStandardBlock
s - Adds a new validator to the requested permissionless subnet
- Can be included into
AddPermissionlessDelegatorTx
- Can be included into
BlueberryStandardBlock
s - Adds a new delegator to the requested permissionless validator on the requested subnet
- Can be included into
- Fixed race in
AdvanceTimeTx
creation to avoid unnecessary block construction - Added
block_formation_logic.md
to describe how blocks are created - Refactored
BlockBuilder
intoApricotBlockBuilder
- Added
BlueberryBlockBuilder
- Added
OptionBlock
builder visitor - Refactored
Mempool
issuance and removal logic to use transaction visitors
- Added support for executing
AddValidatorTx
,AddDelegatorTx
, andAddSubnetValidatorTx
inside of aBlueberryStandardBlock
- Refactored time advancement into a standard state modification structure
- Refactored
ProposalTxExecutor
to abstract state diff creation - Standardized upgrade checking rules
- Refactored subnet authorization checking
- Added support for new transaction types in the P-chain wallet
- Fixed fee amounts used in the Primary Network wallet to reduce unnecessary fee burning
- Defined
p2p.proto
to be used for future network messages - Added
--network-tls-key-log-file-unsafe
to support inspecting p2p messages - Added
avalanche_network_accept_failed
metrics to track networkingAccept
errors
- Removed reserved fields from proto files and renumbered the existing fields
- Added generic dynamically resized ring buffer
- Updated gRPC version to
v1.49.0
to fix non-deterministic errors reported in therpcchainvm
- Removed
--signature-verification-enabled
flag - Removed dead code
ids.QueueSet
timer.Repeater
timer.NewStagedTimer
timer.TimedMeter
- Incorrectly deprecated Native Asset Call
- Migrated to go-ethereum v1.10.23
- Added API to fetch Chain Config
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15
.
- Fixed bug in
codeToFetch
database accessors that caused an error when starting/stopping state sync - Fixed rare BAD BLOCK errors during C-chain bootstrapping
- Fixed platformvm
couldn't get preferred block state
log due to attempted block building during bootstrapping - Fixed platformvm
failed to fetch next staker to reward
error log due to an incorrectlastAcceptedID
reference - Fixed AWS AMI creation
- Refactored platformvm metrics handling
- Refactored platformvm block creation
- Introduced support to prevent empty nodeID use on the P-chain to be activated in a future upgrade
- Updated gas price estimation to limit lookback window based on block timestamps
- Added metrics for processed/accepted gas
- Simplified syntactic block verification
- Ensured statedb errors during block processing are logged
- Removed deprecated gossiper/block building logic from pre-Apricot Phase 4
- Added marshal function for duration to improve config output
- Updated local network genesis to use a newer start time
- Updated minimum golang version to go1.18.1
- Removed support for RocksDB
- Bumped go-ethereum version to v1.10.21
- Added various additional tests
- Introduced additional database invariants for all database implementations
- Added retries to windows CI installations
- Removed useless ID aliasing during chain creation
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15
.
- Refactored P-chain block state management
- Supporting easier parsing and usage of blocks
- Improving separation of block execution with block definition
- Unifying state definitions
- Introduced support to send custom X-chain assets to the P-chain to be activated in a future upgrade
- Introduced support to use custom assets on the P-chain to be activated in a future upgrade
- Added VMs README to begin fully documenting plugin invariants
- Added various comments around expected usages of VM tools
- Added optional JSON logging
- Added interface for supporting stateful precompiles
- Removed legacy code format from the database
- Fixed ungraceful gRPC connection closure during very long running requests
- Fixed LevelDB panic during shutdown
- Fixed verification of
--stake-max-consumption-rate
to include the upper-bound - Fixed various CI failures
- Fixed flaky unit tests
- Added bootstrapping ETA metrics
- Converted all logs to support structured fields
- Improved Snowman++ oracle block verification error messages
- Removed deprecated or unused scripts
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15
.
- Fix rapid disk growth by manually specifying the maximum manifest file size
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15
.
- Replaced copy-on-write validator set data-structure to use tree diffs to optimize validator set additions
- Replaced validation transactions with a standardized representation to remove transaction type handling
- Migrated transaction execution to its own package
- Removed child pointers from processing blocks
- Added P-chain wallet helper for providing initial transactions
- Bumped go-ethereum dependency to v1.10.20
- Updated API names used to enable services in
eth-api
config flag. Prior names are supported but deprecated, please update configurations accordingly - Optimized state sync by parallelizing trie syncing
- Added
eth_syncing
API for compatibility. Note: This API is only accessible after bootstrapping and always returns"false"
, since the node will no longer be syncing at that point - Added metrics to the atomic transaction mempool
- Added metrics for incoming/outgoing mempool gossip
- Updated Snowman and Avalanche consensus engines to report original container preferences before processing the provided container
- Fixed inbound message byte throttler context cancellation cleanup
- Removed case sensitivity of IP resolver services
- Added failing health check when a whitelisted subnet fails to initialize a chain
- Added gRPC client metrics for dynamically created connections
- Added uninitialized continuous time averager for when initial predictions are unreliable
- Updated linter version
- Documented various platform invariants
- Cleaned up various dead parameters
- Improved various tests
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
These API format changes are breaking changes. https://api.avax.network and https://api.avax-test.network have been updated with this format. If you are using AvalancheGo APIs in your code, please ensure you have updated to the latest versions. See https://docs.avax.network/apis/avalanchego/cb58-deprecation for details about the CB58 removal.
- Removed
CB58
as an encoding option from all APIs - Added
HexC
andHexNC
as encoding options for all APIs that accept an encoding format - Removed the
Success
response from all APIs - Replaced
containerID
withid
in the indexer API
- Fixed incorrect
P-chain
height inSnowman++
when staking is disabled - Moved
platformvm
transactions to be defined in a sub-package - Moved
platformvm
genesis management to be defined in a sub-package - Moved
platformvm
state to be defined in a sub-package - Standardized
platformvm
transactions to always be referenced via pointer - Moved the
platformvm
transaction builder to be defined in a sub-package - Fixed uptime rounding during node shutdown
- Bumped go-ethereum dependency to v1.10.18
- Parallelized state sync code fetching
- Updated
Connected
andDisconnected
messages to only be sent to chains if the peer is tracking the subnet - Updated the minimum TLS version on the p2p network to
v1.3
- Supported context cancellation in the networking rate limiters
- Added
ChitsV2
message format for the p2p network to be used in a future upgrade
- Fixed
--public-ip-resolution-frequency
invalid overwrite of the resolution service - Added additional metrics to distinguish between virtuous and rogue currently processing transactions
- Suppressed the super cool
avalanchego
banner whenstdout
is not directed to a terminal - Updated linter version
- Improved various comments and documentation
- Standardized primary network handling across subnet maps
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Added peer bandwidth tracking to optimize
coreth
state sync message routing - Fixed
coreth
leaf request handler bug to ensure the handler delivers a valid range proof - Removed redundant proof keys from
coreth
leafs response message format - Improved
coreth
state sync request retry logic - Improved
coreth
state sync handler metrics - Improved
coreth
state sync ETA - Added
avalanche_{chainID}_handler_async_expired
metric
- Fixed
platform.getCurrentValidators
API to correctly mark a node as connected to itself on subnets. - Fixed
platform.getBlockchainStatus
to correctly reportUnknown
for blockchains that are not managed by theP-Chain
- Added process metrics by default in the
rpcchainvm#Server
- Added
Database
health checks - Removed the deprecated
Database.Stat
call from therpcdb#Server
- Added fail fast logic to duplicated Snowman additions to avoid undefined behavior
- Added additional testing around Snowman diverged voting tests
- Deprecated
--dynamic-update-duration
and--dynamic-public-ip
CLI flags - Added
--public-ip-resolution-frequency
and--public-ip-resolution-service
to replace--dynamic-update-duration
and--dynamic-public-ip
, respectively
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Fixed proposervm state summary acceptance to only accept state summaries with heights higher than the locally last accepted block
- Fixed proposervm state summary serving to only respond to requests after height indexing has finished
- Improved C-chain state sync leaf request serving by optimistically reading leaves from snapshot
- Refactored C-chain state sync block fetching
- Reduced default peerlist and accepted frontier gossipping
- Increased the default at-large outbound buffer size to 32 MiB
- Added leveldb metrics
- Added process and golang metrics for the avalanchego binary
- Added available disk space health check
- Ensured that the disk space will not be fully utilized by shutting down the node if there is a critically low amount of free space remaining
- Improved C-chain state sync metrics
- Added C-chain acceptor queue within
core/blockchain.go
- Removed rpcdb locking when committing batches and using iterators
- Capped C-chain TrieDB dirties cache size during block acceptance to reduce commit size at 4096 block interval
- Refactored the avm to utilize the external txs package
- Unified platformvm dropped tx handling
- Clarified snowman child block acceptance calls
- Fixed small consensus typos
- Reduced minor duplicated code in consensus
- Moved the platformvm key factory out of the VM into the test file
- Removed unused return values from the timeout manager
- Removed weird json rpc private interface
- Standardized json imports
- Added vm factory interface checks
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
The first startup of the C-Chain will cause an increase in CPU and IO usage due to an index update. This index update runs in the background and does not impact restart time.
- Added state syncer engine to facilitate VM state syncing, rather than full historical syncing
- Added
GetStateSummaryFrontier
,StateSummaryFrontier
,GetAcceptedStateSummary
,AcceptedStateSummary
as P2P messages - Updated
Ancestors
message specification to expect an empty response if the container is unknown - Added
--state-sync-ips
and--state-sync-ids
flags to allow manual overrides of which nodes to query for accepted state summaries - Updated networking library to permanently track all manually tracked peers, rather than just beacons
- Added state sync support to the
metervm
- Added state sync support to the
proposervm
- Added state sync support to the
rpcchainvm
- Added beta state sync support to
coreth
- Prevented rejected blocks from overwriting the
proposervm
height index - Optimized
proposervm
block rewind to utilize the height index if available - Ensured
proposervm
height index is marked as repaired inInitialize
if it is fully repaired on startup - Removed
--reset-proposervm-height-index
. The height index will be reset upon first restart - Optimized
proposervm
height index resetting to periodically flush deletions
- Fixed IPC message issuance and restructured consensus event callbacks to be checked at compile time
- Fixed
coreth
metrics initialization - Fixed bootstrapping startup logic to correctly startup if initially connected to enough stake
- Fixed
coreth
panic during metrics collection - Fixed panic on concurrent map read/write in P-chain wallet SDK
- Fixed
rpcchainvm
panic by sanitizing http response codes - Fixed incorrect JSON tag on
platformvm.BaseTx
- Fixed
AppRequest
,AppResponse
, andAppGossip
stringers used in logging
- Supported client implementations pointing to non-standard URIs
- Introduced
ids.NodeID
type to standardize logging and simplify API service and client implementations - Changed client implementations to use standard types rather than
string
s wherever possible - Added
subnetID
as an argument toplatform.getTotalStake
- Added
connected
to the subnet validators in responses toplatform.getCurrentValidators
andplatform.getPendingValidators
- Add missing
admin
API client methods - Improved
indexer
API client implementation to avoid encoding edge cases
- Added
--snow-mixed-query-num-push-vdr
and--snow-mixed-query-num-push-non-vdr
to allow parameterization of sending push queries- By default, non-validators now send only pull queries, not push queries.
- By default, validators now send both pull queries and push queries upon inserting a container into consensus. Previously, nodes sent only push queries.
- Added metrics to track the amount of over gossipping of
peerlist
messages - Added custom message queueing support to outbound
Peer
messages - Reused
Ping
messages to avoid needless memory allocations
- Replaced AvalancheGo's internal logger with uber-go/zap.
- Replaced AvalancheGo's log rotation with lumberjack.
- Renamed
log-display-highlight
tolog-format
and addedjson
option. - Added
log-rotater-max-size
,log-rotater-max-files
,log-rotater-max-age
,log-rotater-compress-enabled
options for log rotation.
- Added
--data-dir
flag to easily move all default file locations to a custom location - Standardized RPC specification of timestamp fields
- Logged health checks whenever a failing health check is queried
- Added callback support for the validator set manager
- Increased
coreth
trie tip buffer size to 32 - Added CPU usage metrics for AvalancheGo and all sub-processes
- Added Disk IO usage metrics for AvalancheGo and all sub-processes
- Refactored easily separable
platformvm
files into separate smaller packages - Simplified default version parsing
- Fixed various typos
- Converted some structs to interfaces to better support mocked testing
- Refactored IP utils
- Increased recommended disk size to 1 TB
- Updated issue template
- Documented additional
snowman.Block
invariants
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Improved vertex and block gossiping for validators with low stake weight.
- Added peers metric by subnet.
- Added percentage of stake connected metric by subnet.
- Added support for specifying additional headers and query params in the RPC client implementations.
- Added static API clients for the
platformvm
and theavm
.
- Introduced time based windowing of accepted P-chain block heights to ensure that local networks update the proposer list timely in the
proposervm
. - Improved selection of decision transactions from the mempool.
- Increased
buf
version tov1.3.1
. - Migrated all proto definitions to a dedicated
/proto
folder. - Removed the dependency on the non-standard grpc broker to better support other language implementations.
- Added grpc metrics.
- Added grpc server health checks.
- Fixed a bug where a deadlock on shutdown caused historical re-generation on restart.
- Added an API endpoint to fetch the current VM Config.
- Added AvalancheGo custom log formatting to the logs.
- Removed support for the JS Tracer.
- Added piping of subnet logs to stdout.
- Lazily initialized logs to avoid opening files that are never written to.
- Added support for arbitrarily deleted log files while avalanchego is running.
- Removed redundant logging configs.
- Updated minimum go version to
v1.17.9
. - Added subnet bootstrapping health checks.
- Supported multiple tags per codec instantiation.
- Added minor fail-fast optimization to string packing.
- Removed dead code.
- Fixed typos.
- Simplified consensus engine
Shutdown
notification dispatching. - Removed
Sleep
call in the inbound connection throttler.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Improved subnet gossip to only send messages to nodes participating in that subnet.
- Fixed inlined VM initialization to correctly register static APIs.
- Added logging for file descriptor limit errors.
- Removed dead code from network packer.
- Improved logging of invalid hash length errors.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Fixed duplicate reference decrease when closing a peer.
- Freed allocated message buffers immediately after sending.
- Added
--network-peer-read-buffer-size
and--network-peer-write-buffer-size
config options. - Moved peer IP signature verification to enable concurrent verifications.
- Reduced the number of connection flushes when sending messages.
- Canceled outbound connection requests on shutdown.
- Reused dialer across multiple outbound connections.
- Exported
NewTestNetwork
for easier external testing.
- Reduced log level of snapshot regeneration logs.
- Enabled atomic tx replacement with higher gas fees.
- Parallelized trie index re-generation.
- Fixed incorrect
BlockchainID
usage in the X-chainImportTx
builder. - Fixed incorrect
OutputOwners
in the P-chainImportTx
builder. - Improved FD limit error logging and warnings.
- Rounded bootstrapping ETAs to the nearest second.
- Added gossip config support to the subnet configs.
- Optimized various queue removals for improved memory freeing.
- Added a basic X-chain E2E usage test to the new testing framework.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Refactored the networking library to track potential peers by nodeID rather than IP.
- Separated peer connections from the mesh network implementation to simplify testing.
- Fixed duplicate
Connected
messages bug. - Supported establishing outbound connections with peers reporting different inbound and outbound IPs.
- Disabled seek compaction in leveldb by default.
- Increased protocol version, this requires all plugin definitions to update their communication dependencies.
- Merged services to be served using the same server when possible.
- Implemented a fast path for simple HTTP requests.
- Removed duplicated message definitions.
- Improved error reporting around invalid plugins.
- Optimized FeeHistory API.
- Added protection to prevent accidental corruption of archival node trie index.
- Added capability to restore complete trie index on best effort basis.
- Rounded up fastcache sizes to utilize all mmap'd memory in chunks of 64MB.
- Removed
--inbound-connection-throttling-max-recent
- Renamed
--network-peer-list-size
to--network-peer-list-num-validator-ips
- Removed
--network-peer-list-gossip-size
- Removed
--network-peer-list-staker-gossip-fraction
- Added
--network-peer-list-validator-gossip-size
- Added
--network-peer-list-non-validator-gossip-size
- Removed
--network-get-version-timeout
- Removed
--benchlist-peer-summary-enabled
- Removed
--peer-alias-timeout
- Fixed error reporting when making Avalanche chains that did not manually specify a primary alias.
- Added beacon utils for easier programmatic handling of beacon nodes.
- Resolved the default log directory on initialization to avoid additional error handling.
- Added support to the chain state module to specify an arbitrary new accepted block.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Introduced a new vertex type to support future
Avalanche
based network upgrades. - Added pending message metrics to the chain message queues.
- Refactored event dispatchers to simplify dependencies and remove dead code.
- Added
json
encoding option to theplatform.getTx
call. - Added
platform.getBlock
API. - Cleaned up block building logic to be more modular and testable.
- Increased
FeeHistory
maximum historical limit to improve MetaMask UI on the C-Chain. - Enabled chain state metrics.
- Migrated go-ethereum v1.10.16 changes.
- Added the ability to load new VM plugins dynamically.
- Implemented X-chain + P-chain wallet that can be used to build and sign transactions. Without providing a full node private keys.
- Integrated e2e testing to the repo to avoid maintaining multiple synced repos.
- Fixed
proposervm
height indexing check to correctly mark the indexer as repaired. - Introduced message throttling overrides to be used in future improvements to reliably send messages.
- Introduced a cap on the client specified request deadline.
- Increased the default
leveldb
open files limit to1024
. - Documented the
leveldb
configurations. - Extended chain shutdown timeout.
- Performed various cleanup passes.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Added asynchronous processing of
App.*
messages. - Added height indexing support to the
proposervm
andrpcchainvm
. If a node is updated to>=v1.7.5
and then downgraded to<v1.7.5
, the user must enable the--reset-proposervm-height-index=true
flag to ensure theproposervm
height index is correctly updated going forward. - Fixed bootstrapping job counter initialization that could cause negative ETAs to be reported.
- Fixed incorrect processing check that could log incorrect information.
- Removed incorrect warning logs.
- Added tracked subnets to be reported in calls to the
info.peers
API. - Updated gRPC implementations to use
buf
tooling and standardized naming and locations. - Added a consistent hashing implementation to be used in future improvements.
- Fixed database iteration invariants to report
ErrClosed
rather than silently exiting. - Added additional sanity checks to prevent users from incorrectly configuring their node.
- Updated log timestamps to include milliseconds.
- Added beta support for offline pruning.
- Refactored peer networking layer.
- Enabled cheap metrics by default.
- Marked RPC call metrics as expensive.
- Added Abigen support for native asset call precompile.
- Fixed bug in BLOCKHASH opcode during traceBlock.
- Fixed bug in handling updated chain config on startup.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
The first startup of the C-Chain will take a few minutes longer due to an index update.
- Removed deprecated Snowstorm consensus implementation that no longer aligned with the updated specification.
- Updated bootstrapping logs to no longer reset counters after a node restart.
- Added bootstrapping ETAs for fetching Snowman blocks and executing operations.
- Renamed the
MultiPut
message to theAncestors
message to match other message naming conventions. - Introduced Whitelist conflicts into the Snowstorm specification that will be used in future X-chain improvements.
- Refactored the separation between the Bootstrapping engine and the Consensus engine to support Fast-Sync.
- Added an index mapping height to the list of accepted atomic operations at that height in a trie. Generating this index will cause the node to take a few minutes longer to startup the C-Chain for the first restart.
- Updated Geth dependency to
v1.10.15
. - Updated
networkID
to matchchainID
.
- Refactored
platformvm
rewards calculations to enable usage from an external library. - Fixed
platformvm
andavm
UTXO fetching to not re-iterate the UTXO set if no UTXOs are fetched. - Refactored
platformvm
status definitions. - Added support for multiple address balance lookups in the
platformvm
. - Refactored
platformvm
andavm
keystore users to reuse similar code.
- Returned a
500 InternalServerError
if an unexpected gRPC error occurs during the handling of an HTTP request to a plugin. - Updated gRPC server's max message size to enable responses larger than 4MiB from the plugin's handling of an HTTP request.
- Added
--stake-max-consumption-rate
which defaults to120,000
. - Added
--stake-min-consumption-rate
which defaults to100,000
. - Added
--stake-supply-cap
which defaults to720,000,000,000,000,000
nAVAX. - Renamed
--bootstrap-multiput-max-containers-sent
to--bootstrap-ancestors-max-containers-sent
. - Renamed
--bootstrap-multiput-max-containers-received
to--bootstrap-ancestors-max-containers-received
. - Enforced that
--staking-enabled=false
can not be specified on public networks (Fuji
andMainnet
).
- All
multi_put
metrics were converted toancestors
metrics.
- Improved
corruptabledb
error reporting by tracking the first reported error. - Updated CPU tracking to use the proper EWMA tracker rather than a linear approximation.
- Separated health checks into
readiness
,healthiness
, andliveness
checks to support more fine-grained monitoring. - Refactored API client utilities to use a
Context
rather than an explicit timeout.
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Introduced a notion of vertex conflicts that will be used in future X-chain improvements.
- Added an index mapping height to the list of accepted atomic transactions at that height. Generating this index will cause the node to take approximately 2 minutes longer to startup the C-Chain for the first restart.
- Fixed bug in base fee estimation API that impacted custom defined networks.
- Decreased minimum transaction re-gossiping interval from 1s to 500ms.
- Removed websocket handler from the static vm APIs.
- Reduced lock contention in
prefixDB
s.
- Increase the gossip size from
6
to10
validators. - Prioritized
Connected
andDisconnected
messages in the message handler.
- Notified VMs of peer versions on
Connected
. - Fixed acceptance broadcasting over IPC.
- Fixed 32-bit architecture builds for AvalancheGo (not Coreth).
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
- Fixed memory leak in the estimate gas API.
- Reduced the default RPC gas limit to 50,000,000 gas.
- Improved RPC logging.
- Removed pre-AP5 legacy code.
- Optimized validator set change calculations.
- Removed storage of non-decided blocks.
- Simplified error handling.
- Removed pre-AP5 legacy code.
- Explicitly fail requests with responses that failed to be parsed.
- Removed pre-AP5 legacy code.
- Introduced the ability for a delayed graceful node shutdown.
- Added the ability to take all configs as environment variables for containerized deployments.
- Fixed panic bug in logging library when importing from external projects.
This update is backwards compatible with v1.7.0. Please see the expected update times in the v1.7.0 release.
- Reduced fee estimate volatility.
- Fixed vote bubbling for unverified block chits.
This upgrade adds support for issuing multiple atomic transactions into a single block and directly transferring assets between the P-chain and the C-chain.
The changes in the upgrade go into effect at 1 PM EST, December 2nd 2021 on Mainnet. One should upgrade their node before the changes go into effect, otherwise they may experience loss of uptime.
All nodes should upgrade before 1 PM EST, December 2nd 2021.
- Added peer uptime reports as metrics.
- Removed IP rate limiting over local networks.
- Enabled
AtomicTx
s to be issued intoStandardBlock
s and deprecatedAtomicBlock
s. - Added the ability to export/import AVAX to/from the C-chain.
- Enabled multiple
AtomicTx
s to be issued per block. - Added the ability to export/import AVAX to/from the P-chain.
- Updated dynamic fee calculations.
- Removed storage of undecided blocks.
- Added support for metrics to be reported by plugin VMs.
- Removed
--snow-epoch-first-transition
andsnow-epoch-duration
as command line arguments.
This version is backwards compatible to v1.6.0. It is optional, but encouraged.
- Drop inbound messages to a chain if that chain is in the execution phase of bootstrapping.
- Print beacon nodeIDs upon failure to connect to them.
- Added
avalanche_{ChainID}_bootstrap_finished
, which is 1 if the chain is done bootstrapping, 0 otherwise.
- Added
info.uptime
API call that attempts to report the network's view of the local node. - Added
observedUptime
to each peer's result ininfo.peers
.
- Added reported uptime to pong messages to be able to better track a local node's uptime as viewed by the network.
- Refactored request timeout registry to avoid a potential race condition.
This version is backwards compatible to v1.6.0. It is optional, but encouraged.
- Added flag
throttler-inbound-bandwidth-refill-rate
, which specifies the max average inbound bandwidth usage of a peer. - Added flag
throttler-inbound-bandwidth-max-burst-size
, which specifies the max inbound bandwidth usage of a peer.
- Updated peerlist gossiping to use the same mechanism as other gossip calls.
- Added inbound message throttling based on recent bandwidth usage.
- Updated
avalanche_{ChainID}_handler_gossip_{count,sum}
toavalanche_{ChainID}_handler_gossip_request_{count,sum}
. - Updated
avalanche_{ChainID}_lat_get_accepted_{count,sum}
toavalanche_{ChainID}_lat_accepted_{count,sum}
. - Updated
avalanche_{ChainID}_lat_get_accepted_frontier_{count,sum}
toavalanche_{ChainID}_lat_accepted_frontier_{count,sum}
. - Updated
avalanche_{ChainID}_lat_get_ancestors_{count,sum}
toavalanche_{ChainID}_lat_multi_put_{count,sum}
. - Combined
avalanche_{ChainID}_lat_pull_query_{count,sum}
andavalanche_{ChainID}_lat_push_query_{count,sum}
toavalanche_{ChainID}_lat_chits_{count,sum}
. - Added
avalanche_{ChainID}_app_response_{count,sum}
. - Added
avalanche_network_bandwidth_throttler_inbound_acquire_latency_{count,sum}
- Added
avalanche_network_bandwidth_throttler_inbound_awaiting_acquire
- Added
avalanche_P_vm_votes_won
- Added
avalanche_P_vm_votes_lost
- Added method
GetContainerByID
to client implementation. - Client methods now return
[]byte
rather thanstring
representations of a container.
- Updated Geth dependency to 1.10.11.
- Added a new admin API for updating the log level and measuring performance.
- Added a new
--allow-unprotected-txs
flag to allow issuance of transactions without EIP-155 replay protection.
- Ensured that all possible chains are run in
--staking-enabled=false
networks.
This version is backwards compatible to v1.6.0. It is optional, but encouraged.
- Updated the default value of
--inbound-connection-throttling-max-conns-per-sec
to256
. - Updated the default value of
--meter-vms-enabled
totrue
. - Updated the default value of
--staking-disabled-weight
to100
.
- Changed the behavior of
avalanche_network_buffer_throttler_inbound_awaiting_acquire
to only increment if the message is actually blocking. - Changed the behavior of
avalanche_network_byte_throttler_inbound_awaiting_acquire
to only increment if the message is actually blocking. - Added
Block/Tx
metrics onmeterVM
s.- Added
avalanche_{ChainID}_vm_metervm_build_block_err_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_parse_block_err_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_get_block_err_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_verify_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_verify_err_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_accept_{count,sum}
. - Added
avalanche_{ChainID}_vm_metervm_reject_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_parse_tx_err_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_get_tx_err_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_verify_tx_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_verify_tx_err_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_accept_{count,sum}
. - Added
avalanche_{DAGID}_vm_metervm_reject_{count,sum}
.
- Added
- Applied callTracer fault handling fix.
- Initialized multicoin functions in the runtime environment.
- Updated block
Delay
in--staking-enabled=false
networks to be0
.