Bug in LZ-OFT-V2-Core-Guide

Hi everyone, i am trying to follow along the LZ-OFT-V2-Core-Guide tutorial.
I set the same configs that are proposed, and at the Deploying step, if fails every time for the Base-Sepolia network only (not the coredao) with this error :
√ Do you want to continue? … yes
Network: base-sepolia
Deployer: 0x893806663C6673b96f61914E17e002E4F303b62f
Network: coredao-testnet
Deployer: 0x893806663C6673b96f61914E17e002E4F303b62f
Deployed contract: MyOFT, network: coredao-testnet, address: 0xd8143F4931475260b4EcacFD9005cAF9C28E08f4
error: ⤫ Failed to deploy 1 network
√ Would you like to see the deployment errors? … yes
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Network base-sepolia │
│ Error Error: ERROR processing C:\github\layerzero-dev\LZ-OFT-V2-Core-Guide\lz_guide\deploy\MyOFT.ts: │
│ ProviderError: Can’t route your request to suitable provider, if you specified certain providers revise the list │
│ at HttpProvider.request (C:\github\layerzero-dev\LZ-OFT-V2-Core-Guide\lz_guide\node_modules.pnpm\[email protected]_bufferutil@4_a36e5fa54bb3f60446988e2add37e89e\node_modules\hardhat\src\internal\core\providers\http.ts:107:21) │
│ at processTicksAndRejections (node:internal/process/task_queues:105:5)

But my rpc endpoint is valid, so i don’t understand the error here.
If someone can help me on this ?

Hi,

Thanks for sharing the details. It looks like your deployment to coredao-testnet was successful, but the deployment to base-sepolia failed due to a ProviderError. Even though your RPC endpoint might be valid, this error usually means Hardhat is unable to establish a working connection through that endpoint.

Here are a few things you can check:

  1. Double-check your hardhat.config.ts for base-sepolia
  2. Ensure the url for the base-sepolia network is correct and live or try using different public rpc url’s
  3. Try with different network like Optimisum or arbitrum sepolia

If you are still facing issue, Please reach out to LayerZero Discord for further Support