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

Use new contract syntax for non-complex contracts #330

Closed
wants to merge 1 commit into from

Conversation

0xEAB
Copy link
Contributor

@0xEAB 0xEAB commented Oct 22, 2023

Resolves #249.
All formatting changes – incl. readability degradations – by sdfmt.

@0xEAB 0xEAB marked this pull request as ready for review October 22, 2023 20:39
@deadalnix
Copy link
Contributor

In principle, yes. But for some of these, the end result loses in readability. For most, it's an improvement.

This PR is a good example of why splitting things up is valuable. Let's not discuss each instance in this PR while most could be merged today. Instead, let's split this PR up into several that only move a file or a couple of related files, so most of it gets merged right away and we can discuss the specific cases where the result is not a slam dunk.

@0xEAB
Copy link
Contributor Author

0xEAB commented Nov 7, 2023

Here we go, I’ve split it up.

@0xEAB 0xEAB closed this Nov 7, 2023
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.

Move all contract to use the new contract syntax.
2 participants