Kyle Altendorf
c238ce17ba
add -d for Install.ps1 ( #11062 )
2022-04-05 17:00:10 -07:00
Arvid Norberg
492503f109
print average block rate at different block height windows ( #11064 )
2022-04-05 16:11:03 -07:00
Jeff
bb57ccffa9
Improve handling of unknown pending balances (likely change from addi… ( #10984 )
...
* Improve handling of unknown pending balances (likely change from adding a maker fee).
Minor improvement for fingerprint selection -- enter/return selects the logged-in fingerprint.
* Minor output formatting improvements when showing offer summaries.
Minor wallet key selection improvements.
Added tests for print_offer_summary
* Linter fixes
* isort fix
* Coroutine -> Awaitable
* Removed problematic fee calculation from get_pending_amounts per feedback.
2022-04-05 16:09:00 -07:00
Kyle Altendorf
45e4c7c156
Checkout test blocks and plots for benchmarks workflow ( #11068 )
2022-04-05 17:16:38 -05:00
William Allen
6ed61bfbe5
Adding clean-workspace step to benchmarks ( #11063 )
2022-04-05 15:28:33 -05:00
Amine Khaldi
a2fa8dda01
Prepare test blocks and plots only for tests that need them. This saves us a couple more hours of CI running time. ( #10975 )
2022-04-05 10:34:57 -07:00
Jack Nelson
9b7d7d2555
Remove websockets dependency & do some refactoring ( #10611 )
...
* remove old ws
2022-04-05 10:19:09 -07:00
Kyle Altendorf
d87b8ac087
simplify some header hash getting and assertions ( #11007 )
2022-04-05 08:54:38 -07:00
dustinface
9311e58ac4
full_node: Drop unused MempoolManager.constants_json
( #11046 )
2022-04-05 08:53:48 -07:00
Arvid Norberg
b377339372
fix memory leak in test_full_sync ( #11004 )
2022-04-05 08:53:12 -07:00
wjblanke
261f5baa6f
bump up to 2.1.7 to fix inotify issue resolved by 848 ( #11042 )
2022-04-04 23:35:28 -07:00
dustinface
4a4b14b78b
github: Drop unused BUILD_VDF_CLIENT
variables ( #11050 )
...
From my understanding this is only used by `chiavdf` source builds which
happen only if `install-timelord.sh` gets called but it doesn't in the
addressed cases.
2022-04-04 18:43:51 -07:00
Adam Kelly
22edd73331
Force apt to install the things we asked it to ( #11047 )
...
* Force apt to install the things we asked it to
* Update .github/workflows/benchmarks.yml
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-04-04 17:43:31 -07:00
Mariano Sorgente
35fb7d341c
Faster full node tests ( #10986 )
...
* Start fast full node tests
* Perf improvement on send_transaction
* Major performance improvement for mempool test
* Speed up another test
* Speed up mempool tests startup
* Lint
* Debug tests
* Try function scope for wallet_nodes
* Update comment
2022-04-04 13:49:33 -07:00
Arvid Norberg
fe77c69018
run_generator2 rust call and compact conditions data structure ( #8862 )
...
* use run_generator2 rust call and compact spend bundle conditions data structure pervasively.
* address review comments
2022-04-04 11:53:13 -07:00
dustinface
62de4a883c
streamable|pools: Fix Optional
parsing in dataclass_from_dict
( #10573 )
...
* Test more `Optional` parsing in `dataclass_from_dict`
* Fix optional parsing in `dataclass_from_dict`
* Fix pool wallet / tests
2022-04-04 11:50:59 -07:00
Mariano Sorgente
890c7d3754
Fix remaining linting issues ( #10962 )
...
* FIx remaining linting issues
* Revert type:ignore
* Revert token_bytes change
2022-04-02 13:22:55 -07:00
roseiliend
8b5c7012dc
force index in get_coin_records_by_names ( #10987 )
...
* force index in get_coin_records_by_names
* fix lint
2022-04-02 13:21:54 -07:00
Gene Hoffman
131bd4e2f3
install.sh is not upgrading OpenSSL on MacOS ( #11003 )
...
* MacOS isn't updating OpenSSL in install.sh
* Exit if no brew on MacOS
* Code the if tree like a pro instead.
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-04-01 21:22:56 -07:00
Gene Hoffman
e3e814b9ec
Compile python 3.9.11 which is aware of the openssl issue ( #11001 )
2022-04-01 21:06:32 -07:00
Gene Hoffman
3e2b979751
install/upgrade openssl on Arch Linux also ( #10999 )
2022-04-01 19:28:20 -07:00
Gene Hoffman
14627d8a6e
apt show not needed ( #10997 )
2022-04-01 18:01:30 -07:00
Gene Hoffman
8cbf96d73c
Non Hobo patch the winstaller for CVE-2022-0778 ( #10995 )
2022-04-01 16:31:00 -07:00
Gene Hoffman
58abb35114
Check for vulnerable openssl ( #10988 )
...
* Check for vulnerable openssl
* Update OpenSSL on MacOS
* First attempt - openssl Ubuntu 18.04 and 20.04
* place local/bin ahead in PATH
* specify install openssl
* correct path
* run ldconfig
* stop building and check for patched openssl
* spell sudo right by removing it
* Remove openssl building - 1st attempt RHs
* Test Windows OpenSSL version HT @AmineKhaldi
2022-04-01 13:20:29 -07:00
Arvid Norberg
647cf6b52b
fix performance tests ( #10983 )
2022-04-01 10:12:10 -04:00
Adam Kelly
441823f0da
normalized_to_identity_cc_ip from get_consecutive_blocks was being passed in as overflow_cc_challenge in get_full_block_and_block_record ( #10941 )
2022-03-31 23:05:30 -07:00
dependabot[bot]
fc1d52de6a
Bump peter-evans/create-pull-request from 3 to 4 ( #10950 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 23:04:48 -07:00
Arvid Norberg
8ca0633d9f
fix test_full_sync.py to only feed the blocks in the main chain to the node ( #10974 )
2022-03-31 23:03:59 -07:00
Mariano Sorgente
685744218e
Ms.flaky gen speed ( #10965 )
...
* Flaky test sometimes goes slower than 1 second
* Add sleep to reduce flakiness
* Increase timeout instead of sleeping to hopefully reduce flakiness
2022-03-31 23:03:22 -07:00
Arvid Norberg
a571c78899
limit test output on CI by dropping -s and -v. Also, only print the 10 slowest tests, instead of all ( #10959 )
2022-03-31 23:01:50 -07:00
Kyle Altendorf
e5ab4cd842
back to a single option for workflow parallel config ( #10979 )
2022-03-31 23:01:20 -07:00
Mariano Sorgente
a2490e0765
Fix the issues in main (failing tests) ( #10977 )
...
* Fix one of the issues in test_blockchain
* Only rollback after all async operations are finished
2022-03-31 14:27:01 -04:00
Arvid Norberg
8833cc351c
reorg fixes ( #10943 )
...
* when going through a reorg, maintain all chain state until the very end, when the new fork has been fully validated and added
* when rolling back the chain, also rollback the height-to-hash map
* add tests
2022-03-31 08:26:23 -07:00
Mariano Sorgente
908f186c1e
Also throw DB error on double spending a coin ( #10947 )
...
* Throw error on double spending a coin
* Throw error on double spending a coin
* Improve test
2022-03-31 08:25:57 -07:00
Arvid Norberg
6075027e6d
improve error message when a block is missing from the blockchain database ( #10958 )
...
* improve error message when a block is missing from the blockchain database
* Update chia/full_node/block_height_map.py
Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-03-31 08:24:37 -07:00
Arvid Norberg
bf15087c79
run more tests in parallel on CI ( #10960 )
...
* run more tests in parallel on CI
* fix test_farmer_get_harvesters to wait for plots to be loaded before asking about them
2022-03-31 08:23:59 -07:00
Mariano Sorgente
02bf8489d2
Ms.parallel pool t ( #10966 )
...
* Try parallel pool tests
* Also change workflow files
* Run less combinations
* Todo for bad test
* Try lower n
2022-03-31 08:23:34 -07:00
Arvid Norberg
40f2d42c73
bump timing threashold for mempool performance test ( #10953 )
2022-03-30 10:01:23 -07:00
Jeff
53d8e2c519
Quick fix for improper v2 DB initialization when targeting testnet ( #10952 )
2022-03-30 09:16:51 -07:00
Adam Kelly
c5426068aa
Consolidate test fixtures ( #10778 )
...
* Rename confusing fixtures, especially ones with the same name but different implementation
* revert premature fixture rename: two_wallet_nodes_start_height_1
* Consolidate test fixtures
2022-03-29 13:25:30 -07:00
Jeff
92897ffc39
Fix trailing bytes shown in CAT asset ID row when using chia wallet show
( #10924 )
...
* Truncate CAT asset_id output to 32 bytes. A wallet RPC change is needed
to properly separate out the asset ID from the TAIL program returned by
`get_all_wallet_info_entries()`
* Move the truncation to the assignment location
2022-03-29 13:24:55 -07:00
dependabot[bot]
817ebe7d6d
Bump actions/cache from 2.1.6 to 3 ( #10846 )
...
* Bump actions/cache from 2.1.6 to 3
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update actions in templates also
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2022-03-29 10:35:06 -07:00
dependabot[bot]
81c60993f6
Bump actions/setup-node from 2.4.1 to 3 ( #10506 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.4.1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 10:34:48 -07:00
dependabot[bot]
9a0d4775ae
Bump actions/github-script from 4 to 6 ( #10246 )
...
* Bump actions/github-script from 4 to 6
Bumps [actions/github-script](https://github.com/actions/github-script ) from 4 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update to github.rest.* for calls to API for compat w/ github-script@v5+
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2022-03-29 10:34:12 -07:00
Adam Kelly
aaba00c354
Add more type checks to CAT Wallet ( #10934 )
2022-03-29 10:30:46 -07:00
Adam Kelly
9005e4e595
Use uint128 for wallet balances ( #10936 )
2022-03-29 10:30:09 -07:00
Adam Kelly
62c9670999
Type check values in RL Wallet ( #10935 )
2022-03-29 10:29:41 -07:00
Amine Khaldi
94a4cb2e99
Contextualize some store test db names. ( #10942 )
2022-03-29 10:15:02 -07:00
Kyle Altendorf
94241078ef
ignore lack of hinting on clvm_tools.binutils.assemble() ( #10926 )
2022-03-28 19:50:53 -07:00
Kyle Altendorf
fb68bebfc3
fixup workflow template merge env duplication ( #10925 )
2022-03-28 19:50:42 -07:00