Multiple problems occurred during migration dApp from Ethereum blockchain to xDai blockchain
We are trying to migrate our dApp from Ethereum to xDai blockchain. To do the migration we need to send ~43000 transactions ASAP.
Today we tried to do the migration but received a lot of unexpected errors:
- Wrong response id “1”, expected (X number) - these errors seems to appear during “call” (receipt, get block number) methods
- Too many requests (ok, probably we need to send less RPC requests)
- And a lot of error related to nonce (ok, maybe the errors are related to our script, but not xdai network)
We tried to send approx. ~250 requests in ~5 seconds.
We are using latest version of Web3 library.
Used RPC endpoints:
We tried both endpoints (each one individually)
const web3 = Web3(‘https://rpc.xdaichain.com’)
Is something special that we need to change in our system to migrate from Ethereum network to xDai network?
Our project works just fine on Ethereum network.