mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-12 02:27:31 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user