Conversation
|
Can you split this into two PRs? One codifies what is happening in Hera right now, the other one changes to signed types. |
|
Looks like a lot of unnecessary work. |
Yeah but it would be nice to merge what's going on right now, and then we can review the proposed changes and reason about them, |
5879f4d to
297701e
Compare
297701e to
a48f9bc
Compare
|
I looked through each edit. I see no reason for any of these arguments to be signed. It just adds complexity, adds checking overhead, and decreases possible address offsets, lengths, indices, and gas by a factor of approximately two. I vote to interpret all of these arguments as unsigned integers. If a contract makes an error and uses a number which is negative in 2's complement, then they will probably quickly run out of gas. |
|
Agreed with @poemm , already had to deal with nasty sign conversion bugs in the EEI and I don't want the extra complexity. Plus, modifying the |
Resolves #132.