Closed shannonwells closed 3 years ago
@shannonwells, just an fyi, this is the bug I originally open for this when we found the problem: https://www.pivotaltracker.com/story/show/179211543
I went ahead and assigned it to you and marked it as finished since this PR is up for review
Problem
There was a bug whereby if we passed in the regular Ethereum address, fetching registrations would fail because it's expecting the checksummed version.
Kind of part of #178933068
Solution
Call ethers.utils.getAddress to ensure we use checksum address version in
getRegistrationsByWalletAddress
to ensure we provide the correct version of the address. with @wilwade , @acruikshankDouble Checks:
Change summary:
Steps to Verify:
Tests should all pass. If you run a local hardhat node and deploy contracts, the following test code output the registration twice: