Skip to content

Commit bc78032

Browse files
committed
fix ranges
1 parent 8ab56cf commit bc78032

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/extensions/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Currently, only below methods import all the error groups via `$ref` and may inc
3333
| JSON-RPC non-standard | Client-specific | $-32099$ to $-32000$ | JSON-RPC 2.0 addendum |
3434
| Gas errors | `GAS_ERRORS` | $800$ to $999$ | `gas-error-groups.yaml` |
3535
| Execution errors | `EXECUTION_ERRORS` | $1$ to $999$ | `execution-errors.yaml` |
36-
| TxPool errors | `TXPOOL_ERRORS` | $1000$ to $1200$ | `txpool-errors.yaml` |
37-
| ZK execution errors | `ZK_EXECUTION_ERRORS` | $2000$ to $2200$ | `zk-execution-errors.yaml` |
36+
| TxPool errors | `TXPOOL_ERRORS` | $1000$ to $1199$ | `txpool-errors.yaml` |
37+
| ZK execution errors | `ZK_EXECUTION_ERRORS` | $2000$ to $2199$ | `zk-execution-errors.yaml` |
3838

3939

4040
**Validation** of these bands happens through `XErrorGroupsJSON.schema` in `scripts/build.js`, so build failures flag any out-of-range additions early.

src/extensions/schemas/x-error-category-ranges.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"then": {
5353
"properties": {
54-
"code": { "type": "integer", "minimum": 1000, "maximum": 1200 }
54+
"code": { "type": "integer", "minimum": 1000, "maximum": 1199 }
5555
}
5656
}
5757
},
@@ -64,7 +64,7 @@
6464
},
6565
"then": {
6666
"properties": {
67-
"code": { "type": "integer", "minimum": 2000, "maximum": 2200 }
67+
"code": { "type": "integer", "minimum": 2000, "maximum": 2199 }
6868
}
6969
}
7070
}

0 commit comments

Comments
 (0)