consensus-shipyard / ipc-actors

Rust implementation of the IPC actors for FVM
MIT License
6 stars 3 forks source link

Do not enforce `owner` in postbox messages #123

Open adlrocha opened 1 year ago

adlrocha commented 1 year ago

The default policy right now for messages that need to be propagated through the postbox is that only the owner (i.e. the EOA that triggered that cross-net message) is allowed to pay for the propagation fee. If the owner wants to add more propagators to the message, it needs to explicitly due so by sending an on-chain message.

This doesn't make a lot of sense, if someone wants to pay for the propagation of my message, let them pay. This also align more with the kind of use cases that we want to support with this feature. Thus, I propose changing the default policy for postbox message propagation to be "all allowed", and allow the owner to opt-in to adding specific propagators for the message.