[Ceres]: Handle Bytes.to_any_size in calldata (#495)

* [Ceres] Handle Bytes.to_any_size in calldata

* Edit CHANGELOG
This commit is contained in:
Hans Svensson
2024-01-23 16:09:37 +01:00
parent 1a80f3faa0
commit fbaab570f2
5 changed files with 10 additions and 1 deletions
+1
View File
@@ -85,6 +85,7 @@ compilable_contracts() ->
{"funargs", "bitsum", ["Bits.clear(Bits.clear(Bits.all, 4), 2)"]}, %% Order matters for test
{"funargs", "bitsum", ["Bits.set(Bits.set(Bits.none, 4), 2)"]},
{"funargs", "read", ["{label = \"question 1\", result = 4}"]},
{"funargs", "any_bytes", ["Bytes.to_any_size(#0011AA)"]},
{"funargs", "sjutton", ["#0011012003100011012003100011012003"]},
{"funargs", "sextiosju", ["#01020304050607080910111213141516171819202122232425262728293031323334353637383940"
"414243444546474849505152535455565758596061626364656667"]},
+2
View File
@@ -20,6 +20,8 @@ contract FunctionArguments =
entrypoint read(a : answer(int)) =
a.result
entrypoint any_bytes(b : bytes()) = b
entrypoint sjutton(b : bytes(17)) =
b