hey, does anybody know if PCS has a different router address for BSC testnet? It's weird, I can deploy to BSC mainnet but testnet always gives me the insufficient gas error
Mar 30, 2021, 6:15 AM
Let me guess - ESCTIMEDOUT?
Mar 30, 2021, 6:23 AM
I dont think so, it's the "this transaction will always fail" and exceeds max gas fees
when I got to debug it shows me the line where you create the router with the router adress
I've tried it on ropsten as well and there seems to be main and test net address for the uniswap router
so I was thinking there might be a different address for pancake swap on BSC testnet as well. Idk, still digging
so yeah I get this error when deploying to testnet "{ "code": -32000, "message": "gas required exceeds allowance (30000000) or always failing transaction" }"
but deploying to BSC main, no error
but deploying to BSC main, no error
oh you know what I think PCS isnt configured for test net like Uniswap is, actually
Mar 30, 2021, 6:38 AM
Hope this helps 👆
Mar 30, 2021, 7:39 AM
Thanks! I’ve been searching everywhere for this, where did you find it?
Mar 30, 2021, 7:53 AM
Guys what mean Limbo contract?
Mar 30, 2021, 8:18 AM
Dont know exactly😄, i was also looking for testnet contracts for pcs, just like uniswap... few months back and found these
This testnet pancake had many of the pools already created
Mar 30, 2021, 8:44 AM
What is cheaper - to create one storage var and rewrite it everytime the method is used, or after every usage create local memory variable and write in it?
Guys need some help
I got this
But
Here is my migration script
Also artifacts are required
Nvm guys, ganache boy needed a restart, ok
Mar 30, 2021, 10:58 AM