Skip to content

Commit

Permalink
fix(protocol): Fix name mismatch(build) issue (#13803)
Browse files Browse the repository at this point in the history
Co-authored-by: adaki2004 <adaki2004@users.noreply.github.com>
  • Loading branch information
adaki2004 and adaki2004 authored May 23, 2023
1 parent b5f22e5 commit e55e39a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/common/EssentialContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ abstract contract EssentialContract is
if (newAddressManager == address(0)) revert RESOLVER_INVALID_ADDR();
_addressManager = IAddressManager(newAddressManager);

emit IAddressManagerChanged(address(this), newAddressManager);
emit AddressManagerChanged(newAddressManager);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ error RESOLVER_ZERO_ADDR(uint256 chainId, bytes32 name)
modifier onlyFromNamed(bytes32 name)
```

### IAddressManagerChanged
### AddressManagerChanged

```solidity
event IAddressManagerChanged(address changedOn, address newAddress)
event AddressManagerChanged(address addressManager)
```

### resolve
Expand Down

0 comments on commit e55e39a

Please sign in to comment.