avalanchego icon indicating copy to clipboard operation
avalanchego copied to clipboard

P-chain UTs consolidation 1 - Genesis

Open abi87 opened this issue 1 year ago • 1 comments

Why this should be merged

This is the first of three PRs which simplify UT creation in P-chain. This PR centralize genesis creation in UTs. Genesis creation is moved to a genesistest package and kills 200 LOC without giving up any functionality.

Thanks @joshua-kim and @marun for the discussions that brought me to these changes.

How this works

Centralize genesis build in UTs to avoid a ton of code duplication.

How this was tested

CI

abi87 avatar Sep 28 '23 12:09 abi87

This PR has become stale because it has been open for 30 days with no activity. Adding the lifecycle/frozen label will cause this PR to ignore lifecycle events.

github-actions[bot] avatar Apr 21 '24 00:04 github-actions[bot]