Commit Graph
14659 Commits
Author SHA1 Message Date
Matt Hauff a50118a1ec Add a puzzle driver for singletons 2022-04-28 10:14:06 -07:00
matt-o-howandGitHub a0f18b2106 Merge pull request #11197 from Chia-Network/offer_generalization
Offer and trade manager generalization
2022-04-28 17:31:18 +01:00
Chris MarslenderandGitHub acfdd75a20 Updated warning about CHIA_ROOT being set when running init (#11346)
* Remove warning about CHIA_ROOT being set when running init

* Update to still output the CHIA_ROOT if set, but not instruct the user to remove it

* Store chia_root in a var
2022-04-28 09:16:53 -07:00
Kyle AltendorfandGitHub 4070224da3 Use Install.ps1 in build_windows.ps1 (#11058)
* Use Install.ps1 in build_windows.ps1

* -d

* stop moving madmax and bladebit down into site-packages
2022-04-28 09:16:16 -07:00
9dc4e15905 Only Ubuntu 18 needs distutils (#11308)
Co-authored-by: wjblanke <wjb98672@gmail.com>
2022-04-28 09:15:31 -07:00
Sebastjan 87f9d405e5 forgot to compile clvm 2022-04-28 17:50:40 +02:00
Sebastjan dd43ef71ac removed second param for create_ann condition 2022-04-28 17:37:35 +02:00
matt 8363322558 add test for metadata updating 2022-04-28 16:32:57 +01:00
matt 6573ac7785 fix state layer for metadata updater 2022-04-28 16:15:26 +01:00
Chris MarslenderandGitHub f1b7eb0d2d Forward "proof" event to metrics (#11345) 2022-04-28 07:31:22 -07:00
matt-o-how 571e66749d metadata checkpoint 2022-04-28 14:23:54 +01:00
Florin ChiricaandGitHub 03c1fa365c Fix chia stop all. 2022-04-28 15:56:06 +03:00
Chris Marslenderandwallentx ec23a8b8ed Mark workspace safe for arm installers (#11339) 2022-04-28 03:22:19 -05:00
Chris Marslenderandwallentx 5b254884f6 Build installers on push to release branches (#11321) 2022-04-28 03:22:18 -05:00
ceaca43b35 Support for Python 3.10 (#9930)
* Support for Python 3.10

* Update install.sh to block Python 3.11

* websockets to 10.1

* Update workflows for Python 3.10

* single quote 3.10

* Enable fedora:35 (py3.10) installer script testing

* rebuild workflows

* fixup test-install-scripts.yml

* add ignore for distutils deprecation in tests for now

* asyncio.get_event_loop().run_until_complete() -> asyncio.run()

* aiohttp==3.8.1 for python 3.10 support

* use ssl.Purpose.CLIENT_AUTH for ssl_context_for_server()

* rebuild workflows

* use ssl_context_for_client() in BlockTools.get_daemon_ssl_context()

* create a client context for the RpcServer to connect to the daemon

* go back to asyncio.get_event_loop().run_until_complete() for now to recover 3.7

* ignore:There is no current event loop:DeprecationWarning

* Ms.plot load perf2 (#10978)

* 2.7 seconds -> 0.45 seconds

* Merge

* Work on create_plots refactor

* Try to fix tests

* Try to fix tests

* Use new functions

* Fix block_tools by adding dir

* Extra argument

* Try to fix cyclic import

* isort

* Drop warning

* Some cleanups around `exclude_final_dir` and directory adding

* Cleanup `min_mainnet_k_size` checks

* Drop unrelated changes

* Fixes after rebase

* Fix cyclic import

* Update tests/block_tools.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* Update tests/block_tools.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* remove 3.10 avoidance step from debian:bookworm installer testing

* add 3.10 to wheel availability check workflow

* add 3.10 to Install.ps1 supported Python versions for Windows

* add jammy jellyfish to the install script test matrix

* correct ubuntu:jammy job name

* add 22.04 with Python 3.10 to install.sh

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com>
Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-04-28 03:22:17 -05:00
Chris Marslenderandwallentx e0deccdfbf Upload CLI RPMS to s3, create checksums, etc (#11316) 2022-04-28 03:22:16 -05:00
Kyle Altendorfandwallentx 0b0b82cb8c also m1 and arm64 for wheel checks (#11277)
* also m1 and arm64 for wheel checks

* account for self-hosted and pre-setup-python of m1 and arm64 runners

* &&

* python3

* report python version

* use docker on arm64 to get multiple python versions

* flush

* report more system information

* except pycryptodome for now

* more variables, simpler logic

* corrections

* switch to [macos, arm64]

* add python version to job name

* separate os and arch matrix axes

* reorder matrixing

* drop workflow name from job name

* oops

* skip python setup in docker cases

* drop the containers

* Update check_dependency_artifacts.py
2022-04-28 03:22:15 -05:00
Chris Marslenderandwallentx 9dcc0221f7 Update names of installer workflows so they get grouped together in the workflow listing (#11310) 2022-04-28 03:22:14 -05:00
Chris Marslenderandwallentx 38be31b187 Fix targeting for arm64 to not land on native arm64 mac runners (#11309) 2022-04-28 03:22:13 -05:00
Kyle Altendorfandwallentx 74f3ecd3d8 simplify install.sh ubuntu version tracking (#11288)
* simplify install.sh ubuntu version tracking

* quotes for bash

* undo some unintended changes
2022-04-28 03:22:12 -05:00
Kyle Altendorfandwallentx eb92556546 Add Linux Mint to test matrix (#11295)
* add Linux Mint to test matrix

* : -> / for linux mint dockers

* Prepare Linux Mint

* stop testing linux mint 21 since it reports 20.3

* names, comment, and add 19.2

* mint

* manually install requests

* trailing whitespace
2022-04-28 03:22:11 -05:00
Earle Loweandwallentx 086de8d406 Update PyYAML to 6.0 for python 3.10 (#11273) 2022-04-28 03:22:10 -05:00
Earle Loweandwallentx 728bba0e1a Remove multidict from setup.py for python 3.10 (#11272)
* Testing multidict 6.0.2

* Stop specifying multidict directly
2022-04-28 03:22:09 -05:00
Earle Loweandwallentx b6370b2515 Update setproctitle to 1.2.3 for python 3.10 (#11274) 2022-04-28 03:22:08 -05:00
Kyle Altendorfandwallentx 9f6f5f6090 Debian bookworm now uses 3.10, update the comment (#11278) 2022-04-28 03:22:07 -05:00
Kyle Altendorfandwallentx 4d6dd2f29e check dependency artifacts (#11243)
* check dependency artifacts

* remove commented out code

* find root path relative to script

* fixup stringy pathy mixup

* Update check_dependency_artifacts.py
2022-04-28 03:21:50 -05:00
dustinfaceandwallentx 398d3672d7 harvester: Use a set instead of a list to speed up availability checks (#11204) 2022-04-28 03:21:17 -05:00
Kyle Altendorf 2d9b77ad8f Merge branch 'main_dids' into main_dids-merge_main_ad3259e8fde75f1f0663c73a46171d599d051824 2022-04-27 19:42:33 -04:00
Kyle Altendorf 521b1ef25d Merge branch 'main' into main_dids-merge_main_3abcbf1dfa6cfcd5f9f5b47285e8bd5afe35f839 2022-04-27 19:35:44 -04:00
Chris MarslenderandGitHub ad3259e8fd Mark workspace safe for arm installers (#11339) 2022-04-27 16:10:41 -07:00
Jeff Cruikshank 1d1e01fd2b Bumping GUI to 447ac34942facbd1db64755144363268539ecf25 2022-04-27 15:12:03 -07:00
Kyle AltendorfandGitHub 58e231e929 add daemon entry point (#11329)
* add daemon entry point

* remove argv parameter from chia.daemon.server.main()
2022-04-27 14:28:13 -07:00
42f2e0719d Pass Recovery Info in the Transfer case (#11249)
* Chialisp draft

* Modify python code

* Reformat & Fix tests

* Chialisp draft

* Modify python code

* Bug fix & flake8 fix for NFT tests

* Handle recovery

* Chialisp draft

* Modify python code

* Reformat & Fix tests

* Chialisp draft

* Modify python code

* Bug fix & flake8 fix for NFT tests

* add clvm files to recomp list

* fix rpc test

* flake8 fixes for tests

* flake 8 stupid fix

* Bug fix & flake8 fix for NFT tests

* Modify python code

* Chialisp draft

* Modify python code

* Bug fix & flake8 fix for NFT tests

* Generalize the message puzzle

* Add Pubkey as hint

* Receive DID

* Add DID APIs & Tests

* Fix tests

* Test fixes. in_transaction is now passed as a param to the various callers that eventually call save_info.

* Workflow Fix

* Add test config for DID/NFT

* Update workflow test yaml

* Fix install test script

* Fix typo

* Resolve comments

* Fix tests

* Change did_innerpuz and fix wallets for new design (#11196)

* correcting the design of did_innerpuz and related wallet changes

* remove breakpoint comments

* change decimal point accuracy of percentage system

* secure new_amount by fixing it to our current amount

* rename and update comments for new_amount - now my_amount

* rename P2_PUZZLE to simply INNER_PUZZLE

* fix variable re-declaration for flake/merge

* black and flake8 - inclduing wallet_state_manager bug fix

* update RPCs related to add_url
added commented out tests too, but DID needs fixing first

* Fix bugs in transfer case

* Fix pre-commit

* Fix install.sh test for bookworm

* Pass recovery info in the transfer case

* add clvm files to recomp list

* flake8 fixes for tests

* flake 8 stupid fix

* Modify python code

* Bug fix & flake8 fix for NFT tests

* Pass recovery info in the transfer case

* Fix tests

* Fix security issue of the recovery empty list

* Revert test code

* Allow assign fee when creating the wallet

* reformat

* Add option for pass recovery list

* DID wallet name generation & deduplication

* Fix test

* Remove file reading code

* Fix tests

Co-authored-by: matt <matt@chia.net>
Co-authored-by: Jeff Cruikshank <jeff@chia.net>
Co-authored-by: matt-o-how <48453825+matt-o-how@users.noreply.github.com>
Co-authored-by: ytx1991 <t.yu@chia.net>
2022-04-27 14:16:48 -07:00
Mariano SorgenteandGitHub 23158c656e Fix issue with missing coins (#11338)
* raise error when request fails

* Gather when cancelling sync

* Increase timeout

* Increase timeout even more
2022-04-27 14:07:41 -07:00
Kyle AltendorfandGitHub 083c60906d Merge pull request #11335 from Chia-Network/cherry_pick_linux_arm64_tagging 2022-04-27 13:57:32 -07:00
Kyle Altendorf 4d159d9f1b get blocks and plots for data layer wallet workflow 2022-04-27 15:19:52 -04:00
Kyle Altendorf 529f89cb05 add new clvm files to expected list 2022-04-27 14:49:24 -04:00
Arvid NorbergandGitHub 79034bb82e improve generate_chain (#11242)
* improve generate_chain to have proper command line options. Make it include block references by default.

* fix shell linter
2022-04-27 11:43:33 -07:00
Kyle Altendorf 55eb7f75c0 expect ValueError from running an offer instead of EvalError 2022-04-27 14:42:12 -04:00
Kyle AltendorfandGitHub a813e5906c Match plurality between macOS and Ubuntu test job names (#11317)
* Match plurality between macOS and Ubuntu test job names

With this, searching for `test /` will match both groups of jobs.

* rebuild workflows
2022-04-27 11:40:31 -07:00
Mariano SorgenteandGitHub 7630d220f5 Optimize BLS verification when public key is repeated (#11318)
* Optimize BLS verification when public key is repeated

* Fix accidental commit

* Lint

* Fix isort

* Address comments
2022-04-27 11:38:48 -07:00
Kyle AltendorfandGitHub 28d9dbfd3a More general Ubuntu references in install.sh (#11325)
* More general Ubuntu references in install.sh

* oops
2022-04-27 11:37:21 -07:00
William Blanke 6268722992 updated gui to 4fc7fe11cc668277aa0d4c68e1f8a48765db9241 2022-04-27 11:18:40 -07:00
Chris MarslenderandKyle Altendorf 4cf858a30d Fix install.sh test for bookworm (#11227) 2022-04-27 14:01:23 -04:00
Kyle Altendorf de0d933b42 rebuild workflows 2022-04-27 13:13:22 -04:00
Chris MarslenderandKyle Altendorf 3c4983b57f Mark the github workspace as safe (#11159)
* Mark the github workspace as safe

* Move the git config step after git is installed in the test containers
2022-04-27 12:16:42 -04:00
Kyle Altendorf 28eaf46b3e Merge branch 'main' into main_dids-merge_cleanup_test 2022-04-27 12:11:15 -04:00
Chris MarslenderandKyle Altendorf 782ec7405d Fix targeting for arm64 to not land on native arm64 mac runners (#11309) 2022-04-27 11:58:57 -04:00
Kyle Altendorf 8df95fc74b Merge commit 'd154105a6b35f94649f15bca4e3fb8a11a39e70e' into main_dids 2022-04-27 11:02:44 -04:00
Kyle Altendorf 035d38bbd0 Merge commit '9ff3fc993f69b5c59ecf14470284a5b9e799e6cf' into main_dids 2022-04-27 11:01:27 -04:00