Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
68e44a1d
Commit
68e44a1d
authored
May 23, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contracts-bedrock: make event indexed
parent
09a7d317
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.gas-snapshot
packages/contracts-bedrock/.gas-snapshot
+1
-1
IDisputeGameFactory.sol
...ntracts-bedrock/contracts/dispute/IDisputeGameFactory.sol
+2
-2
DisputeGameFactory.t.sol
...contracts-bedrock/contracts/test/DisputeGameFactory.t.sol
+1
-1
No files found.
packages/contracts-bedrock/.gas-snapshot
View file @
68e44a1d
...
@@ -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: 38
528
)
DisputeGameFactory_Test:test_setImplementation_succeeds() (gas: 38
765
)
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)
...
...
packages/contracts-bedrock/contracts/dispute/IDisputeGameFactory.sol
View file @
68e44a1d
...
@@ -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 i
mpl, GameType
gameType);
event ImplementationSet(address i
ndexed 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
...
...
packages/contracts-bedrock/contracts/test/DisputeGameFactory.t.sol
View file @
68e44a1d
...
@@ -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 i
mpl, GameType
gameType);
event ImplementationSet(address i
ndexed impl, GameType indexed
gameType);
function setUp() public {
function setUp() public {
factory = new DisputeGameFactory(address(this));
factory = new DisputeGameFactory(address(this));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment