Add type parameter to KeySpace and GenEnv (#4908)
* Add type parameter to KeySpace and GenEnv.
Change:
- KeySpace era
to KeySpace c era
, and
- GenEnv era
to GenEnv c era
.
- Make the rest of the project compile, judiciously using MockCrypto
to specialize where necessary.
Why:
The test-suite
package from cardano-ledger-shelley
exports some
functions and data-types that are used by ouroboros-consensus-cardano
package to write tests. These functions and data-types were
monomorphic to `Mock...
#17319
Loading