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

Upgrade to useDApps/core 1.2.11 #23

Merged
merged 17 commits into from
Aug 31, 2023
Merged

Upgrade to useDApps/core 1.2.11 #23

merged 17 commits into from
Aug 31, 2023

Conversation

wagyu298
Copy link

@wagyu298 wagyu298 commented Aug 9, 2023

Reduce eth_chainId API call by using StaticJsonRpcProvider.
useDApps/core 1.0.8 or later uses StaticJsonRpcProvider for readOnlyUrls.
See ethers-io/ethers.js#901 for more details.

@wagyu298 wagyu298 changed the base branch from develop to node-16 August 16, 2023 08:13
@wagyu298 wagyu298 force-pushed the upgrade-usedapps-1.2.11 branch from dc07f0d to 26b281d Compare August 16, 2023 08:25
@wagyu298 wagyu298 requested a review from ms76 August 16, 2023 08:42
Copy link

@ms76 ms76 left a comment

Choose a reason for hiding this comment

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

I’ve checked your fix. There were 2 points where I think await is missing, although they are not part of this fix.

One is commented and the other is below.
https://github.com/CNNouns/cnnouns-monorepo/pull/23/files#diff-aefeb8faf6b9330978ae529f732f9d79575267e925c501f429f462be0b76bab8R137

@@ -59,8 +59,7 @@
"redux": "^4.1.0",
"redux-devtools-extension": "^2.13.9",
"remark-breaks": "^3.0.1",
"web-vitals": "^1.0.1",
"react-transition-group": "^4.4.5"
Copy link

Choose a reason for hiding this comment

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

📝 Duplicate L58

nounsAuctionHouseContract,
undefined,
library && 'getSigner' in library ? library.getSigner() : undefined,
);
const gasLimit = await contract.estimateGas.settleCurrentAndCreateNewAuction(...args);
settleAuction(...args, {
Copy link

Choose a reason for hiding this comment

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

await is missing?

Base automatically changed from node-16 to develop August 25, 2023 06:22
@wagyu298
Copy link
Author

@ms76 Thank you for your code reviews! I have fixed the pointed out codes.
After that, I got yarn install error on CI tests. I solve the problem by other pull request #25.
Could you review the pull request #25 first?

Copy link

@ms76 ms76 left a comment

Choose a reason for hiding this comment

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

@wagyu298 I have reviewed your fix. LGTM!

@wagyu298
Copy link
Author

#25 merged, test passed.

@wagyu298
Copy link
Author

@ms76 Thank you for your code reviews!

@wagyu298 wagyu298 merged commit 9468bb7 into develop Aug 31, 2023
@wagyu298 wagyu298 deleted the upgrade-usedapps-1.2.11 branch August 31, 2023 09:51
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.

2 participants