store timing config in the proposal datum
.... and mock the value upon creation for now
This commit is contained in:
parent
7da72e9398
commit
d44fe083da
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