Unverified Commit 60e472fa authored by Wei Tang's avatar Wei Tang Committed by GitHub

Submit attestations to transaction pool for every epoch if validator is specified (#60)

* Add pool api to consensus

* Add signing helper function for attestation

* Get validator index from state

* Add current epoch param

* Finish attestation submission logic

* Fix runtime execution

* A few fixes for attestations

* Put casper context back to storage

* Fix test
parent 30f183c8
Pipeline #30652 passed with stages
in 6 minutes and 26 seconds