-
Couldn't load subscription status.
- Fork 127
Open
Labels
Description
Currently, we have two implementations of a mock ChainIndex:
hypersdk/internal/validitywindow/validitywindow_test.go
Lines 427 to 429 in 2fada6d
| type testChainIndex struct { | |
| blocks map[ids.ID]ExecutionBlock[container] | |
| } |
| type MockChainIndex[T emap.Item] struct { | |
| blocks map[ids.ID]validitywindow.ExecutionBlock[T] | |
| } |
We should use a single implementation; this will most likely require us to split the validitywindow package into validitywindow and validitywindow_test.