GitBulletin

Repository: farcasterxyz/hub-monorepo

"Mandatory Acknowledgment: Hubs to Confirm No Rewards Amidst Major Update!"

2024-07-16 20:05:39 UTC

"New protocol ensures clarity for operating hubs as developers mandate acceptance of zero rewards before deployment."

Commit Details:

fix: force acknowledgement of no rewards for existing hubs (#2193) ## Why is this change needed? Force acknowledgement of no rewards for hubs that are already running ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview The focus of this PR is to add a prompt for hub operator agreement before running the script and updating the environment file accordingly. ### Detailed summary - Added a function `prompt_for_hub_operator_agreement` to prompt for agreement - Created a function `update_env_file` to update or create the environment file based on agreement - Improved user input handling and validation - Added logic to check for existing agreement in the environment file - Updated the script flow to handle agreement properly > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar