Skip to content

Commit c4d4db4

Browse files
deprecation message reqorked
1 parent 5da5b4f commit c4d4db4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chain/vm/src/host/vm_hooks/vh_handler/vh_managed_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl<C: VMHooksContext> VMHooksHandler<C> {
130130
Ok(())
131131
}
132132

133-
/// This method has a bug, it doesn't handle negative numbers correctly, it converts to the absolute value of the number.
133+
/// This method has a bug that converts negative numbers to their absolute values.
134134
///
135135
/// The bug will be kept here, until it is also fixed on mainnet, to allow consistent testing.
136136
///

framework/meta-lib/src/ei/deprecated_ei.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub const DEPRECATED_VM_HOOKS_1_5: &[DeprecatedVMHook] = &[
6868
),
6969
DeprecatedVMHook::new(
7070
"mBufferFromSmallIntSigned",
71-
"This method has a bug, it doesn't handle negative numbers correctly, it converts to the absolute value of the number. Should not be used until the bug is fixed. Will be un-deprecated after that.",
71+
"This method has a bug that converts negative numbers to their absolute values. Do not use until the bug is fixed on mainnet. It will be un-deprecated once the VM bug is resolved.",
7272
),
7373
];
7474

0 commit comments

Comments
 (0)