Commit Graph

19307 Commits

Author SHA1 Message Date
Jude Nelson
09afa45ff1 Merge branch 'develop' into trait-arg-check 2023-01-31 18:47:13 +00:00
Aaron Blankstein
44ac57b4d1 Merge pull request #3543 from stacks-network/fix/3541-non-recursing-parse
2.1: Eliminate recursion in `parse_list` and `parse_tuple`
2023-01-31 12:28:26 -06:00
Aaron Blankstein
63eab619e6 refactor: add fallible peek_last_token() 2023-01-31 09:37:45 -06:00
Brice Dobry
70d72a9922 feat: canonicalize all types in ContractAnalysis
For future compatibility, canonicalize all types in the
`ContractAnalysis` structure, not just the outward facing ones.
2023-01-30 21:35:03 -05:00
Aaron Blankstein
ee72c0f5b6 Merge branch 'fix/3541-non-recursing-parse' of github.com:blockstack/stacks-blockchain into fix/3541-non-recursing-parse 2023-01-30 16:33:13 -06:00
Aaron Blankstein
523e2d4ef4 ci: do not fail ci if codecov upload fails 2023-01-30 16:33:04 -06:00
Aaron Blankstein
2baa69340b chore: fix typo in rustdoc
Co-authored-by: Brice Dobry <brice@hiro.so>
2023-01-30 14:15:48 -06:00
Aaron Blankstein
b7f5f50a2f chore: add more detail to comments 2023-01-30 12:52:12 -06:00
Aaron Blankstein
f16c48286a fix: #3541 by eliminating recursion in parse_list + parse_tuple 2023-01-30 12:37:56 -06:00
Brice Dobry
b1343ea550 refactor: delete AnalysisDatabase::get_map_type
This method should not be used anywhere (and it is not), so let's delete
it!
2023-01-26 16:50:26 -05:00
Brice Dobry
be86fa7f86 chore: add comments and clean up code 2023-01-25 17:46:06 -05:00
Brice Dobry
2d7c8a4355 Merge branch 'develop' into trait-arg-check 2023-01-25 15:58:04 -05:00
Aaron Blankstein
857ab1c773 use unwraps in test 2023-01-25 14:53:13 -06:00
Brice Dobry
dcf783cf6e test: more testing of traits across epochs 2023-01-25 15:30:42 -05:00
Aaron Blankstein
4295c62e27 test: add another clarity_vm::test::contracts test for stored principals 2023-01-25 14:16:20 -06:00
pavitthrap
5ac386c048 Merge pull request #3523 from stacks-network/fix/remove-idea
fix: Remove `.idea` directory which was added by mistake, add to .gitignore
2023-01-25 14:47:42 -05:00
Brice Dobry
4b545b02fb fix: trait passed from Clarity2 into Clarity1 contract
Since Clarity2 can call a Clarity1 contract, the `execute_apply` method
needs to handle the Clarity2 style values, `CallableContract` in
addition to the Clarity1 style, `Principal`.
2023-01-25 10:12:01 -05:00
Aaron Blankstein
6f9cf5e588 test: add unit test for trait_invocation_cross_epoch 2023-01-25 09:08:12 -06:00
Aaron Blankstein
628dbd332a test: add trait_invocation_cross_epoch to testing matrix 2023-01-25 07:41:12 -06:00
Brice Dobry
255513141f test: add canonicalization unit tests 2023-01-25 01:15:52 -05:00
Brice Dobry
787f6497b1 fix: fix error in ContractAnalysis canonicalization 2023-01-24 21:29:45 -05:00
Gregory Coppola
448b6df7b8 Merge branch 'develop' into fix/remove-idea 2023-01-24 18:27:12 -05:00
Aaron Blankstein
31d79ad122 test: add assertions to epoch_21::trait_invocation_cross_epoch 2023-01-24 16:06:19 -06:00
Aaron Blankstein
9fae1cfa20 test: add integration test work-in-progress 2023-01-24 15:50:17 -06:00
pavitthrap
1cc9ec675e Merge pull request #3503 from stacks-network/feat/synthetic-print-delegate-stx
Feat/synthetic print delegate stx
2023-01-24 11:11:20 -05:00
Greg
5c9c72a9db 1) remove .idea directory, added by mistake, 2) add .idea to .gitignore 2023-01-24 09:19:11 -05:00
Brice Dobry
44fee0b31f fix: canonicalize types from ClarityDatabase 2023-01-24 08:08:55 -05:00
Brice Dobry
3e70b9f974 fix: canonicalize types when reading from analysis DB
See: #3519
2023-01-24 08:08:55 -05:00
Brice Dobry
3d1a834116 fix: canonicalize types when checking contract-call 2023-01-24 08:08:55 -05:00
pavitthrap
149ae7f379 Merge branch 'develop' into feat/synthetic-print-delegate-stx 2023-01-23 15:27:23 -05:00
Jude Nelson
d89fbb2a37 Merge pull request #3492 from stacks-network/feat/2.1.0.0.0-rc2
Feat/2.1.0.0.0 rc2
2023-01-21 04:54:42 +00:00
Sergey Shandar
e568d94c17 Merge pull request #3516 from stacks-network/sergey/feat/2.1.0.0.0-rc2
minor changes in `feat/2.1.0.0.0-rc2`
2023-01-20 14:07:48 -08:00
Jude Nelson
29e0e6a5bc Merge branch 'feat/2.1.0.0.0-rc2' of https://github.com/stacks-network/stacks-blockchain into feat/2.1.0.0.0-rc2 2023-01-20 16:19:42 -05:00
Jude Nelson
65dd1e6abe fix: consolidate affirmation maps in a single method 2023-01-20 16:18:04 -05:00
Jude Nelson
fafed1d824 Merge branch 'develop' into feat/synthetic-print-delegate-stx 2023-01-20 20:48:38 +00:00
Jude Nelson
0b2bfc8312 Merge branch 'develop' into feat/2.1.0.0.0-rc2 2023-01-20 20:37:00 +00:00
Sergey Shandar
56f81ca890 proposed changes 2023-01-20 12:02:31 -08:00
Jude Nelson
67d108d12a Merge pull request #3512 from stacks-network/trait-arg-check
fix: fix arg-check for passing 2.05 trait in 2.1
2023-01-20 19:06:30 +00:00
Pavitthra Pandurangan
349f3f641d fixed failing unit test 2023-01-20 13:22:55 -05:00
Jude Nelson
ab5b21c397 fix: fix some failing integration tests 2023-01-20 10:49:52 -05:00
Brice Dobry
b8e21618f4 fix: fix arg-check for passing 2.05 trait in 2.1 2023-01-19 20:05:29 -05:00
pavitthrap
3d40a94611 Merge branch 'develop' into feat/synthetic-print-delegate-stx 2023-01-19 14:53:11 -05:00
Pavitthra Pandurangan
105700543f ran fmt + fized non-test build 2023-01-19 14:52:30 -05:00
Jude Nelson
cc3eb0f501 Merge branch 'develop' into feat/2.1.0.0.0-rc2 2023-01-18 22:12:22 -05:00
Brice Dobry
9f823d689d Merge pull request #3490 from stacks-network/fix/trait-types
fix: handle `TraitReferenceType` in 2.1
2023-01-18 20:39:30 -05:00
pavitthrap
30d695f02e Merge branch 'develop' into feat/synthetic-print-delegate-stx 2023-01-18 17:35:52 -05:00
Pavitthra Pandurangan
3d741db7fb added integration test to yml file 2023-01-18 17:32:06 -05:00
Pavitthra Pandurangan
40ce97bc6b cleaned up tests 2023-01-18 17:07:10 -05:00
Pavitthra Pandurangan
aa102f22be clean up test 2023-01-18 16:52:14 -05:00
Brice Dobry
51285a1ace chore: clarify the canonicalize method
Rename and add a note so that it is clear that it only handles simple
types, and complex types should be recursed by the caller.
2023-01-18 16:05:11 -05:00