What's Changed
- Set Compiler v2 as the default compiler and Move 2 as the default language version.
- Add new --move-1 flag to use Compiler v1 and Move 1.
- Add flag --benchmark to aptos move prove, which allows to benchmark verification times of individual functions in a package.
- Add flag --only to aptos move prove, which allows to scope verification to a function.
- Fix aptos init to show the explorer link for accounts when account is already created on chain instead of prompting to fund the account.
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: [Pipeline] add counters (Zekun Li) #15505
- 803b7fd: [CLI] move out localnet logic + add command for Aptos Workspace (#15508) (Victor Gao) #15508
- 8616cb6: write blockinfo schemas when restoring sharded db (Bo Wu) #15567
- 75308c1: enable the periodical_reward_rate_decrease feature on devnet by default (#15565) (Junkil Park) #15565
- 49d6406: [forge] delete orphaned test runners (#15557) (Rustie Lin) #15557
- 16db0cb: [Devsetup] Install the latest rust toolchain (Josh Lind) #15585
- c9b71bc: replace existing replay verify with new one (Bo Wu) #15589
- bd71e35: [decompiler] Downgrade to bytecode v6 for Revela (#15597) (Wolfgang Grieskamp) #15597
- 5371540: [forge] enable pipeline (Zekun Li) #15600
- da63178: Creating temps for each arg. (#15514) (Vineeth Kashyap) #15514
- 1c4f6ed: ensure ObjectCore exists before short-circuit (marco ilardi) #15599
- 3497c86: [compiler-v2] Enable recent stack-optimizations by default (#15595) (Vineeth Kashyap) #15595
- 7ccbfaf: [cli] Bump to 5.1.0 (#15596) (Vineeth Kashyap) #15596
- 5711729: Fix cargo nextest version (#15608) (Vineeth Kashyap) #15608
- f69598f: [loader-v2] More tests for global manager (#15563) (George Mitenkov) #15563
- dd0dcd2: [move-prover] Fix a bug in treatment of type reflection in spec funs (#15606) (Wolfgang Grieskamp) #15606
- fed1684: Update Docker images (#15541) (github-actions[bot]) #15541
- 38a5f0d: [forge] Run forge nightly on weekdays (Perry Randall) #15591
- ac9302a: Fix txn-emitter precission of worker sleeping (#15552) (igor-aptos) #15552
- 9a6cc6f: add a lambda transactional-test, clean up test driver a bit to improve coverage of existing tests (#15463) (Brian R. Murphy) #15463
- 127df5c: Revert "Bumping up the max transaction execution gas limit for gov proposals" (Sherry Xiao) #15633
- 1381c93: Optimizing vector::replace and compiler-v2 vector depenency fix (#15524) (igor-aptos) #15524
- 0ec01dd: Lock Rust deps for checking protos (Daniel Porteous) #15638
- cf5d790: [forge] Disable the framework upgrade test on most PR (Perry Randall) #15639
- 554f302: [Devtools] Disable framework upgrade test (Josh Lind) #15640
- 2c9dece: Refine Voting Error Codes (#15590) (Junkil Park) #15590
- 673023c: [move-prover][cli] Add benchmark functionality (#15636) (Wolfgang Grieskamp) #15636
- 8aa15a6: Fix aptos init for existing accounts (#15625) (GhostWalker562) #15625
- 2bea962: [move] Stateful (de)serialization for function value lookups & delayed fields improvements (#15594) (George Mitenkov) #15594
- 8a0f983: [forge] exclude new pipeline for compat test (#15644) (Balaji Arun) #15644
- f5d0131: [CLI] Add
compiler-message-format-json
experiment value toaptos move compile
andaptos move lint
(#15540) (Maksim Kurnikov) #15540 - 6b09e63: [compiler-v2] Make
-v debug
output more concise (#15642) (Wolfgang Grieskamp) #15642 - a2bf54b: add type annotation to python code (Bo Wu) #15598
- f2b3234: add retry to get pod status (Bo Wu) #15598
- 81a2f42: add image-tag to cancel group (Bo Wu) #15598
- 55788f7: [Devtools] Update comment for merge-base commit delays. (Josh Lind) #15675
- 20e25a4: [Bugfix][Compiler-V2] Fix
public(package)
causing unit test errors (#15627) (Zekun Wang) #15627 - e3fdc51: Update the proto update workflow. (#15568) (larry-aptos) #15568
- 0318475: [cli] Add extra ignores to .gitignores created by CLI (#15674) (Greg Nazario) #15674
- aaa3514: [Move] Allow Bytecode Dependencies for Unit Testing (#15252) (Zekun Wang) #15252
- 9ba3c2a: [FA] no withdraw event for burn (#15357) (Aaron) #15357
- 8ff3aa1: recalibrate perf benchmarks for current stable values (#15685) (igor-aptos) #15685
- ae09c85: [block-executor] Remove unused executable type (#15601) (George Mitenkov) #15601
- a2479a6: [gas schedule] add script to bump gas feature version (#14983) (Victor Gao) #14983
- 3169527: [aptos-workspace-server] various fixes and improvements (#15571) (Victor Gao) #15571
- 1eea32b: [api] Allow JSON no account signature in simulation (#15558) (Greg Nazario) #15558
- f97ba5e: [loader-v2] Additional environment tests (#15566) (George Mitenkov) #15566
- 4c82b4e: Add support for ecosystem projects to use transaction generator, emitter and executor benchmark as a library (#15641) (igor-aptos) #15641
- 0469e2d: Add documentation to forge-stable test suite (#14775) (igor-aptos) #14775
- 996a804: change docs (#14980) (runtianz) #14980
- 979e285: [Indexer-Grpc-V2] Create two new folders for new binaries. (#15690) (Guoteng Rao) #15690
- 1656730: [rosetta] Add USDC support (#15695) (Greg Nazario) #15695
- 366f027: [Indexer-Grpc-V2] Update some dependencies. (#15693) (Guoteng Rao) #15693
- 86b696d: ungate native memory operations (#15532) (igor-aptos) #15532
- 4b1b3e9: update the doc on internal indexer config (Bo Wu) #15677
- fc5f7f0: [test-only] set v2 flag for unit tests (Teng Zhang) #15408
- 87767e8: remove use of v2_exp and v2 environment variable (Teng Zhang) #15408
- a1b900b: update move-abi and doc-gen test using v2 (Teng Zhang) #15408
- b6fcc9c: remove ci test for compiler v2 (Teng Zhang) #15408
- d0c4f20: remove gate_v2_features.rs (Teng Zhang) #15408
- 8f877ab: fix test (Teng Zhang) #15408
- 5514aee: add env variable for compiler v1 (Teng Zhang) #15408
- 7684e53: refactor (Teng Zhang) #15408
- d00ae19: test blocking v1 (Teng Zhang) #15408
- 979b66f: fix (Teng Zhang) #15408
- 78a80aa: reschedule if zone mismatch (Bo Wu) #15658
- cc2c9eb: fix calibration for a few tests from recent change (Igor) #15709
- f9334ca: [move] Implement generic comparison method in move - move part (Igor) #15245
- 9f3f868: [move-stdlib] Introduce efficient OrderedMap implementation (#14872) (igor-aptos) #14872
- fd726b2: [move] Module publishing improvements (#15654) (George Mitenkov) #15654
- 623156d: [move][stdlib] Add efficient BigOrderedMap implementation (#14753) (igor-aptos) #14753
- ff54cea: [CLI] Set Move 2 as default in Aptos CLI and add
move-1
flag (#15431) (Teng Zhang) #15431 - d8a5642: Recalibrate perf regression tests, with new tests (#15717) (igor-aptos) #15717
- 9f54e05: allow specifying account address at config level instead of random assignment (#15465) (Yuun Lim) #15465
- 6116af6: Update the CLI versions. (#15710) (larry-aptos) #15710
- 8f3d204: [Indexer-Grpc-V2] Add protos. (#15701) (Guoteng Rao) #15701
- ac96e77: Move DoStateCheckpoint off critical path (aldenhu) #15411
- 04f0e89: remove lock around SchemaBatch::rows (aldenhu) #15411
- b46adfd: NativeBatch & RawBatch (aldenhu) #15411
- 87c038a: benchmark metrics tune (aldenhu) #15411
- 2e85700: calibration (aldenhu) #15411
- f76ac07: token v1 offer claim (rtso) #15531
- 6a49a24: relax forge thresholds (#15720) (Alden Hu) #15720
- 65c8983: Add destroy() and for_each() to BigOrderedMap, and move to aptos-framework (#15723) (igor-aptos) #15723
- 3a59b94: [move] Change copybara to sync with move-on-aptos (#15458) (George Mitenkov) #15458
- 745ec1d: [validator] Changing module cache for VM validator (#15714) (George Mitenkov) #15714
- ca106a6: update cli (#15719) (Teng Zhang) #15719
- e12fcbb: [move] Move out tag cache (safe speculation) (#15676) (George Mitenkov) #15676