Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: downgrade to ethers@v5 #70

Merged
merged 4 commits into from
Sep 28, 2024

Conversation

obeys
Copy link
Contributor

@obeys obeys commented Sep 15, 2024

Resolves #60

I had to refactor a couple functions in generate-erc20-permit.ts due to issues with cognitive complexity, specifically I created three new functions getPrivateKey getAdminWallet and getTokenDecimals
I also had to include a yarn packageManager version in package.json because it wasn't letting me commit otherwise. let me know if you want the yarn version changed, I used whatever version corepack set.

Copy link
Member

@0x4007 0x4007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes generally look fine

package.json Outdated Show resolved Hide resolved
@obeys obeys requested a review from 0x4007 September 16, 2024 14:53
Copy link
Contributor

@Keyrxng Keyrxng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes generally look fine

I agree if anything was wrong with the downgrade the tests would have broken, can't really QA it much beyond that unless going the extra mile and testing it against the various overloads or using it to generate a permit (I don't think I've ever actually generated a QA permit before in any repo other than pay.ubq.fi and it uses it's own script, not this pkg. My attempts to QA conversation rewards all fail at the point of permit generation too so)

@obeys
Copy link
Contributor Author

obeys commented Sep 28, 2024

@0x4007 is this good to merge?

Copy link
Member

@0x4007 0x4007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's test in production!

@0x4007 0x4007 merged commit 0b3355d into ubiquity-os:development Sep 28, 2024
2 checks passed
@ubiquity-os ubiquity-os bot mentioned this pull request Sep 28, 2024
@rndquu rndquu mentioned this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Downgrade to Ethers@v5
3 participants