ethereum/yellowpaper

Byzantium changes

Closed this issue · 13 comments

We can check these boxes when we create PRs for the yellow paper, or the EIPs are dropped from Metropolis.

This list initially followed ethereum/pm#4

Will ethereum/EIPs#116 be included in there? Or no?

I added it.

awesome. I shall share this list so that Monax team can be aware too...these are all scheduled to be included, yes?

A branch metropolis was created in this repository.

5chdn commented

EIP-649 is missing from the list. ☝️

@5chdn I added it.

Why aren't ECPoints stored in their compressed form which is half the size? That is use just x + 1 bit instead of x,y?

@bbuenz within the evm even the cost of storing 32 bytes is lower than the cost of recomputing y from a given x (or at least it definitely was up until the modexp precompile was added -- unsure about now, i'll benchmark it if u want). for txns the public key is recovered from the signature rather than sent alongside it so i assume you're asking about precompile justification?

Shouldn't the precompile cost be based on real world costs? I think Pieter Wuille said that in libsec256k1 group exponentiation is 1% more expensive which should be offset by the storage savings, shouldn't it?

@bbuenz the gas costs across EVM are not accurate enough to make 1% calibration meaningful.

@pirapira I don't think I explained myself well enough. Using point compression, i.e. 32 byte eliptic curve points makes addition and multiplication just 1% slower. So you get 50% storage/communication improvement for just 1% computation loss. That seems like a clear win to me.

This has been done. Thanks @gavofyork for the license and thanks @nicksavers for the merges.