integritee-network / worker

Integritee off-chain worker and sidechain validateer
Apache License 2.0
89 stars 46 forks source link

Contract call error #180

Closed kumari-hub closed 4 years ago

kumari-hub commented 4 years ago

When I am trying to upload the wasm file in substrate node I am getting error

Code is - const keyring = new Keyring({ type: 'sr25519' }); const alice = keyring.addFromUri('//Alice'); const code = fs.readFileSync('./flipper.wasm').toString('hex'); const result = await api.tx.contracts.putCode(code).signAndSend(alice);

Error is - submitExtrinsic(extrinsic: Extrinsic): Hash:: 1002: Verification Error: Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiSignature: RuntimeApi("Execution: Could not convert parameter tx between node and runtime: No such variant in Error: 1002: Verification Error: Execution: Could not convert parameter tx between node and runtime: No such variant in enum MultiSignature: RuntimeApi("Execution: Could not convert parameter tx between node and runtime: No such variant in

brenzi commented 4 years ago

@kumari23anjali I think you've hit the wrong repo. SubstraTEE is not substrate. Our SubstraTEE-node does not feature the contract pallet. I guess you're looking for either ink! or paritytech/substrate