Skip to content

Commit

Permalink
feat: set remote implementation virtual
Browse files Browse the repository at this point in the history
reednaa committed May 20, 2024
1 parent f9de918 commit b4eac58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IncentivizedMessageEscrow.sol
Original file line number Diff line number Diff line change
@@ -265,7 +265,7 @@ abstract contract IncentivizedMessageEscrow is IIncentivizedMessageEscrow, Bytes
* are valid for sending (say hex"0x01" which may be read as address(uint160(1))), they break acks / delivery.
* If you want to disable a specific route, set implementation to hex"00" (DISABLE_ROUTE_IMPLEMENTATION).
*/
function setRemoteImplementation(bytes32 destinationIdentifier, bytes calldata implementation) external {
function setRemoteImplementation(bytes32 destinationIdentifier, bytes calldata implementation) external virtual {
if (implementationAddressHash[msg.sender][destinationIdentifier] != bytes32(0)) revert ImplementationAddressAlreadySet(
implementationAddress[msg.sender][destinationIdentifier]
);

0 comments on commit b4eac58

Please sign in to comment.