github aptos-labs/aptos-core aptos-node-v1.42.1
[Mainnet] Aptos Node Release v1.42.1

10 hours ago

Important improvements:

The Move VM and block execution:
(i) Add layout validation and improve cache flushes
(ii) Fix constant size computation to match DAG-based layout construction
(iii) Fix closure load and enhance string checks

The consensus improvements were to address race conditions, and transient serialization issues.

Impact on nodes:

Validators: Upgrade required.
Fullnodes: Upgrade required.
Deposits and Withdrawals: No impact.

What's Changed

  • [jwk] rename .pem to .txt by @zekun000 in #18550
  • Verify Cargo.lock and other files are not changed after running lints by @wqfish in #18551
  • [crypto] Rename SecretSharingConfig trait to TSecretSharingConfig by @ibalajiarun in #18536
  • [Execution] Implement Copy for a few onchain config types by @wqfish in #18554
  • [types] Extract randomness DKG types into separate module by @ibalajiarun in #18537
  • [Types] Use Self whenever possible in onchain config code by @wqfish in #18555
  • Remove Pontem from example documentation by @banool in #18561
  • [Encrypted Txn] Add TypeScript tests for encrypted transactions by @JoshLind in #18521
  • [types] Add Chunky DKG types and on-chain config by @ibalajiarun in #18538
  • [Storage] Improve error message in assertions by @wqfish in #18570
  • [framework] Add hash-based caching for Move framework builds by @zekun000 in #18553
  • [TSS] add support for randomness in local mode by @vgao1996 in #18573
  • [dkg] Add chunky DKG types and module structure by @ibalajiarun in #18542
  • [Storage] Fix for panics in state update code by @wqfish in #18575
  • [dkg] Add chunky DKG producers by @ibalajiarun in #18543
  • [vm] Tidy up abort tests by @calintat in #18513
  • Add BlockMetadataExt V2 with Decryption Key Support by @ibalajiarun in #18444
  • [consensus] Add ValidatorTransaction::ChunkyDKGResult and consensus hooks by @ibalajiarun in #18539
  • adding aptos-trading by @igor-aptos in #18488
  • [trivial] remove boogie.bpl from move-stdlib by @rahxephon89 in #18593
  • [telemetry] allow untrusted telemetry only on some paths by @rustielin in #18518
  • [dkg] Add ChunkyDKGManager and missing transcript fetcher by @ibalajiarun in #18544
  • [framework] Add chunky DKG Move modules by @ibalajiarun in #18540
  • [dkg] Integrate ChunkyDKGManager with epoch manager by @ibalajiarun in #18545
  • Rust 1.91 by @wqfish in #18557
  • [forge] bump deployer version by @aptos-bot in #18461
  • [framework] Add abort messages to some native functions by @calintat in #18534
  • Introduce Aggregated type for PVSS aggregation in aptos-dkg by @waamm in #18514
  • Fix dkg imports by @waamm in #18614
  • [gha][docker] use runs-on snapshots for caching by @ibalajiarun in #18606
  • [gha][docker] upgrade buildx version by @ibalajiarun in #18617
  • Reduce number of threads for various services by @wqfish in #18607
  • [cli] Fix some issues in the CLI with move tooling by @vineethk in #18616
  • randomness dkg maintenance by @zjma in #18641
  • Tune jemalloc configuration for better perf by @wqfish in #18642
  • [docker] Migrate from Debian Bullseye to Trixie by @ibalajiarun in #18621
  • [vm] Changing all mvir tests to masm tests for VM transactional tests by @vineethk in #18510
  • Localnet shorthand flags by @banool in #18656
  • Last aptos-trading cleanup pass by @igor-aptos in #18665
  • [trivial] Remove unused module and minor refactor by @vineethk in #18663
  • consensus/execution: perf tuning by @ibalajiarun in #18670
  • [docker] Split build scripts into 4 parallel builders by @ibalajiarun in #18669
  • [gas profiler] various improments by @vgao1996 in #18589
  • [Storage] Add a tool to check stale nodes that should be pruned but haven't. by @grao1991 in #18681
  • [vm] Better stack size checks for unpack and closure calls by @georgemitenkov in #18630
  • release builder - add framework release only some packages by @igor-aptos in #18675
  • [voting] fix voting boundary issue by @lightmark in #18680
  • cherry-pick recent hotfixes (main) by @vgao1996 in #18666
  • [types] Add committed_hash() to Transaction and remove CryptoHash trait by @ibalajiarun in #18590
  • Use orderless tx on faucet by @jtang17 in #18676
  • Update indexer processor dependencies by @banool in #18655
  • [compiler] remove capture option warning by @rahxephon89 in #18470
  • Improve speed of chunky dealing and serialization by @waamm in #18611
  • [masm] Add native function support for assembler-disassembler roundtripping by @vineethk in #18662
  • [vm] Use Arc for shared struct layout caching by @wrwg in #18640
  • Display compiler errors when framework tests are run by @vineethk in #18693
  • [staking_contract] accurate staker and operator pending attributions by @lightmark in #18671
  • [framework] Eliminate build.rs from aptos-cached-packages by @wrwg in #18625
  • [cached-packages] Update head.mrb by @wrwg in #18702
  • [gas] bump gas version to v1.42 by @ibalajiarun in #18704
  • [Storage] Start a thread to cleanup some stale JMT nodes. by @grao1991 in #18688
  • Bump CLI to 8.0.0 by @banool in #18692
  • Improve chunky verifier speed by @waamm in #18700
  • Update comments in fk_algorithm.rs to better explain circulant matrix evaluation by @rex1fernando in #18586
  • Add rng parameter to verify method in PVSS trait by @waamm in #18714
  • [aptos-batch-encryption] Add fn to batch threshold encryption scheme, to allow validators to post encryption key on-chain at the end of the epoch by @rex1fernando in #18615
  • [storage] Fix incorrect assertion in LedgerState::new by @wqfish in #18709
  • Disable randomness fast path by default by @danielxiangzl in #18644
  • txn emitter: add latency for orderless by @igor-aptos in #18647
  • [move-prover] Implement behavioral predicates in Boogie code generation by @wrwg in #18465
  • [jemalloc] Add background thread for periodic jemalloc stats as Prometheus gauges by @wqfish in #18721
  • [prover] Ensures state labels of behavioral predicates are correctly propagated from the frontend by @wrwg in #18583
  • [consensus] Add optimistic randomness share verification by @danielxiangzl in #18646
  • [compiler] Add format string validation for assert macros by @calintat in #18533
  • [encrypted mempool] Fix aptos-batch-encryption flaky tests by @rex1fernando in #18696
  • [consensus] Use spawn_blocking for CPU-intensive verification by @zekun000 in #18719
  • [consensus] Use OptQuorumStore payload exclusively in proof_manager by @ibalajiarun in #18653
  • [blockstm] pre-write timestamp in mvhashmap by @zekun000 in #18125
  • [model] Improve sourcifier spec output formatting by @wrwg in #18579
  • [Peer Monitoring] Support peer metadata sanitization. by @JoshLind in #18547
  • [State Sync] Update default state sync config values. by @JoshLind in #18701
  • move validations from aptos-trading to market by @igor-aptos in #18727
  • Remove the use of mvir files in various places, instead, using masm by @vineethk in #18685
  • Tune jemalloc config to reduce memory fragmentation by @wqfish in #18729
  • [encrypted mempool] Switch hash-to-curve implementation in aptos-batch-encryption to the ones in arkworks and noble-curves by @rex1fernando in #18715
  • Pruned version stream unavailable by @banool in #18581
  • [framework][vm] Add chunky DKG reconfiguration and VM support by @ibalajiarun in #18541
  • [tools][cleanup] Remove move-cli crate, relocate shared modules to move-unit-test and move-prover by @wrwg in #18736
  • [fix] cherry pick missed feature activation times by @georgemitenkov in #18745
  • [stake] Prevent from empty validator set by @lightmark in #18280
  • [tools][cleanup] Move move-docgen out of move-prover into move/tools by @wrwg in #18741
  • [encrypted mempool] Update HKDF in aptos-batch-encryption to be consistent with RFC-5869 by @rex1fernando in #18716
  • [tools][cleanup] Move move-abigen out of move-prover into move/tools by @wrwg in #18742
  • Redesign PVSS traits by @waamm in #18718
  • [vm] Improve type depth tracking and async runtime checks by @georgemitenkov in #18728
  • [storage] Make is_descendant_of check strict by walking the parent chain by @wqfish in #18749
  • [tools][cleanup] Remove move-errmapgen crate by @wrwg in #18740
  • [vm] Use async type checks as default by @georgemitenkov in #18752
  • [prover][cleanup] Remove dead options and flags by @wrwg in #18743
  • [Storage] Fix max background job setting by @wqfish in #18767
  • Increase num orderless txns per user to 5000 by @vusirikala in #18769
  • [storage] Disable compaction-based write stalling for append-only ledger sub-DBs by @wqfish in #18771
  • crypto native cleanup by @zjma in #18713
  • [TSS] implement new_block + advance_epoch and add tests by @vgao1996 in #18691
  • [storage] Fix HotState race condition via RCU / deferred merge by @wqfish in #18744
  • [jemalloc] Revamp jemalloc metrics and add HPA stats by @wqfish in #18779
  • [enctx] Add encrypted transaction types, DKG encryption key, and framework wiring by @ibalajiarun in #18757
  • [gha][docker] upgrade buildx cli version by @ibalajiarun in #18785
  • [consensus] Add decryption pipeline and secret share management by @ibalajiarun in #18758
  • [state-sync] Combine 4 state-sync tokio runtimes into one shared runtime by @wqfish in #18781
  • Make prepare and decrypt work on individual cts by @rex1fernando in #18786
  • [TSS] add gas profiler support and bump CLI version by @vgao1996 in #18778
  • Encrypted transaction context: API, SDK, VM, and execution support by @ibalajiarun in #18759
  • [crypto] bump slh_dsa version and fix trait issues by @ibalajiarun in #18787
  • [compiler-v2] Fix parsing of signed int returns by @vineethk in #18780
  • Signed integer support in transactional test arguments by @vineethk in #18783
  • [Network] Remove old netbench code. by @JoshLind in #18789
  • [test] Add encrypted transaction decryption smoke test by @ibalajiarun in #18760
  • [aptos-release-v1.42] Bump version to 1.42.0 by @aptos-bot in #18793
  • [cp][aptos-release-v1.42] [Storage] Fix HotState crash on stale merged_state by @aptos-bot in #18812
  • Rosetta fee payer tracking (#18799) by @gregnazario in #18866
  • [cp][aptos-release-v1.42] [execution] Fix cache flush by @aptos-bot in #18886
  • [cp][aptos-release-v1.42] [vm] Fixing issues with bounds and recursion by @aptos-bot in #18892
  • [cp][aptos-release-v1.42] [vm] Updating limits for structs by @aptos-bot in #18901
  • [cp][aptos-release-v1.42] [vm] Update activation times for revised bounds feature by @aptos-bot in #18906
  • [cp][aptos-release-v1.42] [vm] Improve async runtime checks by @aptos-bot in #18918
  • [cp][aptos-release-v1.42] [docker] disable push to ECR by @aptos-bot in #18917
  • [aptos-release-v1.42] Revert PipelinedBlock BCS serialization breakage by @ibalajiarun in #18963
  • [cp][aptos-release-v1.42] Consolidate quorum store batch bootstrap by @aptos-bot in #18968
  • [cp][aptos-release-v1.42] [gas] Apply 10x multiplier to gas costs and storage fees by @aptos-bot in #18966
  • [cp][aptos-release-v1.42] [storage] Fix state KV truncation leaking first-time key creations by @aptos-bot in #19040
  • [cp][aptos-release-v1.42] [cp] Multiple fixes for Move VM and block execution by @aptos-bot in #19100
  • [cp][aptos-release-v1.42] [consensus] Clear module cache on pipeline teardown to prevent hot-state deadlock by @aptos-bot in #19104
  • [aptos-release-v1.42] Bump version to 1.42.1 by @aptos-bot in #19112

Full Changelog: aptos-node-v1.41.9...aptos-node-v1.42.1

Don't miss a new aptos-core release

NewReleases is sending notifications on new releases.