Richard Moore

Results 530 comments of Richard Moore

The first part of this (the incorrect error message) has been fixed in [v6.8.1](https://github.com/ethers-io/ethers.js/releases/tag/v6.8.1). It requires a larger discussion on what the correct thing to do with invalid data with...

As an aside, a similar issue occurred once before, where due to a bug in Solidity, methods that were marked as `external` incorrectly padded event data (events emitted from `public`...

What version are you using? Is it the same case as [this in v6](https://github.com/ethers-io/ethers.js/blob/main/src.ts/providers/provider-etherscan.ts#L302) or is there another case that needs to handle it as a regex (I should probably...

Yes, all named parameters are available on the `Result` object. You may also use `result.toObject()` to flatten it into a put JavaScript object. The keys aren't visible because getters are...

A lot of Account Abstraction APIs are in the works, making them a first-class citizen. :)

Heya! Sorry, this fell off my radar. When comparing the TypeScript type incompatibilities, what does it complain about? I think they should be mostly already compatible, except the `_signTypedData` became...

That’s what `hexlify` does; it doesn’t remove leading 0’s. A “quantity” type forbids leading 0’s, which is the purpose of that function, but if you use `hexlify` it will retain...

In v5, hexlify accepted a numeric type; the equivalent in v6 is `toBeArray`, to be more explicit about how input types should be processed. It also isn’t safe to use...

You can also use `abiCoder.encode([ "uint" ], [ value ])`. Whatever best conveys the intention of the code, is best. :)

You need to use a larger version then. The version dictates how much data can be stored in the QR code.