Created
August 10, 2022 05:27
-
-
Save excalq/20c444fb8b60ecb237c00d33430e9162 to your computer and use it in GitHub Desktop.
Revisions
-
excalq created this gist
Aug 10, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ $ npx ts-node scripts/bridge.ts --destination moonbase --ship 1297 Teleporting ship from Bobabase to Moonbase Alpha Exit Fee is: 1.0 BOBA /home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:261 const error: any = new Error(message); ^ <ref *1> Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"reason":"execution reverted: L2_BOBA: approve is disabled pending further community discussion.","code":"UNPREDICTABLE_GAS_LIMIT","method":"estimateGas","transaction":{"from":"0x51F5c4154854c7Dc64642a8eE79DAAdB3da57569","gasPrice":{"type":"BigNumber","hex":"0x3b9aca00"},"to":"0x4200000000000000000000000000000000000006","data":"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000","accessList":null},"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32000,\"message\":\"execution reverted: L2_BOBA: approve is disabled pending further community discussion.\"},\"id\":70}\n","error":{"code":-32000},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"gasPrice\":\"0x3b9aca00\",\"from\":\"0x51f5c4154854c7dc64642a8ee79daadb3da57569\",\"to\":\"0x4200000000000000000000000000000000000006\",\"data\":\"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000\"}],\"id\":70,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://bobabase.boba.network"}}, tx={"data":"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000","to":{},"from":"0x51F5c4154854c7Dc64642a8eE79DAAdB3da57569","gasPrice":{"type":"BigNumber","hex":"0x3b9aca00"},"type":0,"nonce":{},"gasLimit":{},"chainId":{}}, code=UNPREDICTABLE_GAS_LIMIT, version=abstract-signer/5.6.2) at Logger.makeError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:261:28) at Logger.throwError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:273:20) at /home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/abstract-signer/src.ts/index.ts:301:31 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Promise.all (index 6) { reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT', error: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: L2_BOBA: approve is disabled pending further community discussion.", method="estimateGas", transaction={"from":"0x51F5c4154854c7Dc64642a8eE79DAAdB3da57569","gasPrice":{"type":"BigNumber","hex":"0x3b9aca00"},"to":"0x4200000000000000000000000000000000000006","data":"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000","accessList":null}, error={"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32000,\"message\":\"execution reverted: L2_BOBA: approve is disabled pending further community discussion.\"},\"id\":70}\n","error":{"code":-32000},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"gasPrice\":\"0x3b9aca00\",\"from\":\"0x51f5c4154854c7dc64642a8ee79daadb3da57569\",\"to\":\"0x4200000000000000000000000000000000000006\",\"data\":\"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000\"}],\"id\":70,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://bobabase.boba.network"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.6.8) at Logger.makeError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:261:28) at Logger.throwError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:273:20) at checkError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at JsonRpcProvider.<anonymous> (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:603:20) at step (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at Object.throw (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53) at rejected (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'execution reverted: L2_BOBA: approve is disabled pending further community discussion.', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x51F5c4154854c7Dc64642a8eE79DAAdB3da57569', gasPrice: [BigNumber], to: '0x4200000000000000000000000000000000000006', data: '0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000', accessList: null }, error: Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32000,\"message\":\"execution reverted: L2_BOBA: approve is disabled pending further community discussion.\"},\"id\":70}\n", error={"code":-32000}, requestBody="{\"method\":\"eth_estimateGas\",\"params\":[{\"gasPrice\":\"0x3b9aca00\",\"from\":\"0x51f5c4154854c7dc64642a8ee79daadb3da57569\",\"to\":\"0x4200000000000000000000000000000000000006\",\"data\":\"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000\"}],\"id\":70,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="https://bobabase.boba.network", code=SERVER_ERROR, version=web/5.6.1) at Logger.makeError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:261:28) at Logger.throwError (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/logger/src.ts/index.ts:273:20) at /home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/web/src.ts/index.ts:329:28 at step (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/web/lib/index.js:33:23) at Object.next (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/web/lib/index.js:14:53) at fulfilled (/home/arthur/Documents/_Partavate/code/experimental/bobabeam/evm/node_modules/@ethersproject/web/lib/index.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'processing response error', code: 'SERVER_ERROR', body: '{"jsonrpc":"2.0","error":{"code":-32000,"message":"execution reverted: L2_BOBA: approve is disabled pending further community discussion."},"id":70}\n', error: [Error], requestBody: '{"method":"eth_estimateGas","params":[{"gasPrice":"0x3b9aca00","from":"0x51f5c4154854c7dc64642a8ee79daadb3da57569","to":"0x4200000000000000000000000000000000000006","data":"0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000"}],"id":70,"jsonrpc":"2.0"}', requestMethod: 'POST', url: 'https://bobabase.boba.network' } }, tx: { data: '0x095ea7b300000000000000000000000064371c6b9acfdbc14a98cd794a531ff737ef0f980000000000000000000000000000000000000000000000000de0b6b3a7640000', to: Promise { '0x4200000000000000000000000000000000000006' }, from: '0x51F5c4154854c7Dc64642a8eE79DAAdB3da57569', gasPrice: BigNumber { _hex: '0x3b9aca00', _isBigNumber: true }, type: 0, nonce: Promise { 18 }, gasLimit: Promise { <rejected> [Circular *1] }, chainId: Promise { 1297 } } }