Hi, I am currently gettings this error.
process to replicate this error : git clone https://github.com/MoralisWeb3/demo-apps/tree/main/casino-dapp
start ganache
truffle compile
truffle deploy
get the deployed contract address
get the abi
run the front end
login via metamask
I successfully deployed the FlipContract, run the front-end, connect ganache accounts to metamask, I changed nothing but still getting this error
Deploying 'FlipContract'
------------------------
> transaction hash: 0x220c3f3b269effdf44d5973c5f3e0d1e4e745b63f5410e1bb54a68863df32314
> Blocks: 0 Seconds: 0
> contract address: 0xbcc2C41574351Dc75801efA100b8Fba4764532D1
> block number: 94
> block timestamp: 1633538594
> account: 0x7Cc4C28876d4F8C7C4A66ba1095D43c85Ee33E60
> balance: 100.80590688
> gas used: 708070 (0xacde6)
> gas price: 20 gwei
> value sent: 0 ETH
> total cost: 0.0141614 ETH
> Saving migration to chain.
> Saving artifacts
-------------------------------------
> Total cost: 0.0141614 ETH