File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ pragma solidity >=0.8.8 <0.9.0;
4
4
/// @title TransceiverRegistry
5
5
/// @author Wormhole Project Contributors.
6
6
/// @notice This contract is responsible for handling the registration of Transceivers.
7
- /// edev This contract a few critical invariants hold when transceivers are added or removed,
7
+ /// @dev This contract checks that a few critical invariants hold when transceivers are added or removed,
8
8
/// including:
9
- /// 1. if a transceiver is not registered, it should be enabled.
9
+ /// 1. If a transceiver is not registered, it should be enabled.
10
10
/// 2. The value set in the bitmap of trannsceivers
11
11
/// should directly correspond to the whether the transceiver is enabled
12
12
abstract contract TransceiverRegistry {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ interface INttManager is INttManagerState {
58
58
/// To ensure the client does not continue to initiate calls to the ateestationReceived function.
59
59
/// @dev Selector 0x2113894.
60
60
/// @param nttManagerMessageHash The hash of the message.
61
- error TrasceiverAlreadyAttestedToMessage (bytes32 nttManagerMessageHash );
61
+ error TransceiverAlreadyAttestedToMessage (bytes32 nttManagerMessageHash );
62
62
63
63
/// @notice Error when the message is not approved.
64
64
/// @dev Selector 0x451c4fb0.
@@ -79,7 +79,7 @@ interface INttManager is INttManagerState {
79
79
/// @dev Selector 0x9c8d2cd2.
80
80
error InvalidRecipient ();
81
81
82
- /// @@ notice Error when the amount burned is different than the balance difference,
82
+ /// @notice Error when the amount burned is different than the balance difference,
83
83
/// since NTT does not support burn fees.
84
84
/// @dev Selector 0x02156a8f.
85
85
/// @param burnAmount The amount burned.
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ interface ITransceiver {
20
20
/// the owner of the NttManager.
21
21
/// @dev Selector: 0x66791dd6.
22
22
/// @param currentOwner he current owner of the transceiver.
23
- /// @param newOwner The new owner of the transceiver.
24
23
error CannotRenounceTransceiverOwnership (address currentOwner );
25
24
26
25
/// @notice Error when trying to transfer transceiver ownership.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ interface IWormholeTransceiverState {
22
22
/// @dev Topic0
23
23
/// 0x528b18a533e892b5401d1fb63597275df9d2bb45b13e7695c3147cd07b9746c3.
24
24
/// @param chainId The chain ID to set.
25
- /// @param isEvm A boolean indicating whether relaying is enabled.
25
+ /// @param isRelayingEnabled A boolean indicating whether relaying is enabled.
26
26
event SetIsWormholeRelayingEnabled (uint16 chainId , bool isRelayingEnabled );
27
27
28
28
/// @notice Emitted when special relaying is enabled for the given chain.
You can’t perform that action at this time.
0 commit comments