The window console that's used by the contracts is not the overwritten one that's in captureLogs.js, because 'chelonia/private/loadManifest' (which sets the console object that's used by the contracts) gets called by 'chelonia/configure' before captureLogsStart gets called.
Solution
Unclear, we need a non-GI-specific way of solving this, perhaps using events, perhaps by passing in a custom value via exposedGlobals.
Problem
The window console that's used by the contracts is not the overwritten one that's in
captureLogs.js
, because'chelonia/private/loadManifest'
(which sets theconsole
object that's used by the contracts) gets called by'chelonia/configure'
beforecaptureLogsStart
gets called.Solution
Unclear, we need a non-GI-specific way of solving this, perhaps using events, perhaps by passing in a custom value via
exposedGlobals
.