Closed arwer13 closed 1 year ago
Seems like it may be a bug with ape-ganache
actually
Can you try this same issue with ape-hardhat
or ape-foundry
to verify?
Same:
ape console --network ethereum:local:foundry
--> "... Current provider 'foundry' has no associated explorer plugin. ..."
Updated to ape 0.6.15: didn't help as well.
Same:
ape console --network ethereum:local:foundry
--> "... Current provider 'foundry' has no associated explorer plugin. ..."Updated to ape 0.6.15: didn't help as well.
I meant try with mainnet-fork
There are no explorers that will work with local
network, although it does keep track of your local deployments
It worked with mainnet-fork
. Thank you for help!
The confusion for me happened because I mainly run stuff on a separate manually started ganache instance, which got mentally treated just as "local" node with time.
I guess a bit more clarification in the error msg might help anyone like me, but I think the issue could just be closed as well.
Environment information
OS: macOS
Python Version: 3.10.12
ape
and plugin versions:Contents of your
ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):What went wrong?
Unable to get contract type in console although the plugin is installed.
or
When run tests like
ape test tests/test_foo.py -s --network :mainnet-fork:ganache
no such error occurs duringc = Contract(...
.How can it be fixed?
I think the explorer plugin should work in console as well. Either the error message be corrected, at least I don't get why explorer plugin must be tied to a provider.