Add setBlockInterval interface
@@ -109,6 +109,13 @@ contract SysConfig is ISysConfig, EconomicalType, ReservedAddrPublic {
chainName = _chainName;
}
+ function setBlockInterval(uint64 _blockInterval)
+ external
+ onlyAdmin
+ {
+ blockInterval = _blockInterval;
+ }
+
function updateToChainIdV1()
external
onlyAdmin
