Hi does anyone else have such many problems with bsc rpcs?
Getting 32000 „header not found“ at deployments…
Local and testnet just works fine …
Is it a problem of the bsc rpc or is there any workaround?
Dec 5, 2021, 9:22 PM
No one?
Dec 6, 2021, 11:39 AM
change the rpc
Dec 6, 2021, 11:43 AM
Tried all …
Dec 6, 2021, 11:43 AM
The code is -32000?
Dec 6, 2021, 11:44 AM
Yes
It’s from the bsc RPC I guess but I wondering to don't read anything about that... Had it for two days now
Dec 6, 2021, 11:46 AM
Does your contract call any external function?
Dec 6, 2021, 11:47 AM
What do you mean by that?
Dec 6, 2021, 11:48 AM
like calling an external contracts function from within the constructor?
Dec 6, 2021, 11:49 AM
Ahh no if you mean an existing contract. But it's a proxy contract so yes there some calls between the admin and the main contract.
But it fails randomly before the first txn or after the first txn (the contract creation of the main contract)
But it fails randomly before the first txn or after the first txn (the contract creation of the main contract)
Dec 6, 2021, 11:51 AM
So its likely those addresses don't exist on mainnet.
Dec 6, 2021, 11:52 AM
No, they should be there it's ordered...
But as you say maybe I set the wait for confirmation flag higher. Did not try that so far
But as you say maybe I set the wait for confirmation flag higher. Did not try that so far
Dec 6, 2021, 11:54 AM
It'd be something like that, throwing in constructor.
Dec 6, 2021, 11:56 AM
Mhmm but if that would be the case it would also be an issue on test et right?
Is not the same
*you cant do that "easy" in solidity ...
because you need to sqrt out the ^ ... same issue as ^
I guess you can do that with: https://github.com/abdk-consulting/abdk-libraries-solidity/blob/master/ABDKMathQuad.sol
What do you want to do?
because you need to sqrt out the ^ ... same issue as ^
I guess you can do that with: https://github.com/abdk-consulting/abdk-libraries-solidity/blob/master/ABDKMathQuad.sol
What do you want to do?
Dec 6, 2021, 12:24 PM
no, the contract may likely be already deployed on testnet
Dec 6, 2021, 12:31 PM