Conversation
…ling minimum Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new configOperator role to the AccountConfig diamond contract (with corresponding ABI + Rust binding updates), alongside minor documentation and deployment workflow tweaks.
Changes:
- Introduce
configOperator()getter,setConfigOperator(address)setter, andOnlyConfigOperatorOrOwner(address)custom error in the AccountConfig contract/facets. - Regenerate/update the AccountConfig ABI JSON and the Rust ethers contract bindings to include the new function/error.
- Update the 2026-03-30 press release “Getting Started” + pricing wording, and add a cleanup step to a self-hosted deploy workflow.
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lit-api-server/src/accounts/contracts/AccountConfig.json | Adds ABI entries for configOperator, setConfigOperator, and OnlyConfigOperatorOrOwner. |
| lit-api-server/src/accounts/contracts/account_config_contract.rs | Updates generated ethers bindings to expose the new view/setter and decode the new custom error. |
| lit-api-server/blockchain/lit_node_express/contracts/AccountConfigFacets/ViewsFacet.sol | Adds configOperator() view into the read-only facet. |
| lit-api-server/blockchain/lit_node_express/contracts/AccountConfigFacets/SecurityLib.sol | Adds config-operator access guard and switches “owner” checks to LibDiamond.contractOwner(). |
| lit-api-server/blockchain/lit_node_express/contracts/AccountConfigFacets/AppStorage.sol | Adds OnlyConfigOperatorOrOwner error and repurposes the prior owner storage slot as configOperator. |
| lit-api-server/blockchain/lit_node_express/contracts/AccountConfigFacets/APIConfigFacet.sol | Adds setConfigOperator(address) gated by config operator or diamond owner. |
| lit-api-server/blockchain/lit_node_express/contracts/AccountConfig.sol | Initializes configOperator during deployment (alongside pricingOperator). |
| docs/press_releases/2026-03-30.md | Rewords onboarding guidance (Dashboard-first + curl alternative) and clarifies minimum billing duration. |
| .github/workflows/deploy-prod-2-execute.yml | Removes stale deploy-context.json before downloading on self-hosted runners. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.