Summary
test/beacon/LiveBeaconTest.t.sol::test_validatorFieldsExtraction fails on main and has been failing prior to PR #129:
[FAIL: assertion failed: 0 != 32000000000] test_validatorFieldsExtraction()
Reproduction
git checkout main
forge soldeer update
forge test --match-test test_validatorFieldsExtraction
Hypothesis
The test stores effective balance as a big-endian bytes32(uint256(32_000_000_000)), but SSZ encodes the field little-endian. BeaconChainProofs.getEffectiveBalanceGwei likely reads the little-endian convention, so the test's bytes are decoded as zero.
Severity
Test-only — no production impact. Verified that adjacent tests in the same file (e.g. test_balanceLeafExtraction) pass on main.
Action
Fix either the test (use little-endian encoding) or align the helper to match the test's convention, depending on which side has the wrong end of the contract with consensus-layer SSZ. Out of scope for #129; tracked separately so the broader green-tests goal isn't blocked on this one historical bug.
Summary
test/beacon/LiveBeaconTest.t.sol::test_validatorFieldsExtractionfails onmainand has been failing prior to PR #129:Reproduction
Hypothesis
The test stores
effective balanceas a big-endianbytes32(uint256(32_000_000_000)), but SSZ encodes the field little-endian.BeaconChainProofs.getEffectiveBalanceGweilikely reads the little-endian convention, so the test's bytes are decoded as zero.Severity
Test-only — no production impact. Verified that adjacent tests in the same file (e.g.
test_balanceLeafExtraction) pass onmain.Action
Fix either the test (use little-endian encoding) or align the helper to match the test's convention, depending on which side has the wrong end of the contract with consensus-layer SSZ. Out of scope for #129; tracked separately so the broader green-tests goal isn't blocked on this one historical bug.