[PT-167805291] Add opcode for ecrecover #181
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "newby/ecrecover"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: johnsnewby
Ref PT-16780529
Merge order:
Created by: hanssv
Created by: UlfNorell
Would it not make sense to also add the FATE instruction in this PR?
Created by: hanssv
Review: Dismissed
OK, but as Ulf mentioned - you should have an opcode for FATE as well?
Created by: UlfNorell
Put it in op code order please (or the next person adding an instruction will choose the same op code).
Also shouldn't it only take a hash and a signature? So
[a,a,a]
and{bytes, bytes}
.Created by: johnsnewby
I copied the signature from solidity,
ecrecover(msgHash, v, r, s)
but it could be just hash and sig. I really have no strong feelings about it. The ethereum implementation takes one argument and splits the variables out from it:I am happy to change the function signature if it's desired.
Created by: UlfNorell
Given that ecverify takes a single 65 byte signature it would be very strange to have ecrecover take the parts separately.
Created by: UlfNorell
Created by: UlfNorell
Review: Approved
Created by: hanssv
Review: Approved
Created by: radrow
Review: Approved
Merged by: tolbrino at 2019-08-14 14:08:45 UTC