Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Dec 4, 2024
1 parent d6f869f commit fae15fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ export async function handleRevert(
gasPrice: tx.gasPrice,
blockNumber: tx.blockNumber,
});
// return {
// err: "transaction reverted onchain, but simulation indicates that it should have been successful",
// nodeError: false,
// snapshot:
// "transaction reverted onchain, but simulation indicates that it should have been successful",
// };
return {
err: "transaction reverted onchain and simulation failed to find out what was the revert reason, please try to simulate the tx manualy for more details",
nodeError: false,
snapshot:
"transaction reverted onchain and simulation failed to find out what was the revert reason, please try to simulate the tx manualy for more details",
};
return undefined;
} catch (err: any) {
return {
Expand Down

0 comments on commit fae15fa

Please sign in to comment.