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

Add no code to aci, make /aci to output in canonical format #121

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

davidyuk
Copy link
Member

Similar to aeternity/aesophia_cli#79
Required in aeternity/aepp-sdk-js#1845

This PR is supported by the Æternity Crypto Foundation

generate_aci(Contract, Options) ->
Opts = compile_options(Options),
try aeso_aci:contract_interface(json, Contract, Opts) of
try aeso_aci:contract_interface(json, Contract, Opts ++ [{no_code, true}]) of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In aesophia_cli we explicitly require a --no-code option to enable this, but I guess this is fine (you could possibly get an ACI for non-compileable code, but that wouldn't be a big problem I think).

@thepiwo
Copy link
Contributor

thepiwo commented Jun 30, 2023

any blockers for merging that?

@hanssv hanssv merged commit 672d984 into master Jul 6, 2023
@hanssv hanssv deleted the add-no-code-to-aci branch July 6, 2023 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants