From e55e39a7652e0af484dab9ac58cb2d3e8a668c38 Mon Sep 17 00:00:00 2001 From: D <51912515+adaki2004@users.noreply.github.com> Date: Tue, 23 May 2023 10:56:36 +0200 Subject: [PATCH] fix(protocol): Fix name mismatch(build) issue (#13803) Co-authored-by: adaki2004 --- packages/protocol/contracts/common/EssentialContract.sol | 2 +- .../contract-documentation/common/AddressResolver.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/protocol/contracts/common/EssentialContract.sol b/packages/protocol/contracts/common/EssentialContract.sol index 5f9e7ed6e73..9a22a997200 100644 --- a/packages/protocol/contracts/common/EssentialContract.sol +++ b/packages/protocol/contracts/common/EssentialContract.sol @@ -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); } } diff --git a/packages/website/pages/docs/reference/contract-documentation/common/AddressResolver.md b/packages/website/pages/docs/reference/contract-documentation/common/AddressResolver.md index dac0bc61179..448cb93a26f 100644 --- a/packages/website/pages/docs/reference/contract-documentation/common/AddressResolver.md +++ b/packages/website/pages/docs/reference/contract-documentation/common/AddressResolver.md @@ -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