Commit 7f063877 authored by Will Cory's avatar Will Cory

init with owner test in next commit

parent 05d04003
......@@ -23,14 +23,17 @@ contract AttestationStation is Initializable, OwnableUpgradeable, Semver {
bytes val
);
constructor() Semver(0, 0, 1) {}
constructor(address owner) Semver(0, 0, 1) {
initialize(owner);
}
/**
* @notice Initialize the Optimist contract.
* @dev Initializes the AttestationStation contract with msg.sender as owner
*/
function initialize() public initializer {
function initialize(address owner) public initializer {
__Ownable_init();
transferOwnership(owner);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment