Commit 68e44a1d authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: make event indexed

parent 09a7d317
...@@ -29,7 +29,7 @@ DeployerWhitelist_Test:test_owner_succeeds() (gas: 7582) ...@@ -29,7 +29,7 @@ DeployerWhitelist_Test:test_owner_succeeds() (gas: 7582)
DeployerWhitelist_Test:test_storageSlots_succeeds() (gas: 33395) DeployerWhitelist_Test:test_storageSlots_succeeds() (gas: 33395)
DisputeGameFactory_Test:test_owner_succeeds() (gas: 7582) DisputeGameFactory_Test:test_owner_succeeds() (gas: 7582)
DisputeGameFactory_Test:test_setImplementation_notOwner_reverts() (gas: 11191) DisputeGameFactory_Test:test_setImplementation_notOwner_reverts() (gas: 11191)
DisputeGameFactory_Test:test_setImplementation_succeeds() (gas: 38528) DisputeGameFactory_Test:test_setImplementation_succeeds() (gas: 38765)
DisputeGameFactory_Test:test_transferOwnership_notOwner_reverts() (gas: 10979) DisputeGameFactory_Test:test_transferOwnership_notOwner_reverts() (gas: 10979)
DisputeGameFactory_Test:test_transferOwnership_succeeds() (gas: 13180) DisputeGameFactory_Test:test_transferOwnership_succeeds() (gas: 13180)
FeeVault_Test:test_constructor_succeeds() (gas: 10736) FeeVault_Test:test_constructor_succeeds() (gas: 10736)
......
...@@ -25,10 +25,10 @@ interface IDisputeGameFactory { ...@@ -25,10 +25,10 @@ interface IDisputeGameFactory {
/** /**
* @notice Emitted when a new game implementation added to the factory * @notice Emitted when a new game implementation added to the factory
* @param gameType The type of the DisputeGame.
* @param impl The implementation contract for the given `GameType`. * @param impl The implementation contract for the given `GameType`.
* @param gameType The type of the DisputeGame.
*/ */
event ImplementationSet(address impl, GameType gameType); event ImplementationSet(address indexed impl, GameType indexed gameType);
/** /**
* @notice `games` queries an internal a mapping that maps the hash of * @notice `games` queries an internal a mapping that maps the hash of
......
...@@ -18,7 +18,7 @@ contract DisputeGameFactory_Test is Test { ...@@ -18,7 +18,7 @@ contract DisputeGameFactory_Test is Test {
Claim indexed rootClaim Claim indexed rootClaim
); );
event ImplementationSet(address impl, GameType gameType); event ImplementationSet(address indexed impl, GameType indexed gameType);
function setUp() public { function setUp() public {
factory = new DisputeGameFactory(address(this)); factory = new DisputeGameFactory(address(this));
......
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