-
Notifications
You must be signed in to change notification settings - Fork 217
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
CLI: Add option "cardano-wallet transaction create --metadata=JSON" #2125
Conversation
493f9db
to
b5ac4dc
Compare
b5ac4dc
to
04dff55
Compare
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.
👌
it "TRANSMETA_CREATE_01 - Transaction with metadata via CLI" $ \ctx -> do | ||
(wSrc, wDest) <- (,) <$> fixtureWallet ctx <*> emptyWallet ctx | ||
let amt = 100000 | ||
let md = Just "{ \"1\": \"hello\" }" |
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.
👋
bf40c68
to
7498249
Compare
bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. 2136: Run existing pool DB property tests on model implementation. r=jonathanknowles a=jonathanknowles # Issue Number https://jira.iohk.io/browse/ADP-406 # Overview Over time, we've built up a fairly large suite of [property tests for the pool database](https://github.com/input-output-hk/cardano-wallet/blob/ff181966317b50083a61aa3e4f3dfd2ac1bff1a3/lib/core/test/unit/Cardano/Pool/DB/Properties.hs). However, up until now these tests were only ever run on the **SQLite** implementation. The **model** implementation was not tested. This PR fixes this by adjusting the test suite to test both the **SQLite** and **model** implementations. For example: ```hs ghcid \ --command "stack ghci cardano-wallet-core:lib cardano-wallet-core:test:unit" \ --test ':run Spec.main -m prop_listPoolLifeCycleData_multiplePools_multipleCerts' Cardano.Pool.DB.MVar MVar Stake Pool Properties prop_listPoolLifeCycleData_multiplePools_multipleCerts +++ OK, passed 100 tests. Cardano.Pool.DB.Sqlite Sqlite Stake Pool Properties prop_listPoolLifeCycleData_multiplePools_multipleCerts +++ OK, passed 100 tests. Finished in 40.3082 seconds 2 examples, 0 failures ``` ## Details This PR: 1. Generalizes the `Pool.DB.Properties` module to work with any implementation of `Pool.DBLayer`. 2. Adds a `Pool.DB.MVarSpec` module to handle the required setup for testing the model implementation. 3. Fixes the small number of resulting failures. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Jonathan Knowles <[email protected]>
Build failed (retrying...): |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. 2135: Fix dylib references of bundled programs on macOS r=rvl a=rvl ### Issue Number Resolves #2134 ### Overview - On macOS rewrite dylib references from `/nix/store` to `@executable_path` - for every executable in the bundle. - Add linking tests to `check-bundle.rb` for macOS and Linux. 2141: Make Jörmungandr tests pass again r=rvl a=piotr-iohk # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - 3665332 Disable STAKE_POOLS_* tests due to #2140 - 6e276af Remove hard-coded mnemonics in case not necessary in integration tests - 038c365 Remove Shelley specific transaction suite. Add few more basic transaction tests to Jormungandr suite. - 6e98d4b BYRON_MIGRATE_01 - make Jormungandr big wallet for migration smaller (the same as Shelley one) and adjust to pass on both backends - e3d6a55 adjust genMnemonics to be more standard # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
Build failed (retrying...): |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
7498249
to
559944f
Compare
bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=KtorZ a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed:
|
Oops - the integration test transaction did not exceed minimum UTxO. bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
aad7903
to
55c8a10
Compare
bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
Should be updated now. bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
a2b821e
to
669b908
Compare
bors r+ |
Canceled. |
bors merge |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=KtorZ a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: KtorZ <[email protected]> Co-authored-by: IOHK <[email protected]>
Build failed: |
dbbe29f
to
a16eb63
Compare
a16eb63
to
e212007
Compare
Build succeeded: |
Issue Number
ADP-307 / #2076
Overview
--metadata=JSON
option to transaction create and fee estimate commands.Comments
Will update the CLI wiki page after merging.