-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(backend): deploy to base sepolia #20
Conversation
Warning Rate limit exceeded@jo-elimu has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 50 minutes and 35 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe updates introduce new environment configurations, extend the Hardhat setup with additional network, Etherscan, and Sourcify configurations, and incorporate a new module and deployment journal for the Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant Env as .env.sample
participant Config as hardhat.config.ts
participant Gitignore as .gitignore
participant Deploy as deployment
participant Module as SponsorshipQueue Module
Dev->>Env: Add WALLET_KEY and ETHERSCAN_API_KEY.
Dev->>Gitignore: Add deployment directories to .gitignore.
Dev->>Config: Configure networks, etherscan, gasReporter, and sourcify.
Dev->>Module: Implement SponsorshipQueueModule.
Module->>Deploy: Create and log deployment entries in journal.jsonl.
Deploy-->>Dev: Confirm contract deployment.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
✅ Deploy Preview for web3-sponsors canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
import { ethers } from "hardhat"; | ||
|
||
const SponsorshipQueueModule = buildModule("SponsorshipQueueModule", (m) => { | ||
const estimatedCost = m.getParameter("estimatedCost", ethers.parseUnits("0.002")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct the method call for parsing units.
The method call to parse units should be ethers.utils.parseUnits
instead of ethers.parseUnits
.
- const estimatedCost = m.getParameter("estimatedCost", ethers.parseUnits("0.002"));
+ const estimatedCost = m.getParameter("estimatedCost", ethers.utils.parseUnits("0.002"));
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
const estimatedCost = m.getParameter("estimatedCost", ethers.parseUnits("0.002")); | |
const estimatedCost = m.getParameter("estimatedCost", ethers.utils.parseUnits("0.002")); |
@coderabbitai Why is
|
Tip For best results, initiate chat on the files or code changes. @jo-elimu, the error you're encountering typically occurs when the environment variables expected in the
Could you confirm if the above settings are in place? If they are and the issue persists, we might need to look deeper into the configuration or the way the environment is set up. |
Co-authored-by: Bender Rodríguez <[email protected]>
Co-authored-by: Bender Rodríguez <[email protected]>
Co-authored-by: Bender Rodríguez <[email protected]>
@coderabbitai Thanks. Fixed it by using an empty array, |
Tip For best results, initiate chat on the files or code changes. @jo-elimu, I'm glad to hear you've found a workaround by using an empty array However, it's important to ensure that the
If you need further assistance with setting up your environment variables securely or any other configuration, feel free to ask! Learnings added
|
closes #16