Implement ListPoolAttesterSlashings in the beacon API (#8492)

* pool interface and mock

* implementation

* gofmt

* gzl

* Use migration package for slashing mapping

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
This commit is contained in:
Radosław Kapka
2021-02-23 16:17:07 +01:00
committed by GitHub
parent 6b82873737
commit e40fba7679
14 changed files with 246 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ type BeaconNode struct {
db db.Database
attestationPool attestations.Pool
exitPool *voluntaryexits.Pool
slashingsPool *slashings.Pool
slashingsPool slashings.PoolManager
depositCache *depositcache.DepositCache
stateFeed *event.Feed
blockFeed *event.Feed