Skip to content
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

Move Write.Tx modules to cardano-balance-tx #4127

Merged
merged 3 commits into from
Sep 15, 2023
Merged

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Sep 13, 2023

  • Factor out std-gen-seed library
  • Move Write.Tx modules to cardano-balance-tx

Comments

  • Unit tests to be moved in separate PR and/or task.

Issue Number

ADP-3170

@Anviking Anviking self-assigned this Sep 13, 2023
@Anviking Anviking changed the base branch from master to anviking/ADP-3081/ledger-tokenBundleSizeAssessor September 13, 2023 16:17
@Anviking Anviking force-pushed the anviking/move-balanceTx-2 branch 6 times, most recently from 17f57d3 to d4228d5 Compare September 13, 2023 19:00
@Anviking Anviking marked this pull request as ready for review September 13, 2023 19:41
@Anviking Anviking force-pushed the anviking/move-balanceTx-2 branch from d4228d5 to 5daa2ec Compare September 13, 2023 20:39
lib/balance-tx/cardano-balance-tx.cabal Outdated Show resolved Hide resolved
lib/wallet/src/Cardano/Wallet/Transaction.hs Outdated Show resolved Hide resolved
lib/std-gen-seed/std-gen-seed.cabal Outdated Show resolved Hide resolved
deriving (Show, Eq)

assumedTxWitnessTag :: UTxOAssumptions -> TxWitnessTag
assumedTxWitnessTag = \case
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not leave it in the UtxoAssumptions module?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 TxWitnessTag is ultimately only needed for SizeEstimation.hs-functions, and seems more internal to me. I'd favor not putting it in Write.UTxOAssumption now.

Copy link
Member

@jonathanknowles jonathanknowles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Anviking

Just some preliminary comments!

cabal.project Outdated Show resolved Hide resolved
lib/std-gen-seed/std-gen-seed.cabal Outdated Show resolved Hide resolved
lib/std-gen-seed/std-gen-seed.cabal Outdated Show resolved Hide resolved
lib/std-gen-seed/std-gen-seed.cabal Outdated Show resolved Hide resolved
lib/wallet/cardano-wallet.cabal Outdated Show resolved Hide resolved
lib/wallet/cardano-wallet.cabal Outdated Show resolved Hide resolved
Base automatically changed from anviking/ADP-3081/ledger-tokenBundleSizeAssessor to master September 14, 2023 10:28
@Anviking Anviking force-pushed the anviking/move-balanceTx-2 branch from 2893e4e to 235222c Compare September 14, 2023 15:25
Co-authored-by: Jonathan Knowles <[email protected]>
@Anviking Anviking force-pushed the anviking/move-balanceTx-2 branch from 235222c to d0f58df Compare September 15, 2023 08:56
@Anviking Anviking enabled auto-merge September 15, 2023 09:07
@Anviking Anviking added this pull request to the merge queue Sep 15, 2023
Merged via the queue into master with commit 8ae7966 Sep 15, 2023
2 checks passed
@Anviking Anviking deleted the anviking/move-balanceTx-2 branch September 15, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants