You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bunch of functions in proofs.go accept a miner ID parameter as an actor ID. This id is then turned into a "prover id" by creating an ID address and then extracting its payload. But in implementations, all call sites started out with an ID address in the first place and had to extract the actor ID from it in order to call these functions.
Change the functions to just accept an address, and perhaps add a precondition that it is of protocol address.ID in order to fail fast if it's not.
The text was updated successfully, but these errors were encountered:
A bunch of functions in proofs.go accept a miner ID parameter as an actor ID. This id is then turned into a "prover id" by creating an ID address and then extracting its payload. But in implementations, all call sites started out with an ID address in the first place and had to extract the actor ID from it in order to call these functions.
Change the functions to just accept an address, and perhaps add a precondition that it is of protocol
address.ID
in order to fail fast if it's not.The text was updated successfully, but these errors were encountered: