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

[WIP]explicit support for uint vs int in simple serialize #114

Closed
wants to merge 1 commit into from
Closed

[WIP]explicit support for uint vs int in simple serialize #114

wants to merge 1 commit into from

Conversation

p-mc2
Copy link
Contributor

@p-mc2 p-mc2 commented Sep 21, 2018

As has been discussed, it's probably worth our time to explicitly support uint vs int in simple serialize to avoid confusion. Thanks.

@p-mc2 p-mc2 changed the title explicit support for uint vs int explicit support for uint vs int in simple serialize Sep 21, 2018
@p-mc2 p-mc2 changed the title explicit support for uint vs int in simple serialize [WIP]explicit support for uint vs int in simple serialize Sep 21, 2018
@p-mc2
Copy link
Contributor Author

p-mc2 commented Sep 21, 2018

Seems like my implementation is the best way to handle this in ssz but there are a ton of spots where there's overflow because things that should be unsigned are named 'int64' for example. Should I go through and edit all of these ints to uints or am I misunderstanding something? Thanks.

@djrtwo
Copy link
Contributor

djrtwo commented Sep 23, 2018

I think if we move forward with uint support (which I think is likely), then all of the int's in the current spec are actually uints. So you can go ahead and change them all.

@djrtwo
Copy link
Contributor

djrtwo commented Sep 24, 2018

closing this one

@djrtwo djrtwo closed this Sep 24, 2018
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.

None yet

2 participants