Commit Graph

16 Commits

Author SHA1 Message Date
matt 5dfdbe084b remove trailing apostrophe from file name 2021-05-17 19:37:14 +01:00
matt 130ca3b257 fix filepaths in test_clvm_compilation 2021-05-17 18:22:08 +01:00
matt 3546b38aee update and add sha256trees for singleton puzzles 2021-05-17 18:12:49 +01:00
Adam Kelly bc5efbbee9 Test passing multiple arguments as arguments to block generators 2021-04-20 17:07:36 -07:00
Richard Kiss 44ba53550d Rewrite "ROM" in clvm, including deserialization. 2021-04-18 16:02:53 -07:00
Adam Kelly 82876587ca Generator Block Decompression 2021-04-14 20:03:37 -07:00
matt-o-how 5e1bf6d5f3
Merge DID into main (#1720)
* rebase DID off main

* fix indentation and imports

* lint fixes

* fix test_compilation paths for new puzzles

* added _init__.py for did_wallet

* mypy typing fixes

* included did_wallet in setup.py module list

* stored pubkey & puzhash so that recovery_spend can choose not take them

* black missing comma
2021-04-06 19:31:44 -07:00
Richard Kiss 569ca16f50 Use `sed` to change imports from `src` to `chia`. 2021-04-04 21:41:39 -07:00
Richard Kiss 8a3e00548a Rename `src` to `chia`. 2021-04-04 21:41:39 -07:00
Adam Kelly e50d14b0a9
Generator reference (#1209)
* added chialisp deserialisation puzzle

* Update clvm-deserialization-in-chialisp. Add test

* added new test_chialisp_deserialisation tests

* fix tests

* Reduce accepted atom size to 1MB during ChiaLisp native deserialization

* add lower_level generator
updates to python_lowerlevel

* add black formatting to lowerlevel

* fix puzzles references

* lowlevel generator improvement
lint fixes

* chialisp.py remove git ditritus

* pass the second arg to the block_program in low level generator

* use slightly more optimised string for lower level generator

* Restore cc.clvm to f79152d1ab

* Adjust compilation sanity checks - remove generator.clvm, add chialisp_deserialisation.clvm

* Update tests for building clvm assembly from python

* Adjust sha256tree commitments for puzzles

* black formatting for lint

* add #noqas to long hexstrings

Co-authored-by: matt <matt@chia.net>
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-03-10 13:24:17 -08:00
Gene Hoffman b5ce8c9e66
Isort take 3 (#1213)
* isort in a black friendly way

* isort but debug superlinter later
2021-03-09 18:27:27 -08:00
Richard Kiss f79152d1ab
Bump clvm and replace `((c P A))` with `(a P A)`. Add some cc fixes prior to audit. (#1133)
* Bump clvm versions and replace `((c P A))` with `(a P A)`. Again.

* Modernize some clvm.

* Fix some comments and naming in `cc.clvm`.

* Prohibit `CREATE_ANNOUNCEMENT` in inner puzzle.

* fix cc.clvm

initial commit for innerpuz announcement test

Co-authored-by: matt <matt@chia.net>
2021-03-03 14:12:04 -08:00
Richard Kiss a8a7af9ebc Revert "Bump clvm versions and replace `((c P A))` with `(a P A)`."
This reverts commit d0a08d2a93.
2021-03-01 17:14:13 -08:00
Richard Kiss d0a08d2a93 Bump clvm versions and replace `((c P A))` with `(a P A)`. 2021-03-01 12:12:48 -08:00
Gene Hoffman a6f6211206 black format 2021-02-25 01:16:08 -08:00
Adam Kelly 30863d4668
Test clvm compilation (#1042)
* Add checks for blockchain program generation
This is written in a verbose style for better error messages.
Note that src/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.clvm is temporarily moved aside, until it compiles to our intended bytecode.

* Remove CI clvm compilation check in favor of pytest check

* improve test failure message

* Enable clvm tests

* Formatting

Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-02-24 23:48:39 -08:00