Skip to content

Rename cost_tracker.account_data_size to better describe its purpose is to track per-block new accounts (re)allocation#1849

Merged
tao-stones merged 1 commit intoanza-xyz:masterfrom
tao-stones:refactor-rename-allocted-account-data-size
Jun 25, 2024
Merged

Rename cost_tracker.account_data_size to better describe its purpose is to track per-block new accounts (re)allocation#1849
tao-stones merged 1 commit intoanza-xyz:masterfrom
tao-stones:refactor-rename-allocted-account-data-size

Conversation

@tao-stones
Copy link
Copy Markdown

@tao-stones tao-stones commented Jun 24, 2024

Problem

cost_tracker.account_data_size isn't appropriately named, especially next to cost_tracker.loaded_accounts_data_size_cost, it could be confusing to read.

Summary of Changes

  • rename it to reflect its purpose is to track and limit per-block accounts (re)allocation.

Fixes #

…is to tracker per-block new account allocation
@tao-stones tao-stones requested a review from apfitzge June 24, 2024 21:25
@tao-stones tao-stones merged commit 8db8e60 into anza-xyz:master Jun 25, 2024
samkim-crypto pushed a commit to samkim-crypto/agave that referenced this pull request Jul 31, 2024
…is to track per-block new accounts (re)allocation (anza-xyz#1849)

rename cost_tracker.account_data_size to better describe its purpose is to tracker per-block new account allocation
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