aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
454 stars 84 forks source link

Validators should implicitly be public #902

Closed franciscojoray closed 5 months ago

franciscojoray commented 5 months ago

What Git revision are you using?

v1.0.26

What operating system are you using, and which version?

Describe what the problem is?

To import a validator from a test module, the function has to be explicitly public, but doing so causes the format checker to fail.

What should be the expected behavior?

Validator functions should be public implicitly, so they can be exported without using the pub keyword.

rvcas commented 5 months ago

Thanks