This one is opensourcing the aptos-node-v1.40.4-hotfix, if you already upgraded to the hotfix, no need to upgrade again.
What's Changed
[vm] removes usage of unwrap from cryptographic native natives
[vm] uses full transaction size for gas and checks
[vm] checks closure depth bound at construction time
[consensus] caps the number of consensus threads to 32
[execution] caps the number of BlockSTM execution threads to 16
[quorum store] fixes a bug in batch generator when transaction sizes exceed batch size.
- [cp][aptos-release-v1.40] consensus/execution: perf tuning by @aptos-bot in #18678
- cherry-pick recent hotfixes (1.40) by @vgao1996 in #18667
Full Changelog: aptos-node-v1.40.2-hotfix...aptos-node-v1.40.4