Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature in to retrieve account info without tracking it #7853

Closed
wants to merge 3 commits into from

Conversation

FlorianHuc
Copy link
Contributor

PR description

Add methods getAccountNoTrack in WorldUpdater that returns account details but don't add it for tracking to avoid states changes.

Fixed Issue(s)

fixes 7852

Signed-off-by: FlorianHuc <florian.huc@gmail.com>
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
Signed-off-by: FlorianHuc <florian.huc@gmail.com>
@matkt
Copy link
Contributor

matkt commented Nov 4, 2024

I think we need to check but If I remember correctly https://github.com/hyperledger/besu/blob/main/evm/src/main/java/org/hyperledger/besu/evm/worldstate/WorldView.java#L32 is not tracking account. Maybe you can use this method instead of getAccount

@FlorianHuc FlorianHuc closed this Nov 6, 2024
@FlorianHuc
Copy link
Contributor Author

I think we need to check but If I remember correctly https://github.com/hyperledger/besu/blob/main/evm/src/main/java/org/hyperledger/besu/evm/worldstate/WorldView.java#L32 is not tracking account. Maybe you can use this method instead of getAccount

it's indeed what i need. thank you.

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.

Access account information without triggering changes
2 participants