Skip to content

Make the standard input compatible with resolc 0.1.0 #30

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

Merged
merged 4 commits into from
May 29, 2025
Merged

Conversation

smiasojed
Copy link
Collaborator

In new resolc version polkavm json object can not be empty.
If it is empty it should not be serialised

@smiasojed smiasojed marked this pull request as draft May 28, 2025 18:49
@smiasojed smiasojed marked this pull request as ready for review May 28, 2025 21:42
@smiasojed smiasojed requested a review from pkhry May 29, 2025 14:33
Copy link

@pkhry pkhry left a comment

Choose a reason for hiding this comment

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

Other than that LGTM

fn default() -> Self {
Self {
debug_information: false,
memory_config: MemoryConfig { heap_size: 64 * 1024, stack_size: 32 * 1024 },
Copy link

Choose a reason for hiding this comment

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

why not Implement proper Default for MemoryConfig too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you are right, fixed

@smiasojed smiasojed merged commit 02acb10 into main May 29, 2025
16 checks passed
@smiasojed smiasojed deleted the sm/fix branch June 6, 2025 11:13
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.

3 participants