Content pfp
Content
@
0 reply
0 recast
0 reaction

Adam Cochran pfp
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?
3 replies
1 recast
6 reactions

Adam Cochran pfp
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.
2 replies
0 recast
1 reaction

ciefa pfp
ciefa
@ciefa.eth
No idea, but I like seeing you post here.
1 reply
0 recast
0 reaction

jtriley.eth pfp
jtriley.eth
@jtriley
precompiles carry the same implications as opcodes, but their cost is massive comparatively bc you have to make an external call to precompiles. it would be better to have an opcode instead, technically, but opcode additions are a massive undertaking. 0/1
1 reply
0 recast
1 reaction