Richard Moore
Richard Moore
The problem with relying on `"browser"` is that it doesn’t get pulled in by default in environments where it is difficult to specify `"mainFields"`. I tried this method originally and...
Looks like it is deprecated: https://gist.github.com/etaletai13/c1c3f47ec89459dfb3e049975115165c#jsnextmain
It was the top link in DuckDuckGo. I’m just trying to find info on these alternate properties...
See: https://webpack.js.org/configuration/resolve/#resolvemainfields But set the `mainFields` to `[ "main" ]`.
I’m still catching up on issues and preparing a minor bump. Is this problem occurring on an Ethereum network? Or is is another network, like BSC or matic? I worry...
I am wondering if this is a bug in hardhat? So, you are saying you subscribe to an event on a Hardhat in-memory node, and you get old events? When...
It shouldn’t send a request with a from block of -2, if it is, that is a bug. The -2 is a sentinel value only used for indicating it hasn’t...
Ok. I’ll look into that. That would be a bug.
Don’t worry about that too much yet. I’ll add some console.log statements to the code so I can see things and add more context.
@hickscorp The `.on` and `.once` set up a listener for events and will ignore `fromBlock` and `toBlock`. If you want to use getLogs you should either use the `provider.getLogs` or...