Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
solc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbreak committed Dec 7, 2017
1 parent 13030dc commit 17a9d4d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/spell.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Testing using a `DSSpell` as the `hat` in a `DSChief` for one-off
// root calls or role changes.

pragma solidity ^0.4.19;

import 'ds-test/test.sol';

import 'ds-spell/spell.sol';
Expand All @@ -28,12 +30,12 @@ contract SpellTest is DSTest {
}
function testRootCall() public {
// poke() sig: 0x18178358
bytes data = [0x18, 0x17, 0x83, 0x58];
s = new Spell(t, 0, data);
}
function testRoleChange() public {
require(false);
// setUserRole(address,uint8,bool) sig:
// TODO complex packing
bytes memory data = hex"18178358";
s = new DSSpell(t, 0, data);
}
// function testRoleChange() public {
// require(false);
// // setUserRole(address,uint8,bool) sig:
// // TODO complex packing
// }
}

0 comments on commit 17a9d4d

Please sign in to comment.