1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/tests/positive/MiniC/AlwaysValidVP
Paul Cadman 7bf337217d
Allow _ in Wasm exported names to support Anoma signature (#1449)
Allow _ in Wasm exported names

The Anoma validity predicate Wasm signature is:

"_validate_tx": [I64, I64, I64, I64, I64, I64, I64, I64] -> [I64]

So we need to allow exported names containing '_'.

This PR adds a Juvix module that exports a function with this signature
and a test that the resulting Wasm function can be called.
2022-08-12 09:06:14 +01:00
..
expected.golden Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00
input.js Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00
Input.juvix Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00
juvix.yaml Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00