Skip to content

Commit 29afa29

Browse files
authored
Merge pull request #129 from SocketDotTech/staging
Release
2 parents cc533ab + 9fd2518 commit 29afa29

File tree

114 files changed

+4877
-3046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+4877
-3046
lines changed

Errors.md

Lines changed: 75 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,21 @@
88

99
## interfaces/IWatcherPrecompile.sol
1010

11-
| Error | Signature |
12-
| --------------------------- | ------------ |
13-
| `InvalidChainSlug()` | `0xbff6b106` |
14-
| `InvalidConnection()` | `0x63228f29` |
15-
| `InvalidTransmitter()` | `0x58a70a0a` |
16-
| `InvalidTimeoutRequest()` | `0x600ca372` |
17-
| `InvalidPayloadId()` | `0xfa0b8c86` |
18-
| `InvalidCaller()` | `0x48f5c3ed` |
19-
| `InvalidGateway()` | `0xfc9dfe85` |
20-
| `InvalidSwitchboard()` | `0xf63c9e4d` |
21-
| `RequestAlreadyCancelled()` | `0xc70f47d8` |
22-
| `RequestCancelled()` | `0xe3cf2258` |
23-
| `AlreadyStarted()` | `0x1fbde445` |
24-
| `InvalidLevelNumber()` | `0x5022f14b` |
25-
26-
## interfaces/IWatcherPrecompileLimits.sol
27-
28-
| Error | Signature |
29-
| ------------------------------------------------ | ------------ |
30-
| `ActionNotSupported(address,bytes32)` | `0xa219158f` |
31-
| `NotDeliveryHelper()` | `0x29029c67` |
32-
| `LimitExceeded(address,bytes32,uint256,uint256)` | `0x80bb2621` |
11+
| Error | Signature |
12+
| ------------------------------------- | ------------ |
13+
| `InvalidChainSlug()` | `0xbff6b106` |
14+
| `InvalidConnection()` | `0x63228f29` |
15+
| `InvalidTimeoutRequest()` | `0x600ca372` |
16+
| `InvalidPayloadId()` | `0xfa0b8c86` |
17+
| `InvalidCaller()` | `0x48f5c3ed` |
18+
| `InvalidGateway()` | `0xfc9dfe85` |
19+
| `InvalidSwitchboard()` | `0xf63c9e4d` |
20+
| `RequestAlreadyCancelled()` | `0xc70f47d8` |
21+
| `RequestCancelled()` | `0xe3cf2258` |
22+
| `AlreadyStarted()` | `0x1fbde445` |
23+
| `RequestNotProcessing()` | `0x07ba8aaa` |
24+
| `InvalidLevelNumber()` | `0x5022f14b` |
25+
| `DeadlineNotPassedForOnChainRevert()` | `0x7006aa10` |
3326

3427
## protocol/AddressResolver.sol
3528

@@ -46,12 +39,6 @@
4639
| `PromiseAlreadySetUp()` | `0x927c53d5` |
4740
| `PromiseRevertFailed()` | `0x0175b9de` |
4841

49-
## protocol/Forwarder.sol
50-
51-
| Error | Signature |
52-
| ------------------------ | ------------ |
53-
| `AsyncModifierNotUsed()` | `0xb9521e1a` |
54-
5542
## protocol/payload-delivery/AuctionManager.sol
5643

5744
| Error | Signature |
@@ -61,44 +48,50 @@
6148

6249
## protocol/payload-delivery/ContractFactoryPlug.sol
6350

64-
| Error | Signature |
65-
| ------------------------- | ------------ |
66-
| `DeploymentFailed()` | `0x30116425` |
67-
| `ExecutionFailed()` | `0xacfdb444` |
68-
| `information(bool,bytes)` | `0x1a5c6d63` |
51+
| Error | Signature |
52+
| -------------------------- | ------------ |
53+
| `DeploymentFailed()` | `0x30116425` |
54+
| `ExecutionFailed()` | `0xacfdb444` |
55+
| `information(bool,,bytes)` | `0x3a82a1f3` |
6956

7057
## protocol/payload-delivery/FeesManager.sol
7158

72-
| Error | Signature |
73-
| ----------------------------- | ------------ |
74-
| `InsufficientFeesAvailable()` | `0x51488f54` |
75-
| `NoFeesForTransmitter()` | `0x248bac55` |
76-
| `NoFeesBlocked()` | `0x116d68f9` |
77-
| `InvalidWatcherSignature()` | `0x5029f14f` |
78-
| `NonceUsed()` | `0x1f6d5aef` |
79-
| `InvalidCaller()` | `0x48f5c3ed` |
59+
| Error | Signature |
60+
| -------------------------------- | ------------ |
61+
| `InsufficientCreditsAvailable()` | `0xe61dc0aa` |
62+
| `NoFeesForTransmitter()` | `0x248bac55` |
63+
| `NoCreditsBlocked()` | `0xada9eb4c` |
64+
| `InvalidCaller()` | `0x48f5c3ed` |
65+
| `InvalidUserSignature()` | `0xe3fb657c` |
66+
| `AppGatewayNotWhitelisted()` | `0x84e5309f` |
67+
| `InvalidAmount()` | `0x2c5211c6` |
68+
| `InsufficientBalance()` | `0xf4d678b8` |
8069

8170
## protocol/payload-delivery/FeesPlug.sol
8271

83-
| Error | Signature |
84-
| ----------------------------------- | ------------ |
85-
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
86-
| `InsufficientTokenBalance(address)` | `0x642faafa` |
87-
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
88-
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |
72+
| Error | Signature |
73+
| --------------------------------------------------- | ------------ |
74+
| `InsufficientTokenBalance(address,uint256,uint256)` | `0xebd6ced9` |
75+
| `InvalidDepositAmount()` | `0xfe9ba5cd` |
76+
| `TokenNotWhitelisted(address)` | `0xea3bff2e` |
8977

9078
## protocol/payload-delivery/app-gateway/DeliveryUtils.sol
9179

92-
| Error | Signature |
93-
| ----------------------- | ------------ |
94-
| `AllPayloadsExecuted()` | `0x6bc43bfe` |
95-
| `NotFromForwarder()` | `0xe83aa6bd` |
96-
| `CallFailed(bytes32)` | `0xe22e3683` |
97-
| `PayloadTooLarge()` | `0x492f620d` |
98-
| `OnlyAppGateway()` | `0xfec944ea` |
99-
| `WinningBidExists()` | `0xe8733654` |
100-
| `InsufficientFees()` | `0x8d53e553` |
101-
| `ReadOnlyRequests()` | `0x5f16b0e6` |
80+
| Error | Signature |
81+
| ------------------------------------ | ------------ |
82+
| `PayloadTooLarge()` | `0x492f620d` |
83+
| `OnlyAppGateway()` | `0xfec944ea` |
84+
| `WinningBidExists()` | `0xe8733654` |
85+
| `InsufficientFees()` | `0x8d53e553` |
86+
| `ReadOnlyRequests()` | `0x5f16b0e6` |
87+
| `RequestPayloadCountLimitExceeded()` | `0xcbef144b` |
88+
| `MaxMsgValueLimitExceeded()` | `0x97b4e8ce` |
89+
90+
## protocol/payload-delivery/app-gateway/FeesHelpers.sol
91+
92+
| Error | Signature |
93+
| --------------------------------------------- | ------------ |
94+
| `NewMaxFeesLowerThanCurrent(uint256,uint256)` | `0x1345dda1` |
10295

10396
## protocol/socket/Socket.sol
10497

@@ -109,6 +102,8 @@
109102
| `LowGasLimit()` | `0xd38edae0` |
110103
| `InvalidSlug()` | `0x290a8315` |
111104
| `DeadlinePassed()` | `0x70f65caa` |
105+
| `InsufficientMsgValue()` | `0x78f38f76` |
106+
| `ReadOnlyCall()` | `0xcf8fd6f1` |
112107

113108
## protocol/socket/SocketConfig.sol
114109

@@ -119,11 +114,12 @@
119114
| `SwitchboardExists()` | `0x2dff8555` |
120115
| `SwitchboardExistsOrDisabled()` | `0x1c7d2487` |
121116

122-
## protocol/socket/SocketUtils.sol
117+
## protocol/socket/SocketFeeManager.sol
123118

124-
| Error | Signature |
125-
| ---------------------- | ------------ |
126-
| `InvalidTransmitter()` | `0x58a70a0a` |
119+
| Error | Signature |
120+
| -------------------- | ------------ |
121+
| `InsufficientFees()` | `0x8d53e553` |
122+
| `FeeTooLow()` | `0x732f9413` |
127123

128124
## protocol/socket/switchboard/FastSwitchboard.sol
129125

@@ -132,12 +128,6 @@
132128
| `AlreadyAttested()` | `0x35d90805` |
133129
| `WatcherNotFound()` | `0xa278e4ad` |
134130

135-
## protocol/socket/switchboard/SwitchboardBase.sol
136-
137-
| Error | Signature |
138-
| ---------------- | ------------ |
139-
| `InvalidNonce()` | `0x756688fe` |
140-
141131
## protocol/utils/AccessControl.sol
142132

143133
| Error | Signature |
@@ -156,31 +146,22 @@
156146

157147
| Error | Signature |
158148
| ---------------------------- | ------------ |
159-
| `NotAuthorized()` | `0xea8e4eb5` |
160-
| `NotBridge()` | `0x7fea9dc5` |
161149
| `NotSocket()` | `0xc59f8f7c` |
162-
| `ConnectorUnavailable()` | `0xb1efb84a` |
163-
| `InvalidTokenContract()` | `0x29bdfb34` |
164-
| `ZeroAddressReceiver()` | `0x96bbcf1e` |
165150
| `ZeroAddress()` | `0xd92e233d` |
166-
| `ZeroAmount()` | `0x1f2a2005` |
167-
| `InsufficientFunds()` | `0x356680b7` |
168-
| `InvalidSigner()` | `0x815e1d64` |
169-
| `InvalidFunction()` | `0xdb2079c3` |
170151
| `TimeoutDelayTooLarge()` | `0xc10bfe64` |
171152
| `TimeoutAlreadyResolved()` | `0x7dc8be06` |
172153
| `ResolvingTimeoutTooEarly()` | `0x28fd4c50` |
173154
| `LimitReached()` | `0x3dd19101` |
174155
| `FeesAlreadyPaid()` | `0xd3b1ad69` |
175156
| `NotAuctionManager()` | `0x87944c26` |
176157
| `CallFailed()` | `0x3204506f` |
177-
| `PlugDisconnected()` | `0xe741bafb` |
158+
| `PlugNotFound()` | `0x5f1ac76a` |
178159
| `InvalidAppGateway()` | `0x82ded261` |
179160
| `AppGatewayAlreadyCalled()` | `0xb224683f` |
180161
| `InvalidInboxCaller()` | `0x4f1aa61e` |
162+
| `InvalidCallerTriggered()` | `0x3292d247` |
181163
| `PromisesNotResolved()` | `0xb91dbe7d` |
182164
| `InvalidPromise()` | `0x45f2d176` |
183-
| `InvalidIndex()` | `0x63df8171` |
184165
| `InvalidTransmitter()` | `0x58a70a0a` |
185166
| `FeesNotSet()` | `0x2a831034` |
186167
| `InvalidTokenAddress()` | `0x1eb00b06` |
@@ -191,12 +172,22 @@
191172
| `BidExceedsMaxFees()` | `0x4c923f3c` |
192173
| `LowerBidAlreadyExists()` | `0xaaa1f709` |
193174
| `AsyncModifierNotUsed()` | `0xb9521e1a` |
175+
| `InvalidIndex()` | `0x63df8171` |
176+
| `RequestAlreadyExecuted()` | `0xd6f1f946` |
177+
| `NoAsyncPromiseFound()` | `0xa2928f68` |
178+
| `PromiseCallerMismatch()` | `0x2b87f115` |
179+
| `RequestCountMismatch()` | `0x98bbcbff` |
180+
| `DeliveryHelperNotSet()` | `0x07e6c946` |
194181

195182
## protocol/watcherPrecompile/WatcherPrecompileConfig.sol
196183

197-
| Error | Signature |
198-
| --------------------------- | ------------ |
199-
| `InvalidGateway()` | `0xfc9dfe85` |
200-
| `InvalidSwitchboard()` | `0xf63c9e4d` |
201-
| `NonceUsed()` | `0x1f6d5aef` |
202-
| `InvalidWatcherSignature()` | `0x5029f14f` |
184+
| Error | Signature |
185+
| ---------------------- | ------------ |
186+
| `InvalidGateway()` | `0xfc9dfe85` |
187+
| `InvalidSwitchboard()` | `0xf63c9e4d` |
188+
189+
## protocol/watcherPrecompile/WatcherPrecompileLimits.sol
190+
191+
| Error | Signature |
192+
| ---------------------------- | ------------ |
193+
| `WatcherFeesNotSet(bytes32)` | `0x1ce1de3f` |

0 commit comments

Comments
 (0)