hi, I made a whitelist contract and a public function to add addresses to the contract which can be done only by the owner which I imported from openZeppelin Ownable contract. then I verified the contract and for testing I connect to it with some different metamask address and try to add some address to the whitelist
Apr 25, 2023, 9:32 AM
and for some reasong it still invokes the metamask and tries to make the tx (but it's too expensive and stuff). is this how it suppose to be?
I thought it won't even invoke the MM and throw an some error like you're not the owner blabla. no?:)
this happens it I try to add someone from the not owner acccount
hmm now it works... I guess there's smth wrong with the provider state on the etherscan or smth....
Apr 25, 2023, 9:37 AM
This is metamasks way of saying this transaction is going to revert
It won't show you the actual reason of why its reverting
Apr 25, 2023, 9:52 AM
thanks a lot!:)
Apr 25, 2023, 9:58 AM