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

Devnet #93

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Devnet #93

wants to merge 12 commits into from

Conversation

jagerman
Copy link
Member

This PR is for tracking our internal devnet, which is currently running on the latest PRs and WIP branches as merged here.

Not for review/merging until after the included relevant PRs are finalized and merged.

Doy-lee and others added 12 commits October 10, 2024 15:56
Updating the beneficiary after the contract is finalized has no effect
because the beneficiaries have already been committed to the contract
and are locked in. This is preventable by checking the status of the
contract before updating the contract.

Note that when the operator contributes, the contract transitions into
`OpenForPublicContrib` immediately before the beneficiary is updated.
This then means that the valid states that are observed for
a beneficiary to be updatable is exactly 2 states,
`OpenForPublicContrib` and `WaitForFinalized`.
We can directly handle a reset by processing the request directly rather
than deferring to removeAndRefundContributor which presupposes that the
intention of the call is to remove exactly 1 contributor which has
side-effects that waste gas as we're going to ultimately delete the
contributor which nullifies said busy work.
- Adds a devnet upgrade script.
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