diff --git a/libs/remix-lib/src/execution/txFormat.ts b/libs/remix-lib/src/execution/txFormat.ts index 9337d4ef6b..86718cf207 100644 --- a/libs/remix-lib/src/execution/txFormat.ts +++ b/libs/remix-lib/src/execution/txFormat.ts @@ -499,7 +499,7 @@ export const normalizeParam = (param) => { return param } -export const REGEX_SCIENTIFIC = /^(\d+\.?\d*)e\d*(\d+)$/ +export const REGEX_SCIENTIFIC = /^-?(\d+\.?\d*)e\d*(\d+)$/ export const REGEX_DECIMAL = /^\d*/