store timing config in the proposal datum
.... and mock the value upon creation for now
This commit is contained in:
parent
cf51d47a0d
commit
92c64f8d7a
8 changed files with 68 additions and 2 deletions
|
|
@ -74,6 +74,7 @@ proposalCreation =
|
|||
, cosigners = [signer]
|
||||
, thresholds = defaultProposalThresholds
|
||||
, votes = emptyVotesFor effects
|
||||
, timingConfig = proposalTimingConfig
|
||||
}
|
||||
)
|
||||
|
||||
|
|
@ -167,6 +168,7 @@ cosignProposal newSigners =
|
|||
, cosigners = [signer]
|
||||
, thresholds = defaultProposalThresholds
|
||||
, votes = emptyVotesFor effects
|
||||
, timingConfig = proposalTimingConfig
|
||||
}
|
||||
stakeDatum :: StakeDatum
|
||||
stakeDatum = StakeDatum (Tagged 50_000_000) signer2 []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue