Now makeEffect boilerplate requires datum to implemt PTryFrom
It will free `makeEffect` from using `unsafeCoerce` and force each effect datums to implement their own "parsers".
This commit is contained in:
parent
0ace0406d8
commit
9394b2f70b
4 changed files with 71 additions and 45 deletions
|
|
@ -123,6 +123,7 @@ library
|
|||
exposed-modules:
|
||||
Agora.AuthorityToken
|
||||
Agora.Effect
|
||||
Agora.Effect.NoOp
|
||||
Agora.Governor
|
||||
Agora.MultiSig
|
||||
Agora.Proposal
|
||||
|
|
@ -151,11 +152,11 @@ test-suite agora-test
|
|||
main-is: Spec.hs
|
||||
hs-source-dirs: agora-test
|
||||
other-modules:
|
||||
Spec.AuthorityToken
|
||||
Spec.Model.MultiSig
|
||||
Spec.Sample.Stake
|
||||
Spec.Stake
|
||||
Spec.Util
|
||||
Spec.AuthorityToken
|
||||
|
||||
build-depends: agora
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue