|
|
@ -128,7 +128,7 @@ async function checkMessage( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
await recipient.callStatic.handle( |
|
|
|
await recipient.estimateGas.handle( |
|
|
|
message.parsed.origin, |
|
|
|
message.parsed.origin, |
|
|
|
message.parsed.sender, |
|
|
|
message.parsed.sender, |
|
|
|
message.parsed.body, |
|
|
|
message.parsed.body, |
|
|
@ -138,10 +138,12 @@ async function checkMessage( |
|
|
|
'Calling recipient `handle` function from the inbox does not revert', |
|
|
|
'Calling recipient `handle` function from the inbox does not revert', |
|
|
|
); |
|
|
|
); |
|
|
|
} catch (err: any) { |
|
|
|
} catch (err: any) { |
|
|
|
console.error( |
|
|
|
console.error(`Error calling recipient \`handle\` function from the inbox`); |
|
|
|
`Error calling recipient \`handle\` function from the inbox`, |
|
|
|
if (err.reason) { |
|
|
|
err, |
|
|
|
console.error('Reason: ', err.reason); |
|
|
|
); |
|
|
|
} else { |
|
|
|
|
|
|
|
console.error(err); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|