Skip to content

Feat(deps): Upgrade to Aptos version 1.39.2#585

Merged
birchmd merged 2 commits intomainfrom
chore/birchmd/aptos-upgrade-1.39.2
Feb 4, 2026
Merged

Feat(deps): Upgrade to Aptos version 1.39.2#585
birchmd merged 2 commits intomainfrom
chore/birchmd/aptos-upgrade-1.39.2

Conversation

@birchmd
Copy link
Copy Markdown
Contributor

@birchmd birchmd commented Feb 2, 2026

Description

Upgrade to Aptos dependencies to node version 1.39.2. This gives access to new Move language types (e.g. closures and signed integers). There were many breaking changes to the MoveVM API in the versions since our last upgrade. To keep the changes in our own code as small as possible (though this is still a large PR), I re-introduced some of the concepts that were removed from the Aptos code (e.g. Session type and including changes to modules in the Changes type).

Changes

  • Replace deleted ModuleResolver trait with ModuleBytesStorage
  • Introduce AllAccountChanges type which keeps track of module changes in the same way that AccountChanges used to in the old Aptos code.
  • Introduce our own Changes type which uses the new AllAccountChanges internally.
  • Replace the deleted MoveVM session type with two of our own types: RuntimeContext and Session, which serve the same purpose as the original Session did in the old Aptos code.
  • Rebuild aptos.mrb with latest framework contracts.

Testing

  • Existing tests

Notes

Some new Aptos features are not completely implemented in this PR. We don't make use of these features in any of our code so this is fine for now, but we may need to revisit this in the future when we have Move developers on the platform. For example, I created an issue for the new monotonically increasing counter native.

@birchmd birchmd requested a review from bulenttastan February 2, 2026 19:12
@birchmd birchmd self-assigned this Feb 2, 2026
@birchmd birchmd merged commit c0f5831 into main Feb 4, 2026
3 checks passed
@birchmd birchmd deleted the chore/birchmd/aptos-upgrade-1.39.2 branch February 4, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants