4015550f55 
								
							 
						 
						
							
							
								
								start testing the first stage of currying builtins  
							
							
							
						 
						
							2023-12-15 21:58:02 -05:00  
				
					
						
							
							
								 
						
							
								249581e1bc 
								
							 
						 
						
							
							
								
								chore: continuing progress on implementing currying optimization for builtins  
							
							... 
							
							
							
							Introduced some new abstractions to make a different number of args easier to deal with 
							
						 
						
							2023-12-15 21:58:02 -05:00  
				
					
						
							
							
								 
						
							
								8fdedb754e 
								
							 
						 
						
							
							
								
								chore: continue more on curry optimizations  
							
							
							
						 
						
							2023-12-15 21:58:02 -05:00  
				
					
						
							
							
								 
						
							
								88e21449c5 
								
							 
						 
						
							
							
								
								chore: comment fixes  
							
							
							
						 
						
							2023-12-15 21:58:02 -05:00  
				
					
						
							
							
								 
						
							
								5c688b1404 
								
							 
						 
						
							
							
								
								Feat: refactor optimizations to use tree traversal algorithm  
							
							... 
							
							
							
							This makes each optimization a single function that acts on an existing tree traversal function 
							
						 
						
							2023-12-15 21:58:02 -05:00  
				
					
						
							
							
								 
						
							
								b25e82ed36 
								
							 
						 
						
							
							
								
								Handle errors and format  
							
							
							
						 
						
							2023-12-08 12:19:22 -05:00  
				
					
						
							
							
								 
						
							
								772e73ae48 
								
							 
						 
						
							
							
								
								Fix parsing of hex encoded escaped bytes  
							
							
							
						 
						
							2023-12-08 12:19:22 -05:00  
				
					
						
							
							
								 
						
							
								3ac35f4e00 
								
							 
						 
						
							
							
								
								Make sure that new issue is covered by testcase  
							
							
							
						 
						
							2023-12-08 12:19:22 -05:00  
				
					
						
							
							
								 
						
							
								d0bc782f75 
								
							 
						 
						
							
							
								
								Fix pretty prenting of strings in complex data structures  
							
							
							
						 
						
							2023-12-08 12:19:22 -05:00  
				
					
						
							
							
								 
						
							
								2647e4aae6 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-12-04 22:14:03 -05:00  
				
					
						
							
							
								 
						
							
								0a1e0d7bee 
								
							 
						 
						
							
							
								
								feat: remove flat-rs crate and use it through pallas_codec  
							
							
							
						 
						
							2023-12-04 22:01:51 -05:00  
				
					
						
							
							
								 
						
							
								b17b7f287c 
								
							 
						 
						
							
							
								
								chore: update to pallas v0.20.0  
							
							
							
						 
						
							2023-12-04 21:44:19 -05:00  
				
					
						
							
							
								 
						
							
								1567e42875 
								
							 
						 
						
							
							
								
								chore: fill in machine todos and cost model for case and constr  
							
							... 
							
							
							
							This allows for several more tests to pass
**Had to remove case-7 since it was incorrectly passing before** 
							
						 
						
							2023-11-17 19:52:03 -05:00  
				
					
						
							
							
								 
						
							
								0382e5ce12 
								
							 
						 
						
							
							
								
								chore: this comment doesn't make sense  
							
							
							
						 
						
							2023-11-17 18:41:28 -05:00  
				
					
						
							
							
								 
						
							
								df992cba67 
								
							 
						 
						
							
							
								
								chore: remove check_type  
							
							
							
						 
						
							2023-11-17 13:58:13 -05:00  
				
					
						
							
							
								 
						
							
								9ab458dcc6 
								
							 
						 
						
							
							
								
								feat: delay typemismatch errors in the machine runtime  
							
							... 
							
							
							
							to pass 2 of the conformance tests, we need to make sure
that we aren't typechecking builtin arguments as arguments
are applied. This switches push to by removing the call to check_type
and then reworking all the associated unwrap methods on Value
so that they return the same errors that were being returned before. 
							
						 
						
							2023-11-17 13:58:13 -05:00  
				
					
						
							
							
								 
						
							
								ed909055b5 
								
							 
						 
						
							
							
								
								chore: temp remove conformance tests that are failing  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								308fb47e40 
								
							 
						 
						
							
							
								
								fix: don't panic on invalid hex strings  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								dfa0378404 
								
							 
						 
						
							
							
								
								chore: explain a todo in the machine  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								3f8f624a7b 
								
							 
						 
						
							
							
								
								fix(uplc): more whitespace characters  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								58d98b3325 
								
							 
						 
						
							
							
								
								fix(uplc): parser should accept single quote in var name and comments  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								b6f6064aaf 
								
							 
						 
						
							
							
								
								test: add all plutus conformance tests  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								8b89ba3b93 
								
							 
						 
						
							
							
								
								feat: implement bls primitives in code gen  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								d51374aac1 
								
							 
						 
						
							
							
								
								feat: add conversion to data and from data for new primitive types  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								90aea6476a 
								
							 
						 
						
							
							
								
								feat: uplc g1 and g2 literal parsing  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								6ce85e1662 
								
							 
						 
						
							
							
								
								fix: add keccak to TryFrom<u8>  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								49ae8152f8 
								
							 
						 
						
							
							
								
								feat(bls): add new aiken level builtins  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								cdcd8172e6 
								
							 
						 
						
							
							
								
								feat(bls): pretty print mlresult type  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								318ae6aad4 
								
							 
						 
						
							
							
								
								feat(bls): finish cost model  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								5243c36ed6 
								
							 
						 
						
							
							
								
								feat(bls): add default costs for the new functions  
							
							
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								18db1c394a 
								
							 
						 
						
							
							
								
								feat: Implemented builtin semantic versioning  
							
							... 
							
							
							
							feat: impl flat serialization and deserialization for bls constants
feat: started on cost models for the new builtins
Co-authored-by: rvcas <x@rvcas.dev> 
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								f101581813 
								
							 
						 
						
							
							
								
								feat(bls): pretty printing for g1 and g1 element  
							
							... 
							
							
							
							Co-authored-by: Kasey White <kwhitemsg@gmail.com> 
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								0d2ac952d0 
								
							 
						 
						
							
							
								
								feat: implemented the Bls381-12 builtins and types  
							
							... 
							
							
							
							also implemented Keccak256 and Blake2b_224
TODO: cost model, flat serialization, pretty
Co-authored-by: rvcas <x@rvcas.dev> 
							
						 
						
							2023-11-15 15:55:56 -05:00  
				
					
						
							
							
								 
						
							
								7427bac4a0 
								
							 
						 
						
							
							
								
								chore: remove unused code  
							
							
							
						 
						
							2023-11-06 15:37:04 -05:00  
				
					
						
							
							
								 
						
							
								598ec5eaef 
								
							 
						 
						
							
							
								
								Use a better algorithm for inlining single occurrences  
							
							
							
						 
						
							2023-11-06 15:37:04 -05:00  
				
					
						
							
							
								 
						
							
								49bd4ba33d 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-10-25 19:00:03 -04:00  
				
					
						
							
							
								 
						
							
								4dd17dacf3 
								
							 
						 
						
							
							
								
								chore: rename uplc builder builtins  
							
							
							
						 
						
							2023-10-22 17:08:48 -04:00  
				
					
						
							
							
								 
						
							
								3e283a59ec 
								
							 
						 
						
							
							
								
								Split off builtin function builders  
							
							... 
							
							
							
							- sort alphabetically
- add some of the missing builtins used for ints
- comment on what is "correct" for future additions
- comment on the current remaining missing builtins
- comment on the current incoherent method names 
							
						 
						
							2023-10-22 17:08:48 -04:00  
				
					
						
							
							
								 
						
							
								17832fc5af 
								
							 
						 
						
							
							
								
								Fix clippy warnings: remove redundant closures & guards.  
							
							
							
						 
						
							2023-10-21 21:27:31 +02:00  
				
					
						
							
							
								 
						
							
								596ce49327 
								
							 
						 
						
							
							
								
								fix: mixed up operators for ConstAboveDiagonal and ConstBelowDiagonal  
							
							... 
							
							
							
							Closes  #618  
						
							2023-10-13 11:40:07 -04:00  
				
					
						
							
							
								 
						
							
								8964675670 
								
							 
						 
						
							
							
								
								feat: Add tracing for common multivalidator issues  
							
							
							
						 
						
							2023-10-07 19:42:24 -04:00  
				
					
						
							
							
								 
						
							
								9335522df4 
								
							 
						 
						
							
							
								
								Make change @ktorz suggested  
							
							
							
						 
						
							2023-10-07 19:42:24 -04:00  
				
					
						
							
							
								 
						
							
								98cb01413b 
								
							 
						 
						
							
							
								
								chore: prevent strings from being inlined and replicated  
							
							
							
						 
						
							2023-10-07 19:42:24 -04:00  
				
					
						
							
							
								 
						
							
								fb6cbbec8b 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-09-29 22:08:09 -04:00  
				
					
						
							
							
								 
						
							
								82ceb5b696 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-09-29 19:39:28 -04:00  
				
					
						
							
							
								 
						
							
								fb2ca0e3e0 
								
							 
						 
						
							
							
								
								inline is actually cheaper in a lot of cases  
							
							
							
						 
						
							2023-09-29 17:47:39 -04:00  
				
					
						
							
							
								 
						
							
								a2068ff062 
								
							 
						 
						
							
							
								
								fix: optmizer should never inline recursive functions  
							
							... 
							
							
							
							chore: some renames 
							
						 
						
							2023-09-29 17:47:39 -04:00  
				
					
						
							
							
								 
						
							
								335560b81f 
								
							 
						 
						
							
							
								
								Add placeholders for new terms in optimize  
							
							... 
							
							
							
							Update tests to check optimization is applied properly 
							
						 
						
							2023-09-29 17:47:39 -04:00  
				
					
						
							
							
								 
						
							
								5e2a78173b 
								
							 
						 
						
							
							
								
								optimization: increase the cases that inline_basic_reduce can handle  
							
							
							
						 
						
							2023-09-29 17:47:39 -04:00  
				
					
						
							
							
								 
						
							
								47596f0324 
								
							 
						 
						
							
							
								
								feat: Remove tuple_index and record_access in favor of faster more direct functions for  
							
							... 
							
							
							
							accessing an item in a tuple or a field in a record 
							
						 
						
							2023-09-28 01:05:05 -04:00  
				
					
						
							
							
								 
						
							
								ee4001d2c8 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-09-20 18:03:46 +02:00  
				
					
						
							
							
								 
						
							
								9782c094b7 
								
							 
						 
						
							
							
								
								Fix clippy suggestions.  
							
							
							
						 
						
							2023-09-08 16:21:07 +02:00  
				
					
						
							
							
								 
						
							
								819a0a20e6 
								
							 
						 
						
							
							
								
								add tests for case and constr  
							
							... 
							
							
							
							Fix a minor issue with decoding order 
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								c9b01ab365 
								
							 
						 
						
							
							
								
								chore: fill in cost model  
							
							... 
							
							
							
							test: Add case and constr eval tests 
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								85901dc141 
								
							 
						 
						
							
							
								
								chore: update cost model with placeholders for new terms to pass tests  
							
							
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								40e1d39f8b 
								
							 
						 
						
							
							
								
								Add placeholders for cost model  
							
							
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								33d6d3049e 
								
							 
						 
						
							
							
								
								add compute for the new terms constr and case  
							
							
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								e566c4e1de 
								
							 
						 
						
							
							
								
								feat(uplc): add Case and Const terms  
							
							... 
							
							
							
							- parsering
- interning
- flat encoding and decoding
- pretty printing
- debruijn conversion
Co-authored-by: Lucas Rosa <x@rvcas.dev> 
							
						 
						
							2023-09-03 11:52:49 -04:00  
				
					
						
							
							
								 
						
							
								fb967d4c7b 
								
							 
						 
						
							
							
								
								fix: uplc formatter of Data  closes   #716  
							
							
							
						 
						
							2023-08-31 17:20:48 -04:00  
				
					
						
							
							
								 
						
							
								cd3a02416f 
								
							 
						 
						
							
							
								
								chore: rm unused pub function  
							
							
							
						 
						
							2023-08-29 22:30:06 -04:00  
				
					
						
							
							
								 
						
							
								756e16c14b 
								
							 
						 
						
							
							
								
								fix: rename assert to expect  
							
							
							
						 
						
							2023-08-29 22:30:06 -04:00  
				
					
						
							
							
								 
						
							
								b075d85b40 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-08-24 15:05:12 -06:00  
				
					
						
							
							
								 
						
							
								a7062ccb88 
								
							 
						 
						
							
							
								
								chore: fix versions  
							
							
							
						 
						
							2023-08-24 15:04:19 -06:00  
				
					
						
							
							
								 
						
							
								747e057d05 
								
							 
						 
						
							
							
								
								fix: tags  
							
							
							
						 
						
							2023-08-24 15:00:09 -06:00  
				
					
						
							
							
								 
						
							
								2f0211a7b1 
								
							 
						 
						
							
							
								
								Bump all version manually because cargo workspaces didn't work.  
							
							
							
						 
						
							2023-08-22 13:27:10 +02:00  
				
					
						
							
							
								 
						
							
								89c55a23fa 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-08-19 20:17:00 -04:00  
				
					
						
							
							
								 
						
							
								051e9a6851 
								
							 
						 
						
							
							
								
								Add some utility functions for displaying Term/PlutusData  
							
							... 
							
							
							
							This is useful with the blueprint stuff, where Term are often just plain PlutusData. 
							
						 
						
							2023-08-19 13:39:39 -04:00  
				
					
						
							
							
								 
						
							
								690e41261e 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-08-16 23:30:21 -04:00  
				
					
						
							
							
								 
						
							
								2600937447 
								
							 
						 
						
							
							
								
								chore: cargo fmt  
							
							
							
						 
						
							2023-08-16 22:56:22 -04:00  
				
					
						
							
							
								 
						
							
								649039c993 
								
							 
						 
						
							
							
								
								tx simulate still need fee work  
							
							
							
						 
						
							2023-08-16 22:37:00 -04:00  
				
					
						
							
							
								 
						
							
								050c41c8dc 
								
							 
						 
						
							
							
								
								tx simulate returns a vector of exbudgets now  
							
							
							
						 
						
							2023-08-16 22:37:00 -04:00  
				
					
						
							
							
								 
						
							
								4a1ae9f412 
								
							 
						 
						
							
							
								
								set eval to public  
							
							
							
						 
						
							2023-08-12 16:42:23 -04:00  
				
					
						
							
							
								 
						
							
								ca4a9fcd3d 
								
							 
						 
						
							
							
								
								chore: make eval function and SlotConfig public  
							
							
							
						 
						
							2023-08-11 20:33:08 -04:00  
				
					
						
							
							
								 
						
							
								8af253e1df 
								
							 
						 
						
							
							
								
								chore: make slot_to_begin_posix_time a public function  
							
							
							
						 
						
							2023-08-11 20:05:22 -04:00  
				
					
						
							
							
								 
						
							
								f464eb3702 
								
							 
						 
						
							
							
								
								Cargo fmt + clippy, with latest rust  
							
							
							
						 
						
							2023-08-07 19:00:39 -04:00  
				
					
						
							
							
								 
						
							
								36c80f36c1 
								
							 
						 
						
							
							
								
								fix tests  
							
							
							
						 
						
							2023-08-07 12:02:44 -04:00  
				
					
						
							
							
								 
						
							
								f5c7d222aa 
								
							 
						 
						
							
							
								
								optmization fix  
							
							
							
						 
						
							2023-08-07 12:02:44 -04:00  
				
					
						
							
							
								 
						
							
								960a15c4ec 
								
							 
						 
						
							
							
								
								checkpoint - fixing tests and stuff  
							
							
							
						 
						
							2023-08-07 12:02:44 -04:00  
				
					
						
							
							
								 
						
							
								6eeb282dee 
								
							 
						 
						
							
							
								
								Now code gen is finished and we just have testing  
							
							
							
						 
						
							2023-08-07 12:02:44 -04:00  
				
					
						
							
							
								 
						
							
								be7a441205 
								
							 
						 
						
							
							
								
								fix(uplc): pair type formatting  closes   #680  
							
							
							
						 
						
							2023-07-19 13:49:05 -04:00  
				
					
						
							
							
								 
						
							
								97acd6d7bd 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-07-15 21:37:10 -04:00  
				
					
						
							
							
								 
						
							
								621017bd93 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-07-14 10:55:13 -04:00  
				
					
						
							
							
								 
						
							
								723c347a1a 
								
							 
						 
						
							
							
								
								Clippy  
							
							... 
							
							
							
							Clippy has a build failure locally, for some reason, so I have to use CICD to find these 
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								189150612c 
								
							 
						 
						
							
							
								
								cargo fmt :|  
							
							
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								26a4c57805 
								
							 
						 
						
							
							
								
								Clippy cleanup  
							
							
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								c4690c6e00 
								
							 
						 
						
							
							
								
								Data parsing, tests  
							
							
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								6d9a95ef2d 
								
							 
						 
						
							
							
								
								Add all but data parsing  
							
							... 
							
							
							
							Updates the parsing to the standard, *except* for Data, since that'll be more involved 
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								a48c45b737 
								
							 
						 
						
							
							
								
								Formatting  
							
							
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								ecff82659d 
								
							 
						 
						
							
							
								
								Tweak pretty-printing  
							
							... 
							
							
							
							This pretty printing now (mostly) matches https://github.com/input-output-hk/plutus/issues/4751#issuecomment-1538377273 ; the only concern is whether the PlutusData stuff should be upstreamed to pallas, and whether pallas has a way to print BigInts easier 
							
						 
						
							2023-07-09 23:16:01 -04:00  
				
					
						
							
							
								 
						
							
								2a747305f7 
								
							 
						 
						
							
							
								
								Fixes evaluation of large positive bigint in the UPLC machine  
							
							... 
							
							
							
							Fixes  #511 . 
						
							2023-07-05 18:52:14 +02:00  
				
					
						
							
							
								 
						
							
								8a7df7f66b 
								
							 
						 
						
							
							
								
								test: add empty list test  
							
							
							
						 
						
							2023-07-04 17:19:29 -04:00  
				
					
						
							
							
								 
						
							
								42544af799 
								
							 
						 
						
							
							
								
								fix: safe encode bits to check for 2^num_bits <= byte we are encoding  
							
							... 
							
							
							
							fix: I thought namedDeBruijn takes advantage of Binder for encoding and decoding.
It does not...
fix: Debruijn was being converted to NamedDeBruijn incorrectly 
							
						 
						
							2023-06-30 23:06:38 -04:00  
				
					
						
							
							
								 
						
							
								90ff211205 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-06-23 19:41:14 -04:00  
				
					
						
							
							
								 
						
							
								93135cebbb 
								
							 
						 
						
							
							
								
								fix: redeemers in the script context are sorted by redeemer ptr not data hash  
							
							
							
						 
						
							2023-06-16 12:24:44 -04:00  
				
					
						
							
							
								 
						
							
								85d82e5aec 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-06-13 21:24:41 -04:00  
				
					
						
							
							
								 
						
							
								379c2fe2bf 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-06-13 20:32:22 -04:00  
				
					
						
							
							
								 
						
							
								a5245fdc6b 
								
							 
						 
						
							
							
								
								chore: couple more identity tests in optimize step  
							
							
							
						 
						
							2023-06-10 00:01:54 -04:00  
				
					
						
							
							
								 
						
							
								c5af6e0be3 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-06-08 19:34:51 -04:00  
				
					
						
							
							
								 
						
							
								8d107b1293 
								
							 
						 
						
							
							
								
								fix(build): --uplc must use Program<Name> to pretty print  
							
							
							
						 
						
							2023-06-07 16:25:59 -04:00  
				
					
						
							
							
								 
						
							
								cb9a140601 
								
							 
						 
						
							
							
								
								chore: Release  
							
							
							
						 
						
							2023-06-02 00:34:07 -04:00