Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulating the transaction failed with error: Reverted without reason #5588

Closed
DongAoMainland opened this issue Aug 8, 2024 · 2 comments
Closed
Assignees
Labels
status:needs-more-info There's not enough information to start working on this issue

Comments

@DongAoMainland
Copy link

Version of Hardhat

2.22.8

What happened?

When I deploy the contract, I get the error:
[ ATBTokenModule ] failed ⛔

Futures failed during execution:

  • ATBTokenModule#ATBToken: Simulating the transaction failed with error: Reverted without reason

To learn how to handle these errors: https://hardhat.org/ignition-errors

Minimal reproduction steps

Just the command:
npx hardhat ignition deploy ./ignition/modules/ATBToken.js --network tbsc

Search terms

No response

@fvictorio fvictorio added this to Hardhat Aug 8, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Aug 8, 2024
@kanej kanej assigned kanej and unassigned schaable Aug 8, 2024
@kanej kanej added status:needs-more-info There's not enough information to start working on this issue and removed status:triaging labels Aug 9, 2024
@kanej
Copy link
Member

kanej commented Aug 9, 2024

Hey @DongAoMainland, this is expected behaviour. It means the deployment transaction ran Solidity code that reverted.

I would check the constructor of the ATBToken to determine what code was being executed. You should also try it against a local hardhat node to see if that gives more information.

@DongAoMainland
Copy link
Author

Hi @kanej , the issue is resolved.
The rootcase is the the contract call the pancake router v2. but use the wrong address.
Thank you!

@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Aug 10, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:needs-more-info There's not enough information to start working on this issue
Projects
Archived in project
Development

No branches or pull requests

3 participants