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

refactor(constructor): storage constructor instead of language feature #229

Merged
merged 15 commits into from
Sep 14, 2024

Conversation

clearloop
Copy link
Member

@clearloop clearloop commented Sep 12, 2024

the init code is not emitted successfully in the previous version, need to handle the byte code of constructor from the compiler level

  • empty constructor -> returns runtime bytecode directly
  • working example with init code
  • with init code -> [init_code, runtime_bytecode_return, runtime_bytecode, .. ]
  • storage constructor

@clearloop clearloop changed the title fix(constructor): handle constructor in compiler refactor(constructor): storage constructor instead of language feature Sep 14, 2024
@clearloop clearloop merged commit d096f5e into main Sep 14, 2024
4 checks passed
@clearloop clearloop deleted the cl/constructor branch September 14, 2024 18:00
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.

1 participant