trufflesuite / ganache-ui

Personal blockchain for Ethereum development
https://www.trufflesuite.com/ganache
MIT License
4.67k stars 806 forks source link

[bug] - Ganache GUI - Contracts tab says Ganache cannot connect to Truffle project #5493

Open jehtee opened 1 year ago

jehtee commented 1 year ago

image

I'm not sure if this is related, but when allocating test tokens to test accounts in deployment, the console shows that the expect tokens arrive where expected.

However, when i run a test script to print the role, address, and test token balance of each account, they all show 0.

However, when i send commends directly through the truffle cli i can query the test account and see the test tokens as expected.

I cannot figure out why the balances from the script are incorrect, or why Ganache says that it cannot connect with the Truffle project, or if these are related problems. But there are show stopping problems.

davidmurdoch commented 1 year ago

Can you share your test script?