filecoin-project / specs-actors

DEPRECATED Specification of builtin actors, in the form of executable code.
Other
86 stars 102 forks source link

Rework types in power actor cron event registration #1490

Open ZenGround0 opened 3 years ago

ZenGround0 commented 3 years ago

Right now the miner actor sends arbitrary bytes to the power actor to register events. This is likely unnecessarily unconstrained as the current set of cron events are fully captured by an integer type.

We should investigate changing the cron enrollment system over to using more constrained types. If we do this it will require migrating the cron event queue.

laudiacay commented 3 years ago

I put some work in fix/1490. Blocked in "why isn't my CBOR gen working" land, once again... I don't know why this is so confusing to me