You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prepare .env. Only PRIVATE_KEY is needed and the subchain ETH value on the account to deploy contracts + WAIT_CONFIRMATIONS=5 for the same tests on the calibration
All contracts already deployed. If you want to redeploy: delete deployments repo and start with: npx hardhat deploy --network ipcsubnet & npx hardhat deploy --network calibration
npx hardhat check --network ipcsubnet - it fails with provider error
Additionally, you could check that with npx hardhat check --network calibration it works as expected
PS. I put some logs according to the repo of reproducing. But when I was working with proxy like contracts in https://github.com/fluencelabs/deal on kinda the same call rpc requests, ipc subnet returned me:
An unexpected error occurred:
ProviderError: pre-validation failed: Message has no gas limit set
at HttpProvider.request (/Users/ivan/Documents/fluence/deal/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async staticCallResult (/Users/ivan/Documents/fluence/deal/node_modules/ethers/src.ts/contract/contract.ts:323:22)
at async staticCall (/Users/ivan/Documents/fluence/deal/node_modules/ethers/src.ts/contract/contract.ts:289:24)
at async Proxy.name (/Users/ivan/Documents/fluence/deal/node_modules/ethers/src.ts/contract/contract.ts:337:41)
at async SimpleTaskDefinition.action (/Users/ivan/Documents/fluence/deal/tasks/newtask.ts:25:48)
at async Environment._runTaskDefinition (/Users/ivan/Documents/fluence/deal/node_modules/hardhat/src/internal/core/runtime-environment.ts:358:14)
at async Environment.run (/Users/ivan/Documents/fluence/deal/node_modules/hardhat/src/internal/core/runtime-environment.ts:191:14)
at async main (/Users/ivan/Documents/fluence/deal/node_modules/hardhat/src/internal/cli/cli.ts:324:7)
Relevant log output
An unexpected error occurred:
Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"from":"0xC6309b310D589679E9682B47A65c913F158e5953","to":"0x0C1DeADCaC1C77a927d8556E163fd54b5D9eca4b","data":"0x8da5cb5b","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: HttpProviderError\n at HttpProvider.request (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/hardhat/src/internal/core/providers/http.ts:78:19)\n at LocalAccountsProvider.request (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/hardhat/src/internal/core/providers/accounts.ts:187:34)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async EthersProviderWrapper.send (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":10,"_isProviderError":true,"data":""}, code=CALL_EXCEPTION, version=providers/5.7.2)
at Logger.makeError (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
at Logger.throwError (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
at checkError (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:66:16)
at EthersProviderWrapper.<anonymous> (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20)
at step (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
at Object.throw (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
at rejected (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
reason: 'missing revert data in call exception; Transaction reverted without a reason string',
code: 'CALL_EXCEPTION',
data: '0x',
transaction: {
from: '0xC6309b310D589679E9682B47A65c913F158e5953',
to: '0x0C1DeADCaC1C77a927d8556E163fd54b5D9eca4b',
data: '0x8da5cb5b',
accessList: null
},
error: ProviderError: HttpProviderError
at HttpProvider.request (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/hardhat/src/internal/core/providers/http.ts:78:19)
at LocalAccountsProvider.request (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/hardhat/src/internal/core/providers/accounts.ts:187:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async EthersProviderWrapper.send (/Users/ivan/Documents/fluence/ipc-debugging/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)
}
The text was updated successfully, but these errors were encountered:
Issue type
Bug
Have you reproduced the bug with the latest dev version?
No
Version
b1dc6c1
Custom code
No
OS platform and distribution
No response
Describe the issue
Hi, issue related to the subnet mentioned in the #188 and in the example repo.
when I deployed the contract on IPC subnet and tried to call e.g. Token owner() method it returns with exception.
On calibration the same works as expected
Repro steps
Fetch https://github.com/AlcibiadesCleinias/ipc-debugging
npm i
WAIT_CONFIRMATIONS=5
for the same tests on the calibrationnpx hardhat deploy --network ipcsubnet
&npx hardhat deploy --network calibration
npx hardhat check --network ipcsubnet
- it fails with provider errorAdditionally, you could check that with
npx hardhat check --network calibration
it works as expectedPS. I put some logs according to the repo of reproducing. But when I was working with proxy like contracts in https://github.com/fluencelabs/deal on kinda the same call rpc requests, ipc subnet returned me:
Relevant log output
The text was updated successfully, but these errors were encountered: