Skip to content

Rename append vec to accounts file for CurrentAncientAppendVec#447

Merged
jeffwashington merged 1 commit intoanza-xyz:masterfrom
yhchiang-sol:rn-accounts-file
Apr 1, 2024
Merged

Rename append vec to accounts file for CurrentAncientAppendVec#447
jeffwashington merged 1 commit intoanza-xyz:masterfrom
yhchiang-sol:rn-accounts-file

Conversation

@yhchiang-sol
Copy link
Copy Markdown

Problem

Many places in accounts-db code base use append-vec to
describe accounts-file as it was the only accounts-file format
we had. As we generalize the concept, we need to properly
rename those append-vec params / functions that are actually
refer to accounts-file.

Summary of Changes

Rename append vec to accounts file for CurrentAncientAppendVec

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (80d3200) to head (ac5809c).

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #447     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         841      841             
  Lines      228242   228242             
=========================================
- Hits       186923   186910     -13     
- Misses      41319    41332     +13     

Copy link
Copy Markdown

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

:shipit:

let original_path = tmp.path().join("123.456");

// In remap_append_vec() we want to handle EEXIST (collisions), but we want to return all
// In remap_accounts_file() we want to handle EEXIST (collisions), but we want to return all
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks like this rename may've been collateral damage to a find-and-replace.

We can fix this in a subsequent PR too.

@jeffwashington jeffwashington merged commit a5aee48 into anza-xyz:master Apr 1, 2024
OliverNChalk pushed a commit to OliverNChalk/agave that referenced this pull request Nov 11, 2025
…#447)

Upstream have updated the way frozen ABI tests are defined, and in order
to run the tests correctly, we need to specify this feature flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants