Skip to content

Commit

Permalink
Fix: No transactions error (#131)
Browse files Browse the repository at this point in the history
* Comment out not tx error message

* bump 0.8.3
  • Loading branch information
its-everdred authored Jun 11, 2024
1 parent 3ca390f commit 5b72fc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xmetropolis/metal",
"version": "0.8.2",
"version": "0.8.3",
"description": "Smart contract visualization tool.",
"author": "Metropolis (@0xmetropolis)",
"bin": {
Expand Down
10 changes: 5 additions & 5 deletions src/utils/foundry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,11 @@ export const runForgeScriptForPreviewCommand = async (scriptArgs: string[]) => {
});
});

if (state.transactionCounter === 0)
await exit(
'Your forge script does not contain any transactions to simulate!',
'Please add a transaction to your forge script and try again.',
);
// if (state.transactionCounter === 0)
// await exit(
// 'Your forge script does not contain any transactions to simulate!',
// 'Please add a transaction to your forge script and try again.',
// );
};

export const runForgeBuild = async (buildOpts: string[]) => {
Expand Down

0 comments on commit 5b72fc6

Please sign in to comment.