razor-network/bridge-proxy

xdc deployment doesnt work

Closed this issue · 1 comments

maybe because xdc uses different address scheme. fix and test properly.

Validating block timestamp of the deploying chain
Deployer address: 0xB32A48c1FC59A9954617D8B22c72f509E985a852
Oracle Chain Latest Block Timestamp: 1709199370
An error occurred: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)
    at Logger.makeError (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\logger\src.ts\index.ts:269:28)
    at Logger.throwError (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\logger\src.ts\index.ts:281:20)
    at EthersProviderWrapper.<anonymous> (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\src.ts\json-rpc-provider.ts:483:23)
    at step (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:48:23)
    at Object.throw (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:29:53)
    at rejected (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:21:65)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at processTimers (node:internal/timers:514:7) {
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)
    at Logger.makeError (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\logger\src.ts\index.ts:269:28)
    at Logger.throwError (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\logger\src.ts\index.ts:281:20)
    at EthersProviderWrapper.<anonymous> (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\src.ts\json-rpc-provider.ts:483:23)
    at step (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:48:23)
    at Object.throw (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:29:53)
    at rejected (C:\Users\Hrishikesh\razor\bridge-proxy\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:21:65)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at processTimers (node:internal/timers:514:7) {
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}```

solved