Open adklempner opened 6 years ago
Presently, Registry.sol imports Parameterizer.sol in its entirety, but only calls the function get(string _name).
Registry.sol
Parameterizer.sol
get(string _name)
You can save gas and storage space by using a ParameterizerInterface.sol in Registry
ParameterizerInterface.sol
Registry
interface ParameterizerInterface { function get(string _name) public view returns (uint value); }
I believe the same is true for PLCRVoting
PLCRVoting
:+1:
Presently,
Registry.sol
importsParameterizer.sol
in its entirety, but only calls the functionget(string _name)
.You can save gas and storage space by using a
ParameterizerInterface.sol
inRegistry