With #420, clarity-wasm uses the latest version of carity-vm, bringing new keywords and functions.
While clarity-wasm compiles with this latest versions, some more work is required to properly support it. Including the handling of new keywords and functions.
Overall, the testing framework need to explicitly test the support of the different clarity version (1, 2, 3).
[ ] Make sure that block-height and (get-block-info?) are still valid in Clarity 1 and 2 (in all epochs, including 3.0), but removed in Clarity 3
[ ] Support and test the new Clarity 3 keywords: tenure-height, stacks-block-height (#322)
[ ] Support and test the new Clarity 3 functions: get-stacks-block-info?, get-tenure-info?
[ ] Add bin tests that support different clarity versions
With #420, clarity-wasm uses the latest version of carity-vm, bringing new keywords and functions.
While clarity-wasm compiles with this latest versions, some more work is required to properly support it. Including the handling of new keywords and functions. Overall, the testing framework need to explicitly test the support of the different clarity version (1, 2, 3).
block-height
and(get-block-info?)
are still valid in Clarity 1 and 2 (in all epochs, including 3.0), but removed in Clarity 3tenure-height
,stacks-block-height
(#322)get-stacks-block-info?
,get-tenure-info?
bin
tests that support different clarity versions