804060ad34
We have seen an "no accounts" invalid operation getAddress when trying to call a contract function in the init calls. It seems ethers has a problem with a signer that does not have any accounts - even though we don't try to sign an actual transaction and only read data from the contract. This change only passes the signer if we have an unlocked web3 provider (metamask).