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

sigma-rust compiler fails to compile chaincash contracts #17

Open
ross-weir opened this issue Nov 13, 2023 · 0 comments
Open

sigma-rust compiler fails to compile chaincash contracts #17

ross-weir opened this issue Nov 13, 2023 · 0 comments
Labels
bug Something isn't working upstream The issue is caused by a dependency

Comments

@ross-weir
Copy link
Member

ross-weir commented Nov 13, 2023

Getting a parsing error, haven't dug very deep on what exactly the cause could be.

Compiles fine in https://escript.online/ & the node endpoint at /script/p2sAddress.

Maybe just use the node for now and take a closer look later. To use the node endpoint the contract string needs to be escaped so its valid json:

contract.replace("\n", "\\n").replace("\"", "\\\"");
@ross-weir ross-weir added the bug Something isn't working label Nov 13, 2023
@ross-weir ross-weir added the upstream The issue is caused by a dependency label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream The issue is caused by a dependency
Projects
None yet
Development

No branches or pull requests

1 participant