-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for configurable Tx Size and ex-Units #165
Conversation
plutip-server/Types.hs
Outdated
data StartClusterRequest = | ||
StartClusterRequest { keysToGenerate :: [[Lovelace]] } -- | Lovelace amounts for each UTXO of each wallet | ||
| StartClusterRequestWithConfig | ||
{ slotLength :: NominalDiffTime | ||
, epochSize :: EpochSize | ||
, maxTxSize :: Natural | ||
, increasedExUnits :: Bool | ||
, keysToGenerate :: [[Lovelace]] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to change this to be one constructor, and make it so that any keys that are missing from the request (or are set to Nothing
) are given default values? This would simplify things for users, as currently if they want to change one of these values they have to supply values for all of them. It would also simplify (in my opinion) the design in your other PR (see my review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
No description provided.