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
@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
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