Skip to content

Conversation

@aganisgash
Copy link
Contributor

When simulating multiple transactions, if any transaction fails, the error message only shows "Simulated execution failed." without indicating which transaction caused the failure. Makes debugging scripts with many transactions difficult.

Old:

Error: Simulated execution failed.

Now:

Error: Simulated execution failed for: Transaction #3, contract: MyToken, function: transfer

For multiple failures:

Error: Simulated execution failed for: Transaction #2, contract: MyToken, function: mint; Transaction #5, contract: Staking, function: stake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant