remove abstracted InstanceStorage to prevent errors

This commit is contained in:
Ricardo Guilherme Schmidt 2018-03-20 22:31:14 -03:00
parent c09772e634
commit 776022d583
2 changed files with 6 additions and 7 deletions

View File

@ -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()

View File

@ -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;