remove abstracted InstanceStorage to prevent errors
This commit is contained in:
parent
c09772e634
commit
776022d583
|
@ -27,7 +27,7 @@ contract DelayedUpdatableInstance is DelayedUpdatableInstanceStorage, DelegatedC
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev returns kernel if kernel that is configured
|
* @dev returns configured kernel
|
||||||
* @return kernel address
|
* @return kernel address
|
||||||
*/
|
*/
|
||||||
function targetDelegatedCall()
|
function targetDelegatedCall()
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
pragma solidity ^0.4.17;
|
pragma solidity ^0.4.17;
|
||||||
|
|
||||||
import "./InstanceStorage.sol";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title InstanceStorage
|
* @title DelayedUpdatableInstanceStorage
|
||||||
* @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
|
* @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
|
||||||
* @dev Defines kernel vars that Kernel contract share with Instance.
|
* @dev Defines kernel vars that Kernel contract share with DelayedUpdatableInstance.
|
||||||
* Important to avoid overwriting wrong storage pointers is that
|
* Important to avoid overwriting wrong storage pointers is that
|
||||||
* InstanceStorage should be always the first contract at heritance.
|
* InstanceStorage should be always the first contract at heritance.
|
||||||
*/
|
*/
|
||||||
contract DelayedUpdatableInstanceStorage is InstanceStorage {
|
contract DelayedUpdatableInstanceStorage {
|
||||||
// protected zone start (InstanceStorage vars)
|
// protected zone start (InstanceStorage vars)
|
||||||
Update update;
|
address public kernel;
|
||||||
|
Update public update;
|
||||||
|
|
||||||
struct Update {
|
struct Update {
|
||||||
address kernel;
|
address kernel;
|
||||||
|
|
Loading…
Reference in New Issue