Skip to content

Commit

Permalink
Merge pull request #12 from PoCInnovation/1yam-fix-test
Browse files Browse the repository at this point in the history
Fix: Add initialize on Superfuild token (fix all test)
  • Loading branch information
1yam authored Aug 21, 2023
2 parents 16c55f5 + 543e283 commit 498327b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dao/src/SuperfluidDao.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ contract SuperfluidDao is ISuperfluidDao {
mapping(address => mapping(uint256 => VoteStatus)) private _votes;
Proposal[] private _proposals;
SuperfluidDaoToken private _superfluidToken;
address constant SUPER_TOKEN_FACTORY = 0x94f26B4c8AD12B18c12f38E878618f7664bdcCE2;

constructor() {
_superfluidToken = new SuperfluidDaoToken();
_superfluidToken.initialize(SUPER_TOKEN_FACTORY, "SuperfluidDaoToken", "SDT");
}

function postProposal(bytes32 descriptionCID, uint64 timeSpan) public {
Expand Down

0 comments on commit 498327b

Please sign in to comment.