Skip to content

Commit

Permalink
Unskip benchutil and minor v0.11 fixes (#5417)
Browse files Browse the repository at this point in the history
* Unskip benchutil tests

* Remove protos and gaz

* Fixes
  • Loading branch information
0xKiwi authored Apr 14, 2020
1 parent a4f47b9 commit da28c1f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2,059 deletions.
7 changes: 6 additions & 1 deletion beacon-chain/core/state/benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ func TestBenchmarkExecuteStateTransition(t *testing.T) {
t.Fatal(err)
}

if _, err := state.ExecuteStateTransition(context.Background(), beaconState, block); err != nil {
oldSlot := beaconState.Slot()
beaconState, err = state.ExecuteStateTransition(context.Background(), beaconState, block)
if err != nil {
t.Fatalf("failed to process block, benchmarks will fail: %v", err)
}
if oldSlot == beaconState.Slot() {
t.Fatal("Expected slots to be different")
}
}

func BenchmarkExecuteStateTransition_FullBlock(b *testing.B) {
Expand Down
14 changes: 0 additions & 14 deletions proto/beacon/rpc/v1/BUILD.bazel

This file was deleted.

Loading

0 comments on commit da28c1f

Please sign in to comment.