Need to figure out how to incentivize calling of finalizeExits().
From @kfichter:
What if we required users to pay a small fee when submitting exits that'd be used to fund finalizeExits()? Basically, we'd keep a pool: uint256 exitFeePool. Every call to finalizeExits() that processes a finalization would transfer a small amount of ETH back to the caller.
It might also be feasible to require some fee that will almost definitely cover the cost of processing the transaction in finalizeExits() and then refunding the exiting user any excess beyond the gas cost (which is refunded to the user calling finalizeExits()).
We basically want every user to pay for the cost of their own finalization (no free riders). We can approximate the amount of gas required to execute each finalization, but we can't estimate the gas price.
(Moved this conversation from: https://github.com/omisego/plasma-mvp/issues/129)
Need to figure out how to incentivize calling of finalizeExits().
From @kfichter:
What if we required users to pay a small fee when submitting exits that'd be used to fund
finalizeExits()
? Basically, we'd keep a pool:uint256 exitFeePool
. Every call tofinalizeExits()
that processes a finalization would transfer a small amount of ETH back to the caller.It might also be feasible to require some fee that will almost definitely cover the cost of processing the transaction in finalizeExits() and then refunding the exiting user any excess beyond the gas cost (which is refunded to the user calling
finalizeExits()
).We basically want every user to pay for the cost of their own finalization (no free riders). We can approximate the amount of gas required to execute each finalization, but we can't estimate the gas price.