Content
@
https://ethereum.org
0 reply
0 recast
0 reaction
Adam Cochran
@adamscochran
1/2 Ok question for the ETH tech community: why don’t we have lots more precompiles? For example, I can’t do Ed25519 in a smart contract due to precision/scale issues, but could make it a precompile that nodes could run. As long as the gas fee is high enough to deter frequent use, is there a drawback?
4 replies
0 recast
6 reactions
Adam Cochran
@adamscochran
2/2 Put differently, is there reasons to not make available high computational cost functions as precompiles as long as we price them efficiently? Or, are we risking increasing the specs for nodes too much if we start adding these? Maybe I’m not fully grasping the role of precompiles.
3 replies
0 recast
0 reaction
RoboCopsGoneMad
@robocopsgonemad
It's more a question of adoption and support. For instance, BLS curves have been on the shortlist for a while, but still aren't available. Each crypto primitive we make available in the evm (regardless if via opcode or precompile) increases a support and testing radius, vs. demand.
0 reply
0 recast
0 reaction
Louis 👵 🦇🔊
@superlouis.eth
There was EIP-665, that went stagnant. Then it started to come back as a rollup friendly scheme: https://ethereum-magicians.org/t/eip-xxx-ed25519-signature-verification/15535/4 But it’s still stagnant… I don’t understand why FC chose EdDSA that makes messages not verifiable on chain.
0 reply
0 recast
0 reaction
artlu 🎩
@artlu
suspect that its opens multiple attack surfaces which are really hard to solve generally
0 reply
0 recast
0 reaction