Release Notes
Release tag: aptos-node-v1.18.0
CLI Version this release is compatible with: v4.0.0+
Validator Update Required? Yes, by Aug 21st.
Fullnode Update Required? Yes, by Aug 27th.
Aptos Improvement Proposals (AIPs)
Check out all of our AIPs and discussions here on GitHub.
New features and enhancements
- [AIP-95] Collection Permissions Update
- Ecosystem Impact: Changing collection permissions from creator to owner
- Dependencies: None
- Feature Flag: None
- [AIP-93] Consensus Observer
- Ecosystem Impact: Improved transaction latencies under load
- Dependencies: None
- Feature Flag: None (this feature is gated by the node configs)
- [AIP-91] Enum Types in the Move VM
- Ecosystem Impact: Users can use enum types in Move smart contracts
- Dependencies: None
- Feature Flag:
USE_COMPATIBILITY_CHECKER_V2
,ENABLE_ENUM_TYPES
Aptos Blockchain
General
- Dynamic adjustment for variance in gas calibration has been added to the block proposer, adjusting block sizes to target each block to take up to 250ms, providing predictable latency
- Precompute and store transaction accumulator root hash on each version, for APIs that require this information the performance is improved.
- Internal indexer implementation and bug fixes are finished.
State sync
- Preliminary support for consensus observer AIP 93 has been added. This targets the validators and validator fullnodes (VFNs).
Mempool
- Earlier PFNs used to forward the mempool traffic to only one upstream full node. Now, the PFNs load balance the mempool traffic across many upstream full nodes.
Move
VM
- New
bcs::serailized_size
native function which can be used to replace existing serialized size calculation by first getting the vector of bytes and then returning its length. Smart data structures now use this implementation. - feature flag
REJECT_UNSTABLE_BYTECODE_FOR_SCRIPT
to enable a check in the VM that rejects execution of a script that is compiled by an unstable compiler or containing unstable language feature on mainnet: #14099 - Support raw bytes as script argument, gated by flag
ALLOW_SERIALIZED_SCRIPT_ARGS