@fuel-ts/account 0.0.0-rc-1895-20240328110906 → 0.0.0-rc-1895-20240328113714
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/dist/index.global.js +3 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/test-utils.global.js +3 -3
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +3 -3
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +3 -3
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
@@ -42810,7 +42810,7 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
|
|
42810
42810
|
const reasonHex = bn(revertReceipt.val).toHex();
|
42811
42811
|
switch (reasonHex) {
|
42812
42812
|
case FAILED_REQUIRE_SIGNAL: {
|
42813
|
-
errorMessage = `The transaction reverted because
|
42813
|
+
errorMessage = `The transaction reverted because a "require" statement has thrown ${logs.length ? stringify2(logs[0]) : "an error."}.`;
|
42814
42814
|
break;
|
42815
42815
|
}
|
42816
42816
|
case FAILED_ASSERT_EQ_SIGNAL: {
|
@@ -42824,10 +42824,10 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
|
|
42824
42824
|
break;
|
42825
42825
|
}
|
42826
42826
|
case FAILED_ASSERT_SIGNAL:
|
42827
|
-
errorMessage = `The transaction reverted because
|
42827
|
+
errorMessage = `The transaction reverted because an "assert" statement failed to evaluate to true.`;
|
42828
42828
|
break;
|
42829
42829
|
case FAILED_TRANSFER_TO_ADDRESS_SIGNAL:
|
42830
|
-
errorMessage = `The transaction reverted because missing "OutputChange"
|
42830
|
+
errorMessage = `The transaction reverted because it's missing an "OutputChange".`;
|
42831
42831
|
break;
|
42832
42832
|
default:
|
42833
42833
|
errorMessage = `The transaction reverted with an unknown reason: ${revertReceipt.val}`;
|