Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicit typing for V3 object export on onchain package #16

Open
michele-nuzzi opened this issue Jul 16, 2024 · 0 comments
Open

explicit typing for V3 object export on onchain package #16

michele-nuzzi opened this issue Jul 16, 2024 · 0 comments

Comments

@michele-nuzzi
Copy link
Member

during the build for version 0.8.0-dev4 (onchain version 0.3.0-dev4)

it was not possible to export the V3 object due to

The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.ts(7056)

as the error message reports, the fix should be explicitly typing the object.

the issue raised following the addition of methods for the PMaybe type

So perhaps an even easier fix would be explicitly typing PMaybe?

this fix is not crucial for the 0.8.0 release, but something to be addressed before PlutusV4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant