Skip to content

Commit 7e0e390

Browse files
fix: lint
1 parent f26952b commit 7e0e390

File tree

8 files changed

+933
-952
lines changed

8 files changed

+933
-952
lines changed

Errors.md

Lines changed: 112 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,179 +1,178 @@
11
# Custom Error Codes
22

3-
43
## evmx/fees/FeesPool.sol
54

6-
| Error | Signature |
7-
|-------|-----------|
5+
| Error | Signature |
6+
| ------------------ | ------------ |
87
| `TransferFailed()` | `0x90b8ec18` |
98

109
## evmx/helpers/AsyncPromise.sol
1110

12-
| Error | Signature |
13-
|-------|-----------|
11+
| Error | Signature |
12+
| -------------------------- | ------------ |
1413
| `PromiseAlreadyResolved()` | `0x56b63537` |
15-
| `OnlyInvoker()` | `0x74ed21f5` |
16-
| `PromiseAlreadySetUp()` | `0x927c53d5` |
17-
| `PromiseRevertFailed()` | `0x0175b9de` |
18-
| `NotLatestPromise()` | `0x39ca95d3` |
14+
| `OnlyInvoker()` | `0x74ed21f5` |
15+
| `PromiseAlreadySetUp()` | `0x927c53d5` |
16+
| `PromiseRevertFailed()` | `0x0175b9de` |
17+
| `NotLatestPromise()` | `0x39ca95d3` |
1918

2019
## evmx/plugs/ContractFactoryPlug.sol
2120

22-
| Error | Signature |
23-
|-------|-----------|
24-
| `DeploymentFailed()` | `0x30116425` |
21+
| Error | Signature |
22+
| -------------------------------- | ------------ |
23+
| `DeploymentFailed()` | `0x30116425` |
2524
| `ExecutionFailed(bytes32,bytes)` | `0xd255d8a3` |
26-
| `information(bool,,bytes)` | `0x3a82a1f3` |
25+
| `information(bool,,bytes)` | `0x3a82a1f3` |
2726

2827
## evmx/plugs/FeesPlug.sol
2928

30-
| Error | Signature |
31-
|-------|-----------|
29+
| Error | Signature |
30+
| --------------------------------------------------- | ------------ |
3231
| `InsufficientTokenBalance(address,uint256,uint256)` | `0xebd6ced9` |
33-
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
34-
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |
32+
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
33+
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |
3534

3635
## evmx/watcher/RequestHandler.sol
3736

38-
| Error | Signature |
39-
|-------|-----------|
37+
| Error | Signature |
38+
| ----------------------- | ------------ |
4039
| `InsufficientMaxFees()` | `0x0e5bc492` |
4140

4241
## protocol/Socket.sol
4342

44-
| Error | Signature |
45-
|-------|-----------|
43+
| Error | Signature |
44+
| ----------------------------------------- | ------------ |
4645
| `PayloadAlreadyExecuted(ExecutionStatus)` | `0xf4c54edd` |
47-
| `VerificationFailed()` | `0x439cc0cd` |
48-
| `LowGasLimit()` | `0xd38edae0` |
49-
| `InsufficientMsgValue()` | `0x78f38f76` |
46+
| `VerificationFailed()` | `0x439cc0cd` |
47+
| `LowGasLimit()` | `0xd38edae0` |
48+
| `InsufficientMsgValue()` | `0x78f38f76` |
5049

5150
## protocol/SocketConfig.sol
5251

53-
| Error | Signature |
54-
|-------|-----------|
52+
| Error | Signature |
53+
| --------------------- | ------------ |
5554
| `SwitchboardExists()` | `0x2dff8555` |
56-
| `PlugNotConnected()` | `0x411d0255` |
55+
| `PlugNotConnected()` | `0x411d0255` |
5756

5857
## protocol/SocketFeeManager.sol
5958

60-
| Error | Signature |
61-
|-------|-----------|
59+
| Error | Signature |
60+
| -------------------- | ------------ |
6261
| `InsufficientFees()` | `0x8d53e553` |
63-
| `FeeTooLow()` | `0x732f9413` |
62+
| `FeeTooLow()` | `0x732f9413` |
6463

6564
## protocol/SocketUtils.sol
6665

67-
| Error | Signature |
68-
|-------|-----------|
69-
| `OnlyOffChain()` | `0x9cbfe066` |
66+
| Error | Signature |
67+
| -------------------- | ------------ |
68+
| `OnlyOffChain()` | `0x9cbfe066` |
7069
| `SimulationFailed()` | `0x2fbab3ac` |
7170

7271
## protocol/base/MessagePlugBase.sol
7372

74-
| Error | Signature |
75-
|-------|-----------|
73+
| Error | Signature |
74+
| ---------------- | ------------ |
7675
| `NotSupported()` | `0xa0387940` |
7776

7877
## protocol/switchboard/CCTPSwitchboard.sol
7978

80-
| Error | Signature |
81-
|-------|-----------|
82-
| `RemoteExecutionNotFound()` | `0xbd506972` |
79+
| Error | Signature |
80+
| ------------------------------- | ------------ |
81+
| `RemoteExecutionNotFound()` | `0xbd506972` |
8382
| `PrevBatchDigestHashMismatch()` | `0xc9864e9d` |
84-
| `NotAttested()` | `0x99efb890` |
85-
| `NotExecuted()` | `0xec84b1da` |
86-
| `InvalidSender()` | `0xddb5de5e` |
87-
| `OnlyMessageTransmitter()` | `0x935ac89c` |
83+
| `NotAttested()` | `0x99efb890` |
84+
| `NotExecuted()` | `0xec84b1da` |
85+
| `InvalidSender()` | `0xddb5de5e` |
86+
| `OnlyMessageTransmitter()` | `0x935ac89c` |
8887

8988
## protocol/switchboard/FastSwitchboard.sol
9089

91-
| Error | Signature |
92-
|-------|-----------|
90+
| Error | Signature |
91+
| ------------------- | ------------ |
9392
| `AlreadyAttested()` | `0x35d90805` |
9493
| `WatcherNotFound()` | `0xa278e4ad` |
9594

9695
## protocol/switchboard/MessageSwitchboard.sol
9796

98-
| Error | Signature |
99-
|-------|-----------|
100-
| `AlreadyAttested()` | `0x35d90805` |
101-
| `WatcherNotFound()` | `0xa278e4ad` |
102-
| `SiblingNotFound()` | `0xb3b47851` |
97+
| Error | Signature |
98+
| ----------------------------- | ------------ |
99+
| `AlreadyAttested()` | `0x35d90805` |
100+
| `WatcherNotFound()` | `0xa278e4ad` |
101+
| `SiblingNotFound()` | `0xb3b47851` |
103102
| `InvalidTargetVerification()` | `0xe9377a19` |
104-
| `InvalidMsgValue()` | `0x1841b4e1` |
103+
| `InvalidMsgValue()` | `0x1841b4e1` |
105104

106105
## utils/AccessControl.sol
107106

108-
| Error | Signature |
109-
|-------|-----------|
107+
| Error | Signature |
108+
| ------------------- | ------------ |
110109
| `NoPermit(bytes32)` | `0x962f6333` |
111110

112111
## utils/common/Converters.sol
113112

114-
| Error | Signature |
115-
|-------|-----------|
113+
| Error | Signature |
114+
| -------------------------- | ------------ |
116115
| `NotAnEvmAddress(bytes32)` | `0x33b960d0` |
117116

118117
## utils/common/Errors.sol
119118

120-
| Error | Signature |
121-
|-------|-----------|
122-
| `ZeroAddress()` | `0xd92e233d` |
123-
| `InvalidTransmitter()` | `0x58a70a0a` |
124-
| `InvalidTokenAddress()` | `0x1eb00b06` |
125-
| `InvalidSwitchboard()` | `0xf63c9e4d` |
126-
| `SocketAlreadyInitialized()` | `0xc9500b00` |
127-
| `NotSocket()` | `0xc59f8f7c` |
128-
| `PlugNotFound()` | `0x5f1ac76a` |
129-
| `ResolvingScheduleTooEarly()` | `0x207e8731` |
130-
| `CallFailed()` | `0x3204506f` |
131-
| `InvalidAppGateway()` | `0x82ded261` |
132-
| `AppGatewayAlreadyCalled()` | `0xb224683f` |
133-
| `InvalidCallerTriggered()` | `0x3292d247` |
134-
| `InvalidPromise()` | `0x45f2d176` |
135-
| `InvalidWatcherSignature()` | `0x5029f14f` |
136-
| `NonceUsed()` | `0x1f6d5aef` |
137-
| `AsyncModifierNotSet()` | `0xcae106f9` |
138-
| `WatcherNotSet()` | `0x42d473a7` |
139-
| `InvalidTarget()` | `0x82d5d76a` |
140-
| `InvalidIndex()` | `0x63df8171` |
141-
| `InvalidChainSlug()` | `0xbff6b106` |
142-
| `InvalidPayloadSize()` | `0xfbdf7954` |
143-
| `InvalidOnChainAddress()` | `0xb758c606` |
144-
| `InvalidScheduleDelay()` | `0x9a993219` |
145-
| `AuctionClosed()` | `0x36b6b46d` |
146-
| `AuctionNotOpen()` | `0xf0460077` |
147-
| `BidExceedsMaxFees()` | `0x4c923f3c` |
148-
| `LowerBidAlreadyExists()` | `0xaaa1f709` |
149-
| `RequestCountMismatch()` | `0x98bbcbff` |
150-
| `InvalidAmount()` | `0x2c5211c6` |
151-
| `InsufficientCreditsAvailable()` | `0xe61dc0aa` |
152-
| `InsufficientBalance()` | `0xf4d678b8` |
153-
| `InvalidCaller()` | `0x48f5c3ed` |
154-
| `InvalidGateway()` | `0xfc9dfe85` |
155-
| `RequestAlreadyCancelled()` | `0xc70f47d8` |
156-
| `DeadlineNotPassedForOnChainRevert()` | `0x7006aa10` |
157-
| `InvalidBid()` | `0xc6388ef7` |
158-
| `MaxReAuctionCountReached()` | `0xf2b4388c` |
159-
| `MaxMsgValueLimitExceeded()` | `0x97b4e8ce` |
160-
| `OnlyWatcherAllowed()` | `0xdf7d227c` |
161-
| `InvalidPrecompileData()` | `0x320062c0` |
162-
| `InvalidCallType()` | `0x39d2eb55` |
163-
| `NotRequestHandler()` | `0x8f8cba5b` |
164-
| `NotInvoker()` | `0x8a6353d1` |
165-
| `NotPromiseResolver()` | `0x86d876b2` |
166-
| `RequestPayloadCountLimitExceeded()` | `0xcbef144b` |
167-
| `InsufficientFees()` | `0x8d53e553` |
168-
| `RequestAlreadySettled()` | `0x66fad465` |
169-
| `NoWriteRequest()` | `0x9dcd3065` |
170-
| `AlreadyAssigned()` | `0x9688dc51` |
171-
| `OnlyAppGateway()` | `0xfec944ea` |
119+
| Error | Signature |
120+
| --------------------------------------------- | ------------ |
121+
| `ZeroAddress()` | `0xd92e233d` |
122+
| `InvalidTransmitter()` | `0x58a70a0a` |
123+
| `InvalidTokenAddress()` | `0x1eb00b06` |
124+
| `InvalidSwitchboard()` | `0xf63c9e4d` |
125+
| `SocketAlreadyInitialized()` | `0xc9500b00` |
126+
| `NotSocket()` | `0xc59f8f7c` |
127+
| `PlugNotFound()` | `0x5f1ac76a` |
128+
| `ResolvingScheduleTooEarly()` | `0x207e8731` |
129+
| `CallFailed()` | `0x3204506f` |
130+
| `InvalidAppGateway()` | `0x82ded261` |
131+
| `AppGatewayAlreadyCalled()` | `0xb224683f` |
132+
| `InvalidCallerTriggered()` | `0x3292d247` |
133+
| `InvalidPromise()` | `0x45f2d176` |
134+
| `InvalidWatcherSignature()` | `0x5029f14f` |
135+
| `NonceUsed()` | `0x1f6d5aef` |
136+
| `AsyncModifierNotSet()` | `0xcae106f9` |
137+
| `WatcherNotSet()` | `0x42d473a7` |
138+
| `InvalidTarget()` | `0x82d5d76a` |
139+
| `InvalidIndex()` | `0x63df8171` |
140+
| `InvalidChainSlug()` | `0xbff6b106` |
141+
| `InvalidPayloadSize()` | `0xfbdf7954` |
142+
| `InvalidOnChainAddress()` | `0xb758c606` |
143+
| `InvalidScheduleDelay()` | `0x9a993219` |
144+
| `AuctionClosed()` | `0x36b6b46d` |
145+
| `AuctionNotOpen()` | `0xf0460077` |
146+
| `BidExceedsMaxFees()` | `0x4c923f3c` |
147+
| `LowerBidAlreadyExists()` | `0xaaa1f709` |
148+
| `RequestCountMismatch()` | `0x98bbcbff` |
149+
| `InvalidAmount()` | `0x2c5211c6` |
150+
| `InsufficientCreditsAvailable()` | `0xe61dc0aa` |
151+
| `InsufficientBalance()` | `0xf4d678b8` |
152+
| `InvalidCaller()` | `0x48f5c3ed` |
153+
| `InvalidGateway()` | `0xfc9dfe85` |
154+
| `RequestAlreadyCancelled()` | `0xc70f47d8` |
155+
| `DeadlineNotPassedForOnChainRevert()` | `0x7006aa10` |
156+
| `InvalidBid()` | `0xc6388ef7` |
157+
| `MaxReAuctionCountReached()` | `0xf2b4388c` |
158+
| `MaxMsgValueLimitExceeded()` | `0x97b4e8ce` |
159+
| `OnlyWatcherAllowed()` | `0xdf7d227c` |
160+
| `InvalidPrecompileData()` | `0x320062c0` |
161+
| `InvalidCallType()` | `0x39d2eb55` |
162+
| `NotRequestHandler()` | `0x8f8cba5b` |
163+
| `NotInvoker()` | `0x8a6353d1` |
164+
| `NotPromiseResolver()` | `0x86d876b2` |
165+
| `RequestPayloadCountLimitExceeded()` | `0xcbef144b` |
166+
| `InsufficientFees()` | `0x8d53e553` |
167+
| `RequestAlreadySettled()` | `0x66fad465` |
168+
| `NoWriteRequest()` | `0x9dcd3065` |
169+
| `AlreadyAssigned()` | `0x9688dc51` |
170+
| `OnlyAppGateway()` | `0xfec944ea` |
172171
| `NewMaxFeesLowerThanCurrent(uint256,uint256)` | `0x1345dda1` |
173-
| `InvalidContract()` | `0x6eefed20` |
174-
| `InvalidData()` | `0x5cb045db` |
175-
| `InvalidSignature()` | `0x8baa579f` |
176-
| `DeadlinePassed()` | `0x70f65caa` |
177-
| `OnlyRequestHandlerAllowed()` | `0x5c1aa683` |
178-
| `OnlyPromiseResolverAllowed()` | `0x2392c25e` |
179-
| `InvalidReceiver()` | `0x1e4ec46b` |
172+
| `InvalidContract()` | `0x6eefed20` |
173+
| `InvalidData()` | `0x5cb045db` |
174+
| `InvalidSignature()` | `0x8baa579f` |
175+
| `DeadlinePassed()` | `0x70f65caa` |
176+
| `OnlyRequestHandlerAllowed()` | `0x5c1aa683` |
177+
| `OnlyPromiseResolverAllowed()` | `0x2392c25e` |
178+
| `InvalidReceiver()` | `0x1e4ec46b` |

0 commit comments

Comments
 (0)