Releases: aptos-labs/aptos-core
[Mainnet] Aptos Framework Release v1.24.1
What's Changed
- [cp][aptos-release-v1.24] ensure ObjectCore exists before short-circuit by @github-actions in #15603
Full Changelog: aptos-framework-v1.24.0...aptos-framework-v1.24.1
Aptos CLI Release v5.1.0
Commits
- 9387428: [compiler-v2] Test case reduced from move-stdlib showing opportunity for optimization (#15338) (Vineeth Kashyap) #15338
- e2a9041: fix move-unit-test (#15388) (Teng Zhang) #15388
- 4d4c200: Fix units in timed feature flags (#15391) (Vineeth Kashyap) #15391
- ac0447c: Fixing source map locations when peephole optimizations are applied. (#15384) (Vineeth Kashyap) #15384
- restructure between state related types (#15378) #15378 (Alden Hu)
- 0029300: fix enum bug (#15403) (Teng Zhang) #15403
- d0410ec: Fix the type in V2 event name: Change
CollectionMaxiumMutate
toCollectionMaximumMutate
(#15416) (Junkil Park) #15416 - de9040d: fix deadlock between the mempool and the db (#15421) (Alden Hu) #15421
- 0e212a7: add replay verify workflow (Bo Wu) #15272
- c88fc0d: update replay-verify-on-archive and disk utils (Bo Wu) #15272
- bc4364b: update qs key loading (#15401) (zhoujunma) #15401
- 46bd0e9: Refactoring interpreter and paranoid mode, introducing traits to allo… (#15350) (Aleks Zi) #15350
- 261a185: [cli] Make chunk size configurable for chunked publish (#15427) (Junha Park) #15427
- 311de72: [cli] Bump to 4.6.0 (#15429) (Junha Park) #15429
- 1e926ed: [NFT Metadata Crawler] Fix asset uploader throttler (#15410) (Justin Chang) #15410
- 5d87d94: [move-compiler-v2] add parser code for lambda types (#14792) (Brian R. Murphy) #14792
- 94e548c: Continued re-design of paranoid mode (now called Runtime Type Check) (#15437) (Aleks Zi) #15437
- fda6770: resolve compiler warning by removing unused line (#15381) (Vansh) #15381
- rename ExecutedTrees -> LedgerSummary (#15444) #15444 (Alden Hu)
- 14cd388: followup to a TODO for a constant (Aleks Zi) #15443
- c522181: followup to a TODO for a constant (Aleks Zi) #15443
- 629850d: allowing larger constant for legacy tests (Aleks Zi) #15443
- 2dd6b77: separating constants (Aleks Zi) #15443
- 58a820f: Update Docker images (#15297) (github-actions[bot]) #15297
- 9afd783: [Draft] Verify consensus message author matches with the sender (#15386) (Satya Vusirikala) #15386
- 1b0fb83: [pipeline] switch from broadcast channel to shared future (Zekun Li) #15453
- 6f64eea: restructure shared state between StateStore and BufferedState (#15451) (Alden Hu) #15451
- 37d3e70: patch futures (Zekun Li) #15456
- 997f8b9: [forge] enable new pipeline (Zekun Li) #15456
- b011781: remove the branch ref to default to main (Bo Wu) #15425
- 4815045: Script that recalibrates performance benchmarks (#15446) (igor-aptos) #15446
- 9c1f69c: get progress from right db (Bo Wu) #15390
- 0f219d8: add 3 devnet txn with module events migrated (#15448) (Aaron) #15448
- 612018c: reduce cost (Bo Wu) #15464
- c0b97e2: [script-composer] Add infer functionality, fix multiple return values (#15438) (runtianz) #15438
- 57602f0: remove error detail from default feature list (Bo Wu) #15331
- 7f1f7df: update tests (Bo Wu) #15331
- 994f361: add scripted fa txn (rtso) #15422
- 4aeaab9: fa double transfer (rtso) #15422
- a75189b: add more incident txns (rtso) #15422
- 96612fd: [compiler-v2] Optimize stackless-bytecode assign instructions (#15445) (Vineeth Kashyap) #15445
- 63f0df8: [qs] batch store bootstrap perf improvements (#15491) (Balaji Arun) #15491
- 8337794: [forge] update memory thresholds for Forge stable (Balaji Arun) #15492
- fe96e6d: revert pipeline flag (Balaji Arun) #15492
- 966452a: [compiler-v2] Do not include vector module for compiler v1 (#15484) (Vineeth Kashyap) #15484
- c6f5752: [move-compiler-v2] clean up a few remaining issues in lambda parser/front-end code (#15365) (Brian R. Murphy) #15365
- f60f1f0: untransferable test txn (rtso) #15482
- 60ee0c6: add devnet test txns (#15489) (Aaron) #15489
- c2969f0: [FA] get rid of migration flag (#15269) (Aaron) #15269
- 9e5cc9d: Event V2 Translation (#14615) (Junkil Park) #14615
- d1230b9: [Storage] Open db in parallel when storage sharding is enabled. (#15504) (Guoteng Rao) #15504
- 95e0d68: [move] Use workspace dependencies for third-party/move (#15461) (George Mitenkov) #15461
- 5902ff0: [move-stdlib] Use vector::move_range inside vector, and evaluate performance / calibrate gas (#14862) (igor-aptos) #14862
- 8a1016a: [fa migration] refactor with coin withdraw event and bypass sanity check (#15520) (Aaron) #15520
- 3c6e693: [forge] bump graceful_overload mem threshold temporarily (#15511) (Balaji Arun) #15511
- 809457f: [move] Benchmarking historical transactions (#15329) (George Mitenkov) #15329
- dacbfc3: small fix and explicity delete unused disk (Bo Wu) #15501
- 42d47ee: [consensus] Remove dead code in warnings (#15543) (Greg Nazario) #15543
- f3319d1: Fix private key field being required (#15546) (GhostWalker562) #15546
- e8289d1: fix flaky test (Bo Wu) #15407
- 6dbfb31: add CompiledModule and CompiledScript deserializer fuzzer (#15494) (Gerardo Di Giacomo) #15494
- 7edaeaf: Fix round manager tests (#15369) (Satya Vusirikala) #15369
- 1d194b8: [Inspection Service] Add simple consensus health check endpoint. (Josh Lind) #15512
- 7e0aaa2: [cli] Release 4.7.0 (#15556) (Greg Nazario) #15556
- 06f1824: [Faucet] Support ratelimiting on Firebase JWT (#15525) (Daniel Porteous (dport)) #15525
- mark runner and validator pods as non-evictable #15554 (Stelian Ionescu)
- eb23d6f: Enable partial_governance_voting (#15553) (Junkil Park) #15553
- b668137: [CLI] Direct users to dev docs for testnet faucet, improve messaging (#15545) (Daniel Porteous (dport)) #15545
- ab6d0ee: [CLI] Bump version to 5.0.0 (#15562) (Daniel Porteous (dport)) #15562
- 1dab352: [VM][Code cache v2] Some improvements in code cache (#15537) (Aleks Zi) #15537
- 652be07: Enable DELEGATION_POOL_PARTIAL_GOVERNANCE_VOTING by default (#15549) (Junkil Park) #15549
- 2ee2c33: [pipeline] fixes (Zekun Li) #15505
- d3028e9: [P...
Aptos CLI Release v5.0.0
Commits
- 9387428: [compiler-v2] Test case reduced from move-stdlib showing opportunity for optimization (#15338) (Vineeth Kashyap) #15338
- e2a9041: fix move-unit-test (#15388) (Teng Zhang) #15388
- 4d4c200: Fix units in timed feature flags (#15391) (Vineeth Kashyap) #15391
- ac0447c: Fixing source map locations when peephole optimizations are applied. (#15384) (Vineeth Kashyap) #15384
- restructure between state related types (#15378) #15378 (Alden Hu)
- 0029300: fix enum bug (#15403) (Teng Zhang) #15403
- d0410ec: Fix the type in V2 event name: Change
CollectionMaxiumMutate
toCollectionMaximumMutate
(#15416) (Junkil Park) #15416 - de9040d: fix deadlock between the mempool and the db (#15421) (Alden Hu) #15421
- 0e212a7: add replay verify workflow (Bo Wu) #15272
- c88fc0d: update replay-verify-on-archive and disk utils (Bo Wu) #15272
- bc4364b: update qs key loading (#15401) (zhoujunma) #15401
- 46bd0e9: Refactoring interpreter and paranoid mode, introducing traits to allo… (#15350) (Aleks Zi) #15350
- 261a185: [cli] Make chunk size configurable for chunked publish (#15427) (Junha Park) #15427
- 311de72: [cli] Bump to 4.6.0 (#15429) (Junha Park) #15429
- 1e926ed: [NFT Metadata Crawler] Fix asset uploader throttler (#15410) (Justin Chang) #15410
- 5d87d94: [move-compiler-v2] add parser code for lambda types (#14792) (Brian R. Murphy) #14792
- 94e548c: Continued re-design of paranoid mode (now called Runtime Type Check) (#15437) (Aleks Zi) #15437
- fda6770: resolve compiler warning by removing unused line (#15381) (Vansh) #15381
- rename ExecutedTrees -> LedgerSummary (#15444) #15444 (Alden Hu)
- 14cd388: followup to a TODO for a constant (Aleks Zi) #15443
- c522181: followup to a TODO for a constant (Aleks Zi) #15443
- 629850d: allowing larger constant for legacy tests (Aleks Zi) #15443
- 2dd6b77: separating constants (Aleks Zi) #15443
- 58a820f: Update Docker images (#15297) (github-actions[bot]) #15297
- 9afd783: [Draft] Verify consensus message author matches with the sender (#15386) (Satya Vusirikala) #15386
- 1b0fb83: [pipeline] switch from broadcast channel to shared future (Zekun Li) #15453
- 6f64eea: restructure shared state between StateStore and BufferedState (#15451) (Alden Hu) #15451
- 37d3e70: patch futures (Zekun Li) #15456
- 997f8b9: [forge] enable new pipeline (Zekun Li) #15456
- b011781: remove the branch ref to default to main (Bo Wu) #15425
- 4815045: Script that recalibrates performance benchmarks (#15446) (igor-aptos) #15446
- 9c1f69c: get progress from right db (Bo Wu) #15390
- 0f219d8: add 3 devnet txn with module events migrated (#15448) (Aaron) #15448
- 612018c: reduce cost (Bo Wu) #15464
- c0b97e2: [script-composer] Add infer functionality, fix multiple return values (#15438) (runtianz) #15438
- 57602f0: remove error detail from default feature list (Bo Wu) #15331
- 7f1f7df: update tests (Bo Wu) #15331
- 994f361: add scripted fa txn (rtso) #15422
- 4aeaab9: fa double transfer (rtso) #15422
- a75189b: add more incident txns (rtso) #15422
- 96612fd: [compiler-v2] Optimize stackless-bytecode assign instructions (#15445) (Vineeth Kashyap) #15445
- 63f0df8: [qs] batch store bootstrap perf improvements (#15491) (Balaji Arun) #15491
- 8337794: [forge] update memory thresholds for Forge stable (Balaji Arun) #15492
- fe96e6d: revert pipeline flag (Balaji Arun) #15492
- 966452a: [compiler-v2] Do not include vector module for compiler v1 (#15484) (Vineeth Kashyap) #15484
- c6f5752: [move-compiler-v2] clean up a few remaining issues in lambda parser/front-end code (#15365) (Brian R. Murphy) #15365
- f60f1f0: untransferable test txn (rtso) #15482
- 60ee0c6: add devnet test txns (#15489) (Aaron) #15489
- c2969f0: [FA] get rid of migration flag (#15269) (Aaron) #15269
- 9e5cc9d: Event V2 Translation (#14615) (Junkil Park) #14615
- d1230b9: [Storage] Open db in parallel when storage sharding is enabled. (#15504) (Guoteng Rao) #15504
- 95e0d68: [move] Use workspace dependencies for third-party/move (#15461) (George Mitenkov) #15461
- 5902ff0: [move-stdlib] Use vector::move_range inside vector, and evaluate performance / calibrate gas (#14862) (igor-aptos) #14862
- 8a1016a: [fa migration] refactor with coin withdraw event and bypass sanity check (#15520) (Aaron) #15520
- 3c6e693: [forge] bump graceful_overload mem threshold temporarily (#15511) (Balaji Arun) #15511
- 809457f: [move] Benchmarking historical transactions (#15329) (George Mitenkov) #15329
- dacbfc3: small fix and explicity delete unused disk (Bo Wu) #15501
- 42d47ee: [consensus] Remove dead code in warnings (#15543) (Greg Nazario) #15543
- f3319d1: Fix private key field being required (#15546) (GhostWalker562) #15546
- e8289d1: fix flaky test (Bo Wu) #15407
- 6dbfb31: add CompiledModule and CompiledScript deserializer fuzzer (#15494) (Gerardo Di Giacomo) #15494
- 7edaeaf: Fix round manager tests (#15369) (Satya Vusirikala) #15369
- 1d194b8: [Inspection Service] Add simple consensus health check endpoint. (Josh Lind) #15512
- 7e0aaa2: [cli] Release 4.7.0 (#15556) (Greg Nazario) #15556
- 06f1824: [Faucet] Support ratelimiting on Firebase JWT (#15525) (Daniel Porteous (dport)) #15525
- mark runner and validator pods as non-evictable #15554 (Stelian Ionescu)
- eb23d6f: Enable partial_governance_voting (#15553) (Junkil Park) #15553
- b668137: [CLI] Direct users to dev docs for testnet faucet, improve messaging (#15545) (Daniel Porteous (dport)) #15545
- ab6d0ee: [CLI] Bump version to 5.0.0 (#15562) (Daniel Porteous (dport)) #15562
Aptos CLI Release v4.7.0
Commits
- 9387428: [compiler-v2] Test case reduced from move-stdlib showing opportunity for optimization (#15338) (Vineeth Kashyap) #15338
- e2a9041: fix move-unit-test (#15388) (Teng Zhang) #15388
- 4d4c200: Fix units in timed feature flags (#15391) (Vineeth Kashyap) #15391
- ac0447c: Fixing source map locations when peephole optimizations are applied. (#15384) (Vineeth Kashyap) #15384
- restructure between state related types (#15378) #15378 (Alden Hu)
- 0029300: fix enum bug (#15403) (Teng Zhang) #15403
- d0410ec: Fix the type in V2 event name: Change
CollectionMaxiumMutate
toCollectionMaximumMutate
(#15416) (Junkil Park) #15416 - de9040d: fix deadlock between the mempool and the db (#15421) (Alden Hu) #15421
- 0e212a7: add replay verify workflow (Bo Wu) #15272
- c88fc0d: update replay-verify-on-archive and disk utils (Bo Wu) #15272
- bc4364b: update qs key loading (#15401) (zhoujunma) #15401
- 46bd0e9: Refactoring interpreter and paranoid mode, introducing traits to allo… (#15350) (Aleks Zi) #15350
- 261a185: [cli] Make chunk size configurable for chunked publish (#15427) (Junha Park) #15427
- 311de72: [cli] Bump to 4.6.0 (#15429) (Junha Park) #15429
- 1e926ed: [NFT Metadata Crawler] Fix asset uploader throttler (#15410) (Justin Chang) #15410
- 5d87d94: [move-compiler-v2] add parser code for lambda types (#14792) (Brian R. Murphy) #14792
- 94e548c: Continued re-design of paranoid mode (now called Runtime Type Check) (#15437) (Aleks Zi) #15437
- fda6770: resolve compiler warning by removing unused line (#15381) (Vansh) #15381
- rename ExecutedTrees -> LedgerSummary (#15444) #15444 (Alden Hu)
- 14cd388: followup to a TODO for a constant (Aleks Zi) #15443
- c522181: followup to a TODO for a constant (Aleks Zi) #15443
- 629850d: allowing larger constant for legacy tests (Aleks Zi) #15443
- 2dd6b77: separating constants (Aleks Zi) #15443
- 58a820f: Update Docker images (#15297) (github-actions[bot]) #15297
- 9afd783: [Draft] Verify consensus message author matches with the sender (#15386) (Satya Vusirikala) #15386
- 1b0fb83: [pipeline] switch from broadcast channel to shared future (Zekun Li) #15453
- 6f64eea: restructure shared state between StateStore and BufferedState (#15451) (Alden Hu) #15451
- 37d3e70: patch futures (Zekun Li) #15456
- 997f8b9: [forge] enable new pipeline (Zekun Li) #15456
- b011781: remove the branch ref to default to main (Bo Wu) #15425
- 4815045: Script that recalibrates performance benchmarks (#15446) (igor-aptos) #15446
- 9c1f69c: get progress from right db (Bo Wu) #15390
- 0f219d8: add 3 devnet txn with module events migrated (#15448) (Aaron) #15448
- 612018c: reduce cost (Bo Wu) #15464
- c0b97e2: [script-composer] Add infer functionality, fix multiple return values (#15438) (runtianz) #15438
- 57602f0: remove error detail from default feature list (Bo Wu) #15331
- 7f1f7df: update tests (Bo Wu) #15331
- 994f361: add scripted fa txn (rtso) #15422
- 4aeaab9: fa double transfer (rtso) #15422
- a75189b: add more incident txns (rtso) #15422
- 96612fd: [compiler-v2] Optimize stackless-bytecode assign instructions (#15445) (Vineeth Kashyap) #15445
- 63f0df8: [qs] batch store bootstrap perf improvements (#15491) (Balaji Arun) #15491
- 8337794: [forge] update memory thresholds for Forge stable (Balaji Arun) #15492
- fe96e6d: revert pipeline flag (Balaji Arun) #15492
- 966452a: [compiler-v2] Do not include vector module for compiler v1 (#15484) (Vineeth Kashyap) #15484
- c6f5752: [move-compiler-v2] clean up a few remaining issues in lambda parser/front-end code (#15365) (Brian R. Murphy) #15365
- f60f1f0: untransferable test txn (rtso) #15482
- 60ee0c6: add devnet test txns (#15489) (Aaron) #15489
- c2969f0: [FA] get rid of migration flag (#15269) (Aaron) #15269
- 9e5cc9d: Event V2 Translation (#14615) (Junkil Park) #14615
- d1230b9: [Storage] Open db in parallel when storage sharding is enabled. (#15504) (Guoteng Rao) #15504
- 95e0d68: [move] Use workspace dependencies for third-party/move (#15461) (George Mitenkov) #15461
- 5902ff0: [move-stdlib] Use vector::move_range inside vector, and evaluate performance / calibrate gas (#14862) (igor-aptos) #14862
- 8a1016a: [fa migration] refactor with coin withdraw event and bypass sanity check (#15520) (Aaron) #15520
- 3c6e693: [forge] bump graceful_overload mem threshold temporarily (#15511) (Balaji Arun) #15511
- 809457f: [move] Benchmarking historical transactions (#15329) (George Mitenkov) #15329
- dacbfc3: small fix and explicity delete unused disk (Bo Wu) #15501
- 42d47ee: [consensus] Remove dead code in warnings (#15543) (Greg Nazario) #15543
- f3319d1: Fix private key field being required (#15546) (GhostWalker562) #15546
- e8289d1: fix flaky test (Bo Wu) #15407
- 6dbfb31: add CompiledModule and CompiledScript deserializer fuzzer (#15494) (Gerardo Di Giacomo) #15494
- 7edaeaf: Fix round manager tests (#15369) (Satya Vusirikala) #15369
- 1d194b8: [Inspection Service] Add simple consensus health check endpoint. (Josh Lind) #15512
- 7e0aaa2: [cli] Release 4.7.0 (#15556) (Greg Nazario) #15556
[Mainnet] Aptos Framework Release v1.24.0
aptos-framework-v1.24.0 [Aptos Release Builder] Update old gas version for mainnet release.
[Testnet] Aptos Node Release v1.25.0
(release notes coming soon)
[Mainnet] Aptos Node Release v1.24.2
Release Notes
Release Hash: 5279eaf
Validator Update Required? Yes, by Dec 6th
Fullnode Update Required? Yes, by Dec 12th.
New features and enhancements
Check out all of our AIPs and discussions here
-
[AIP-101] Safe onchain key rotation address mapping for standard accounts
Community Contribution by Alex KahnThe onchain key rotation address mapping has functional issues which inhibit safe mapping of authentication key to originating address for standard accounts. This proposal resolves these issues by adding assorted checks and extra function logic.
-
[AIP-105] Value manipulation move stdlib native utilities
- Rust code-only, public availability in one of the next releases
- Adds a set of new native functions, for value manipulation, that improve functionality and performance:
mem::swap
- Swaps contents of two mutable references.vector::move_range
- (efficiently) Moves range of
elements from one vector to another vector at specific position, keep
the order of the rest of the elements.cmp::compare
- Compares two move values of the same type.bcs::constant_serialized_size
- If the type has known constant (always the same, independent of instance) serialized size in BCS format, allows obtaining it.
- Feature Flag:
NATIVE_MEMORY_OPERATIONS
, they arepublic(friend)
in this release, to be changed topublic
for general availability.
-
[AIP-106] Optimistic Quorum Store
Optimistic Quorum Store is a technique to reduce Quorum Store + Consensus (QS+Consensus) Latency by two network hops (about 180ms in Aptos Mainnet as of October 30, 2024) in the common case. The technique involves proposing quorum store batches in consensus before collecting proof of stores and modifying the consensus voting mechanism to ensure batch availability. While Aptos currently circumvents Quorum Store and inlines transaction payloads into the proposal directly under low throughput cases (up to 100 transactions per block), Optimistic Quorum Store makes Aptos’ QS+Consensus Latency four network hops under all loads in the common case.
- Ecosystem Impact: Reduces validator latency by up to 200ms in mainnet.
- Dependencies: None
- Feature Flag: Per-validator local config:
quorum_store_config.enable_optimistic_quorum_store
-
[AIP-107] New Loader and Code Cache for MoveVM
MoveVM has been changed to be stateless and thread-safe, by moving code caches outside. Module caches were re-implemented and integrated into Aptos block executor. First, module caches are shared across multiple blocks, improving module loading performance. Second, Block-STM implements its own module cache to ensure modules can be published in parallel, without leaking any speculative information.
- Ecosystem Impact: Reduced block execution time (~2x). Enhanced user-experience for module publishing.
- Dependencies: None
- Feature Flag:
ENABLE_LOADER_V2
, possibly enabled in later releases.
Aptos Node
Consensus Observer:
- Several small improvements to reduce the rate of subscription churn for PFNs
- Support for Optimistic Quorum Store Payloads
Networking
- Small metric improvements for better tracking connection creations and terminations
Performance
- Execution pipeline performance improvements by less cloning and smaller critical sections of locks.
Move
VM
- Loader and code caches have been changed for MoveVM. See AIP-107 for more details.
Bug Fixes
- Fixed a bug in timed feature-flags, which was broken due to comparison of time in different units.
- Fixed issue where QS batches are be garbage collected prematurely before final DB commission.
- Fixed potential deadlock on nested DropHelper
- Fixed issue where DB can perform unnecessary synchronous merklization and miss merklization on end of epoch.
[Testnet] Aptos Node Release v1.24.2
What's Changed
- [cp][aptos-release-v1.24] Updating serialization constant in the API by @github-actions in #15450
Full Changelog: aptos-node-v1.24.1-rc...aptos-node-v1.24.2-rc
Aptos CLI Release v4.6.0
Changelog
[4.6.0] - 2024/11/30
Added
- Add
--node-api-key
flag to aptos move replay to allow for querying the fullnode with an API key. - Add
--chunk-size
flag to allow configuring chunk size for chunked publish mode.
Updated
- Lower the default chunk size for chunked publish mode (
CHUNK_SIZE_IN_BYTES
) from 60,000 to 55,000.
Instructions
Update instructions
If you have already installed the CLI:
- With brew:
brew upgrade aptos
- With the prepackaged CLI:
aptos upgrade
Installation instructions
- Installation instructions page
- Managed install
- macOS: Install with brew
- Linux / Windows: install with a python script for other platforms
[Testnet] Aptos Node Release v1.24.1
Fix units in timed feature flags (#15391) (cherry picked from commit 4d4c200f854db1c223714e49a531b8606e3b73f5)