Closed kevsul closed 5 years ago
For some background (might soon become irrelevant, but still is) - the reason why it didn't use the value from the contracts, is that the elixir-omg
needed to take care of the early deployments of contracts, and as a consequence, feed exit_period_seconds
to plasma-contracts
. A bit of a chicken-egg problem.
CC @pnowosie
I thought current contract deployment is pretty independent from elixir-omg now(?) or there is still sth elixir-omg should take care of?
We're deploying in in our tests @boolafish. Hopefully soon that will stop as well!
Currently the childchain's exit period is set via a configuration variable. However, as discussed in Slack
and here #1099 this could mean that the childchain is configured differently than the contracts.
A better solution would be for the childchain to get the value from the PlasmaFramework contract. It's a public member variable:
PlasmaFramework.minExitPeriod