Skip to content

Commit 575ceb8

Browse files
committed
fix: fixes
1 parent 506d362 commit 575ceb8

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

crates/core/src/decode/host_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ mod tests {
373373
);
374374
assert_eq!(
375375
HostError::Crypto { code: 0 }.summary(),
376-
"Invalid cryptographic input: a public key, signature, or hash input has the wrong length or format."
376+
"Invalid cryptographic input: the supplied key, signature, or hash has an invalid format or length."
377377
);
378378
assert_eq!(
379379
HostError::Contract { code: 0 }.summary(),

crates/core/src/taxonomy/data/budget.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ requires_upgrade = false
161161
description = "Inspect the resource profile to identify the expensive contract call"
162162
difficulty = "medium"
163163
requires_upgrade = false
164+
165+
[[errors]]
164166
id = "host.budget.approaching_limit"
165167
category = "budget"
166168
code = 3

crates/core/src/taxonomy/data/storage.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Storage Error Taxonomy
1+
# Storage Error Taxonomy
22
# Category: Storage — errors related to ledger entry access and contract data operations.
33

44
[category]
@@ -149,6 +149,8 @@ requires_upgrade = false
149149
description = "Retry on a fresh ledger state or report the transaction if the failure is reproducible"
150150
difficulty = "medium"
151151
requires_upgrade = false
152+
153+
[[errors]]
152154
id = "host.storage.near_expiry"
153155
category = "storage"
154156
code = 4

0 commit comments

Comments
 (0)