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

Token deployment sometimes fails #131

Open
MegaRedHand opened this issue Nov 28, 2024 · 0 comments
Open

Token deployment sometimes fails #131

MegaRedHand opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MegaRedHand
Copy link
Collaborator

MegaRedHand commented Nov 28, 2024

Describe the bug

When starting the devnet, sometimes the deployment of the mocktoken fails. This is probably due to some race condition. To check how it fails, we can modify this line to dump all output into a file and extract that file when executing it:

cmd = "set -e ; forge create --rpc-url {} --private-key 0x{} {} src/ERC20Mock.sol:ERC20Mock 2> /dev/null \
| awk '/Deployed to: .*/{{ print $3 }}' | tr -d '\"\n'".format(

To Reproduce

Start and stop multiple times until it happens. The config needs to have at least one strategy for the mocktoken to be deployed.

@MegaRedHand MegaRedHand added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant