Hi all, I'm new to solidity...I'm doing some test with bsc testnet. whem I try to deploy contract i get an error: { "code": -32000, "message": "gas required exceeds allowance (29882814) or always failing transaction" }
Apr 17, 2021, 8:40 PM
someone can help me?
Apr 17, 2021, 8:41 PM
Share ss
Apr 17, 2021, 8:49 PM
mean source code?
Apr 17, 2021, 8:50 PM
u need to add gas when deploy the contract
Apr 17, 2021, 9:22 PM
Yes I have the remix default 3000000
Apr 17, 2021, 9:23 PM
so u deploy the smart contract using remix?
Apr 17, 2021, 9:24 PM
Yes, it's not a good way?
Apr 17, 2021, 9:24 PM
im not sure that we can deploy the smart contract on remix but usually i deploy by using web3 and test network api
Apr 17, 2021, 9:26 PM
I use same web3, connecting metamask account to remix
Apr 17, 2021, 9:27 PM
can u try others test network?
rinkeby?
Apr 17, 2021, 9:28 PM
Never used, can be binance smart chain fault?
Apr 17, 2021, 9:30 PM
maybe... but i used to deploy my smart contract on rinkeby test net
Apr 17, 2021, 9:33 PM
I found on stack owerflow: Another question Is pancake router working in BSC testnet?I noticed when i remove all code connected with adding liquidity etc it is working well.
Could be this?
Apr 17, 2021, 9:36 PM
not sure man, but u can try. Sorry, im not used with bsc testnet
Apr 17, 2021, 9:47 PM
Don't worry, Thank you for your time!
Apr 17, 2021, 9:57 PM