Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle Altendorf 527d5543c4 non-zero exit code for data cli commands if query fails 2021-10-03 13:23:38 -04:00
Kyle Altendorf 6a069b6778 start daemon/data for data integration test 2021-10-03 13:21:18 -04:00
Kyle AltendorfandGitHub 34833eb203 Merge pull request #8692 from Chia-Network/altendky-data_layer_exploration-add_tests_to_ci 2021-10-02 22:31:54 -04:00
Kyle Altendorf c2b1756cda PathLike and CompletedProcess only generic for type checking 2021-10-02 21:50:40 -04:00
Kyle Altendorf 4de17d180a add generated data layer ci workflows 2021-10-02 21:25:19 -04:00
Kyle Altendorf a8780bede6 constrain all data store columns NOT NULL 2021-10-01 20:20:06 -04:00
Kyle Altendorf bd59f2d105 add data store table id foreign key to actions 2021-10-01 19:57:38 -04:00
66c2399ad5 changelog 1.2.9 (#8677)
* changelog 1.2.9

* Update CHANGELOG.md

Co-authored-by: Chris Marslender <chris@chia.net>

Co-authored-by: Jack Nelson <jackmiami60612@gmail.com>
Co-authored-by: Chris Marslender <chris@chia.net>
1.2.9
2021-10-01 15:23:47 -07:00
Kyle Altendorf 2f12fe7551 todo cleanup 2021-10-01 17:48:08 -04:00
Kyle AltendorfandGitHub 5c7dab9faf Merge pull request #8653 from Chia-Network/altendky-data_layer_exploration-locked_transactions 2021-10-01 15:06:33 -04:00
53438e64b0 Correct DataStore.add_action() recursive mis-call
Co-authored-by: Almog De Paz <almogdepaz@gmail.com>
2021-10-01 14:20:54 -04:00
Niraj PathakandGitHub 1a2c1d7ba3 create checksums (#8675) 2021-10-01 10:59:24 -07:00
Niraj PathakandGitHub dc4ddc085a check for AWS secret instead of generic secret (#8656)
* check for AWS secret instead of generic secret

* fix file extension
2021-10-01 10:22:32 -07:00
Chris MarslenderandGitHub bc90d71220 Add the UI version fix (#8657)
* Add the UI version fix to the mac builds

* Ensure jq is installed

* Add version fix for windows

* Use the system package manages for jq

* Fix jq on deb
2021-10-01 10:22:22 -07:00
almog 1b71baf4d8 refactor update table 2021-10-01 18:02:33 +03:00
almog 14a8b36207 naming 2021-10-01 16:42:19 +03:00
almog 7bbed0f44c dedup code in data funcs 2021-10-01 16:41:08 +03:00
Kyle Altendorf 17228d393a flake8 2021-09-30 19:39:23 -04:00
paulhainsworth-chiaandGitHub 6bbc9c3888 changelog for 1.2.8 (#8647)
* changelog for 1.2.8
1.2.8
2021-09-30 16:07:54 -07:00
Earle LoweandGitHub 7fdd0b2fd7 Improved mempool validation and test (#8652) 2021-09-30 16:07:22 -07:00
Kyle Altendorf 1956340484 add DBWrapper.locked_transaction(), use in data store 2021-09-30 18:41:37 -04:00
Kyle Altendorf bd0e310d49 correct data cli test to use subprocess.TimeoutExpired 2021-09-30 18:34:48 -04:00
Kyle Altendorf 418f2943db mypy 2021-09-30 11:54:15 -04:00
Kyle Altendorf b7e95e2fe5 add a basic data layer cli integration test 2021-09-30 11:40:49 -04:00
Kyle Altendorf dadaac38f4 outdated comment cleanup 2021-09-30 09:35:52 -04:00
wjblankeandGitHub 9179353dda fixed head and upped test timeouts (#8639)
* fixed head and upped test timeouts

* upped test timeouts
2021-09-29 17:30:42 -07:00
4fddb5cdf1 Full node changes required for CAT / Standalone (#8616)
* full node changes

* hint store

* finish coin state tracking, mypy, flake8

* type hints

* bump protocol version

* change wallet tool for testing hint list

* mypy

* add check for state, future proof hint db for multiple hints per coin

* get hint rename

* clean

* Update chia/consensus/blockchain.py

Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>

Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com>
Co-authored-by: Arvid Norberg <arvid.norberg@gmail.com>
2021-09-29 15:04:29 -07:00
Arvid NorbergandGitHub 4745c60c11 add stress tests with malicious generators (#8570)
* add tests with malicious generators

* raise limit for stress tests
2021-09-29 11:41:49 -07:00
Kyle Altendorf 0cdcb14749 preliminary data layer cli 2021-09-28 20:57:12 -04:00
Arvid NorbergandGitHub 37c77b32b4 update create_coin hint test to use a list (#8628)
* update create_coin hint test to use a list

* the hint/memo is always included in the CREATE_COIN conditions now
2021-09-28 15:46:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2a95b54082 Bump actions/setup-node from 2.4.0 to 2.4.1 (#8626)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 15:23:34 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
576c9acb6a Bump github/super-linter from 4.6.1 to 4.8.0 (#8627)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.1 to 4.8.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/master/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4.6.1...v4.8.0)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 15:21:01 -07:00
William Blanke f25c2290d6 update clvm_rs 2021-09-28 14:10:51 -07:00
Chris MarslenderandGitHub e0a2f910e2 Update azure build process to use install.sh and other patterns from the GHA builds (#8625) 2021-09-28 13:33:17 -07:00
Kyle Altendorf 909a193d9e explicit .hex()/bytes32(bytes.fromhex()) for data store hashes 2021-09-26 11:37:49 -04:00
Kyle Altendorf 2a249c6bff more async for in data layer 2021-09-26 11:16:07 -04:00
Kyle Altendorf 6d1fc5946b use aiosqlite.Row to access elements by name in data layer 2021-09-26 10:48:59 -04:00
Kyle Altendorf c04eb6cf06 @dataclass for DataStore 2021-09-26 10:34:59 -04:00
William Blanke de67c42302 updated gui to b0c950acf4881fd1601eba72a9df077c3e2bb60f 2021-09-25 19:48:15 -07:00
Jeff CruikshankandGitHub 1254d4decd In rare cases where os.replace fails, retry using shutil.move. (#8589)
* In rare cases where os.replace() fails, retry using shutil.move. Seen on some Windows installs.

* Catch the PermissionError specifically
2021-09-24 13:24:03 -07:00
Kyle Altendorf c00102b9ca only import, not also from 2021-09-24 16:00:53 -04:00
Kyle Altendorf fd1266d708 switch data layer to simple key value store, no order/indexes or dpulicates 2021-09-24 15:58:36 -04:00
a70082f29a macOS keyring.yaml support (#8292)
* Added 'service' as a Keychain ctor param. Removed 'testing'

* Detect existing keys in the Mac Keychain

* Fix to allow migration of keys on macOS

* Added dump_keyring.py tool to show decrypted contents of keyring.yaml

* Prompt to save passphrase to macOS keychain

* Master passphrase retrieval/removal from the macOS Keychain.
Fixed typos.

* Warn if errSecInteractionNotAllowed is detected when accessing the macOS Keychain

* Fixed file_keyring synchronization test failures on macOS.
Fixed sporadic test failures on macOS when fsevents are delivered for the keyring after deletion.
TempKeyring-based tests now patch supports_os_passphrase_storage() to return False.

* TempKeyring mocks-out legacy_keyring setup to allow tests to succeed on macOS (which could find existing keys in the Keychain)

* Fixed pylint error

* Use with_name instead of with_stem (which is new to Python 3.9)

* Fixed keychain tests that started prompting for the keyring passphrase.

* Fixed LGTM issues

* Re-added the cleaning up temp keychain statement. This is being removed in a separate PR.

* Linter fixes

* Fixed keyring assignment on macOS when passphrase support is disabled.

* Include 'can_save_passphrase' flag in keyring_status response

* More linter fixes

* Fixed determination of the user_passphrase_is_set flag. This was returning true for a newly created keyring without any keys (or passphrase set)

* Removed the tidy_passphrase function per feedback

* Added some comments based on feedback

* Update chia/cmds/passphrase_funcs.py

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
2021-09-24 10:32:57 -07:00
Kyle Altendorf d03431c938 use sets instead of lists in data layer tests, order was removed 2021-09-24 10:41:30 -04:00
Kyle Altendorf ef202673ec entirely remove index from data layer code 2021-09-24 10:34:27 -04:00
Kyle Altendorf 5758d42e8e define foreign keys for data layer 2021-09-23 15:32:22 -04:00
Kyle Altendorf 3b212cad86 Merge branch 'main' into altendky-data_layer_exploration 2021-09-23 15:16:55 -04:00
Kyle Altendorf 1d601c5704 formatting 2021-09-23 11:37:10 -04:00
William Blanke b5537fcc53 update to clvm_rs 13 2021-09-23 08:05:35 -07:00
Kyle Altendorf 79c8e00a12 lint 2021-09-23 09:36:46 -04:00