Skip to content

refactor: remove advice map merging#2088

Merged
igamigo merged 2 commits intonextfrom
igamigo-rm-merge
Nov 23, 2025
Merged

refactor: remove advice map merging#2088
igamigo merged 2 commits intonextfrom
igamigo-rm-merge

Conversation

@igamigo
Copy link
Collaborator

@igamigo igamigo commented Nov 11, 2025

Closes #1653
Closes #1908

This PR basically removes explicit loading of MastForest advice data in TransactionAdviceInputs in favor of letting the VM load them as needed (reference).

The one difference AFAICT with this approach is that the MastForest and its advice data get loaded lazily, which in practice means that, for example, the data is there if the account code is called. This is why the test had to be updated to call the account procedure first.

@igamigo igamigo added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Nov 11, 2025
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you!

Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice simplification! Looks great!

@igamigo igamigo merged commit fe16823 into next Nov 23, 2025
17 checks passed
@igamigo igamigo deleted the igamigo-rm-merge branch November 23, 2025 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove explicit loading of advice data from MastForests on load Remove script/account code advice data insertion from TransactionAdviceInputs

3 participants