Fix block processing job created twice when processing missing parent block (#67)

* Fix block processing job created twice in watcher

* Fix block processing job for missing parent blocks
This commit is contained in:
2021-12-28 16:08:05 +05:30
committed by nabarun
parent faf046d181
commit 30f3c9e694
6 changed files with 27 additions and 16 deletions
-1
View File
@@ -159,7 +159,6 @@ export const instantiate = async (
// TODO: Check for function overloading.
let result = await contract[functionName](...functionParams);
// TODO: Check for function overloading.
// Using function signature does not work.
const { outputs } = contract.interface.getFunction(functionName);
assert(outputs);
@@ -143,7 +143,6 @@ export function testStructEthCall (): void {
log.debug('In test struct eth call', []);
// Bind the contract to the address that emitted the event.
// TODO: Address.fromString throws error in WASM module instantiation.
const contractAddress = dataSource.address();
const contract = Example1.bind(contractAddress);