Created
April 12, 2025 12:22
-
-
Save muddlebee/9b1374e65bf195f4ebb03f1adee19f01 to your computer and use it in GitHub Desktop.
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 characters
| pnpm contracts:deploy | |
| > my-polkadot-dapp@0.0.0 contracts:deploy /home/muddl/smart-contracts/my-polkadot-dapp | |
| > pnpm --filter=contracts deploy-contracts | |
| > contracts@0.0.0 deploy-contracts /home/muddl/smart-contracts/my-polkadot-dapp/contracts | |
| > npx tsc && node dist/deploy.js | |
| Deploying contract Context... | |
| Error: missing revert data (action="estimateGas", data=null, reason=null, transaction={ "data": "0x", "from": "0x890d97E86E167B0D7130e9305F63601294CB4d44", "to": null }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.4) | |
| at makeError (file:///home/muddl/smart-contracts/my-polkadot-dapp/node_modules/.pnpm/ethers@6.13.4/node_modules/ethers/lib.esm/utils/errors.js:124:21) | |
| at getBuiltinCallException (file:///home/muddl/smart-contracts/my-polkadot-dapp/node_modules/.pnpm/ethers@6.13.4/node_modules/ethers/lib.esm/abi/abi-coder.js:102:12) | |
| at AbiCoder.getBuiltinCallException (file:///home/muddl/smart-contracts/my-polkadot-dapp/node_modules/.pnpm/ethers@6.13.4/node_modules/ethers/lib.esm/abi/abi-coder.js:203:16) | |
| at JsonRpcProvider.getRpcError (file:///home/muddl/smart-contracts/my-polkadot-dapp/node_modules/.pnpm/ethers@6.13.4/node_modules/ethers/lib.esm/providers/provider-jsonrpc.js:672:32) | |
| at file:///home/muddl/smart-contracts/my-polkadot-dapp/node_modules/.pnpm/ethers@6.13.4/node_modules/ethers/lib.esm/providers/provider-jsonrpc.js:298:45 | |
| at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { | |
| code: 'CALL_EXCEPTION', | |
| action: 'estimateGas', | |
| data: null, | |
| reason: null, | |
| transaction: { | |
| to: null, | |
| data: '0x', | |
| from: '0x890d97E86E167B0D7130e9305F63601294CB4d44' | |
| }, | |
| invocation: null, | |
| revert: null, | |
| shortMessage: 'missing revert data', | |
| info: { | |
| error: { | |
| code: -32000, | |
| message: 'Failed to instantiate contract: Module(ModuleError { index: 60, error: [26, 0, 0, 0], message: Some("CodeRejected") })' | |
| }, | |
| payload: { | |
| method: 'eth_estimateGas', | |
| params: [Array], | |
| id: 3, | |
| jsonrpc: '2.0' | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment