Skip to content

Commit e215070

Browse files
author
Rahul Maganti
committed
fix: add boolean flag to event (SetIsWormholeEvmChain)
1 parent b3b1867 commit e215070

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

evm/src/Transceiver/WormholeTransceiver/WormholeTransceiverState.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ abstract contract WormholeTransceiverState is IWormholeTransceiverState, Transce
232232
}
233233
_getWormholeEvmChainIdsStorage()[chainId] = toWord(isEvm);
234234

235-
emit SetIsWormholeEvmChain(chainId);
235+
emit SetIsWormholeEvmChain(chainId, isEvm);
236236
}
237237

238238
/// @inheritdoc IWormholeTransceiverState

evm/src/interfaces/IWormholeTransceiverState.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface IWormholeTransceiverState {
88
event SetWormholePeer(uint16 chainId, bytes32 peerContract);
99
event SetIsWormholeRelayingEnabled(uint16 chainId, bool isRelayingEnabled);
1010
event SetIsSpecialRelayingEnabled(uint16 chainId, bool isRelayingEnabled);
11-
event SetIsWormholeEvmChain(uint16 chainId);
11+
event SetIsWormholeEvmChain(uint16 chainId, bool isEvm);
1212

1313
error UnexpectedAdditionalMessages();
1414
error InvalidVaa(string reason);

0 commit comments

Comments
 (0)