Closed kPatch closed 3 years ago
Contracts should have function to reset contract address, rather than just defining it in the constructor. This would avoid redeploying the RandomConsumer contract.
https://github.com/PizzaDAO/pizza-smartcontract/blob/83fe817da6c767d7dc92b0a21e61f1e6188d6a3e/contracts/token/RandomConsumer.sol#L25
Overview
Contracts should have function to reset contract address, rather than just defining it in the constructor. This would avoid redeploying the RandomConsumer contract.
https://github.com/PizzaDAO/pizza-smartcontract/blob/83fe817da6c767d7dc92b0a21e61f1e6188d6a3e/contracts/token/RandomConsumer.sol#L25