add balance cache tests to testsuite (#11962)

This commit is contained in:
Potuz 2023-02-02 10:41:44 -03:00 committed by GitHub
parent 5e89dac9f0
commit 1b11a9672a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -118,6 +118,7 @@ go_test(
"receive_attestation_test.go",
"receive_block_test.go",
"service_test.go",
"state_balance_cache_test.go",
"weak_subjectivity_checks_test.go",
],
embed = [":go_default_library"],

View File

@ -34,7 +34,8 @@ func testStateFixture(opts ...testStateOpt) state.BeaconState {
for _, o := range opts {
o(a)
}
s, _ := state_native.InitializeFromProtoUnsafeAltair(a)
s, err := state_native.InitializeFromProtoUnsafeAltair(a)
_ = err
return s
}