consensus-shipyard / ipc-actors

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

Support worker address for validators #124

Open adlrocha opened 1 year ago

adlrocha commented 1 year ago

In the Solidity IPC contracts we had to introduce the concept of worker addresses. Mir validators doesn't support the use of ethereum addresses, so when we join a new subnet, we store two addresses, the msg.sender and the workerAddr for the sender. This worker address will be the one used by the Mir validator, and the one used in the membership set.

We should include the same concept of worker address as an optional parameter when joining FVM-based subnets.

This would require changes all over the stack: