forked from Python-Cardano/pycardano
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pool certificates (Python-Cardano#321)
* feat: add cardano-cli chain context * fix: allow instances of str to submit_tx_cbor * fix: cast to int for asset amount and check for None in get_min_utxo * test: add test for cardano-cli chain context * Black formatting * Fix some QA issues * refactor: use `--out-file /dev/stdout` to get utxo data as json * fix: remove unused offline/online mode code * fix: remove unused fraction parser method * fix: add docker configuration to use cardano-cli in a Docker container and network args method to use custom networks * test: add integration tests for cardano-cli * test: fix cardano-node container name * feat: add initial functionality for pool certificates * test: add some tests for pool certificates * refactor: use built in fractions module * fix: output PoolRegistration as flat list * fix: clean up some code * test: add tests for pool params * Add more integration tests for cardano cli context * feat: add stake pool key pairs * fix: resolve mypy and black linting issues * feat: add witness count override for fee estimation add initial stake pool registration flag and deposit add pool vkey hashes if certificate exists * chore: add integration test temporary folders to ignore * test: add test for pool certificate related code * Simplify Certificate deserialization * Fix failing test cases for python<3.10 Syntax "Optional[type1 | type2]" is not supported in version <= 3.9 * Simplify relay parsing * Remove unused import --------- Co-authored-by: Hareem Adderley <hareem@wavegp.com> Co-authored-by: Niels Mündler <n.muendler@posteo.de> Co-authored-by: Jerry <jerrycgh@gmail.com>
- Loading branch information
1 parent
d4ec506
commit efbc2d2
Showing
21 changed files
with
1,144 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ dist | |
|
||
# IDE | ||
.idea | ||
.code | ||
.code | ||
/integration-test/.env | ||
/integration-test/tmp_configs/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.