Version Packages#783
Merged
Merged
Conversation
Releases: @celo/governance@5.1.11 @celo/actions@0.2.2 @celo/dev-utils@0.2.1 @celo/explorer@5.1.1 @celo/celocli@9.0.1 [skip ci]
pahor167
approved these changes
Jun 16, 2026
Contributor
Author
size-limit report 📦
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #783 +/- ##
==========================================
- Coverage 68.78% 66.36% -2.42%
==========================================
Files 152 168 +16
Lines 8838 9907 +1069
Branches 1661 1852 +191
==========================================
+ Hits 6079 6575 +496
- Misses 2688 3240 +552
- Partials 71 92 +21
🚀 New features to boost your workflow:
|
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@celo/actions@0.2.2
Patch Changes
9d19100Thanks @pahor167! - Fix severalgovernance/celoclicommand output & safety issues:governance:proposeloggedundefined is a proxy, repointing to ...forcore-contract proxy repoints (logged
tx.addresswhich is undefined when thetx is keyed by
contract); now logs the real proxy id.governance:proposenow surfaces the new proposal id (ProposalQueued), andthe
--useMultiSigpath surfaces the multisig transaction id (Submissiononsubmit,
Confirmationon a later signer) plus the proposal id when the submitreaches threshold and executes in the same receipt.
@celo/actionsgetGroupsWithPendingVotesnow filters on pending votes> 0(was
>= 0, which returned every group); fixeselection:activateselectinggroups with no pending votes.
governance:executenow checks the proposal is approved before sending, so itfails the precondition cleanly instead of reverting with "Proposal not approved".
governance:upvote/revokeupvote/votePartiallyandmultisig:approvenowdecode and print their on-chain events (proposal id / transaction id).
governance:proposecan now build a core-contract call whose method is addedby an earlier upgrade tx in the same proposal: when the method is absent from
the bundled ABI, it is resolved from the implementation a prior tx repoints the
proxy to (verified metadata), with a raw
function: "name(uint256)"signaturefallback.
governance:proposenow simulates the proposal by default against aself-contained local fork (bundled
@foundry-rs/anvil) of the connected node,applying the transactions in order so a transaction that depends on an earlier
one (e.g. a method added by a prior upgrade tx) simulates correctly. Use
--simulate <rpcUrl>to target an external fork, or--no-simulateto fallback to the previous independent per-transaction
eth_callchecks.lockedcelo:withdraw(andreleasecelo:locked-goldwithdraw) no longer spinin an infinite loop when no pending withdrawal is available, and re-fetch
between withdrawals to avoid stale indices.
@celo/dev-utilsanvil test harness now resolves the foundry-installedanvil(snapshot-compatible) instead of a package-manageranvilbin shim,so packages that bundle a newer anvil don't break the devchain state load.
@celo/explorerfetchMetadatanow uses the Sourcify v2 API (the v1 repo APIhas been sunset / returns 503), so contract ABI resolution (used by
governance:proposeto build calls to verified contracts, includingimplementations added by an in-proposal upgrade) works again.
@celo/celocli@9.0.1
Patch Changes
9d19100Thanks @pahor167! - Fix severalgovernance/celoclicommand output & safety issues:governance:proposeloggedundefined is a proxy, repointing to ...forcore-contract proxy repoints (logged
tx.addresswhich is undefined when thetx is keyed by
contract); now logs the real proxy id.governance:proposenow surfaces the new proposal id (ProposalQueued), andthe
--useMultiSigpath surfaces the multisig transaction id (Submissiononsubmit,
Confirmationon a later signer) plus the proposal id when the submitreaches threshold and executes in the same receipt.
@celo/actionsgetGroupsWithPendingVotesnow filters on pending votes> 0(was
>= 0, which returned every group); fixeselection:activateselectinggroups with no pending votes.
governance:executenow checks the proposal is approved before sending, so itfails the precondition cleanly instead of reverting with "Proposal not approved".
governance:upvote/revokeupvote/votePartiallyandmultisig:approvenowdecode and print their on-chain events (proposal id / transaction id).
governance:proposecan now build a core-contract call whose method is addedby an earlier upgrade tx in the same proposal: when the method is absent from
the bundled ABI, it is resolved from the implementation a prior tx repoints the
proxy to (verified metadata), with a raw
function: "name(uint256)"signaturefallback.
governance:proposenow simulates the proposal by default against aself-contained local fork (bundled
@foundry-rs/anvil) of the connected node,applying the transactions in order so a transaction that depends on an earlier
one (e.g. a method added by a prior upgrade tx) simulates correctly. Use
--simulate <rpcUrl>to target an external fork, or--no-simulateto fallback to the previous independent per-transaction
eth_callchecks.lockedcelo:withdraw(andreleasecelo:locked-goldwithdraw) no longer spinin an infinite loop when no pending withdrawal is available, and re-fetch
between withdrawals to avoid stale indices.
@celo/dev-utilsanvil test harness now resolves the foundry-installedanvil(snapshot-compatible) instead of a package-manageranvilbin shim,so packages that bundle a newer anvil don't break the devchain state load.
@celo/explorerfetchMetadatanow uses the Sourcify v2 API (the v1 repo APIhas been sunset / returns 503), so contract ABI resolution (used by
governance:proposeto build calls to verified contracts, includingimplementations added by an in-proposal upgrade) works again.
9d19100]:@celo/dev-utils@0.2.1
Patch Changes
9d19100Thanks @pahor167! - Fix severalgovernance/celoclicommand output & safety issues:governance:proposeloggedundefined is a proxy, repointing to ...forcore-contract proxy repoints (logged
tx.addresswhich is undefined when thetx is keyed by
contract); now logs the real proxy id.governance:proposenow surfaces the new proposal id (ProposalQueued), andthe
--useMultiSigpath surfaces the multisig transaction id (Submissiononsubmit,
Confirmationon a later signer) plus the proposal id when the submitreaches threshold and executes in the same receipt.
@celo/actionsgetGroupsWithPendingVotesnow filters on pending votes> 0(was
>= 0, which returned every group); fixeselection:activateselectinggroups with no pending votes.
governance:executenow checks the proposal is approved before sending, so itfails the precondition cleanly instead of reverting with "Proposal not approved".
governance:upvote/revokeupvote/votePartiallyandmultisig:approvenowdecode and print their on-chain events (proposal id / transaction id).
governance:proposecan now build a core-contract call whose method is addedby an earlier upgrade tx in the same proposal: when the method is absent from
the bundled ABI, it is resolved from the implementation a prior tx repoints the
proxy to (verified metadata), with a raw
function: "name(uint256)"signaturefallback.
governance:proposenow simulates the proposal by default against aself-contained local fork (bundled
@foundry-rs/anvil) of the connected node,applying the transactions in order so a transaction that depends on an earlier
one (e.g. a method added by a prior upgrade tx) simulates correctly. Use
--simulate <rpcUrl>to target an external fork, or--no-simulateto fallback to the previous independent per-transaction
eth_callchecks.lockedcelo:withdraw(andreleasecelo:locked-goldwithdraw) no longer spinin an infinite loop when no pending withdrawal is available, and re-fetch
between withdrawals to avoid stale indices.
@celo/dev-utilsanvil test harness now resolves the foundry-installedanvil(snapshot-compatible) instead of a package-manageranvilbin shim,so packages that bundle a newer anvil don't break the devchain state load.
@celo/explorerfetchMetadatanow uses the Sourcify v2 API (the v1 repo APIhas been sunset / returns 503), so contract ABI resolution (used by
governance:proposeto build calls to verified contracts, includingimplementations added by an in-proposal upgrade) works again.
@celo/explorer@5.1.1
Patch Changes
9d19100Thanks @pahor167! - Fix severalgovernance/celoclicommand output & safety issues:governance:proposeloggedundefined is a proxy, repointing to ...forcore-contract proxy repoints (logged
tx.addresswhich is undefined when thetx is keyed by
contract); now logs the real proxy id.governance:proposenow surfaces the new proposal id (ProposalQueued), andthe
--useMultiSigpath surfaces the multisig transaction id (Submissiononsubmit,
Confirmationon a later signer) plus the proposal id when the submitreaches threshold and executes in the same receipt.
@celo/actionsgetGroupsWithPendingVotesnow filters on pending votes> 0(was
>= 0, which returned every group); fixeselection:activateselectinggroups with no pending votes.
governance:executenow checks the proposal is approved before sending, so itfails the precondition cleanly instead of reverting with "Proposal not approved".
governance:upvote/revokeupvote/votePartiallyandmultisig:approvenowdecode and print their on-chain events (proposal id / transaction id).
governance:proposecan now build a core-contract call whose method is addedby an earlier upgrade tx in the same proposal: when the method is absent from
the bundled ABI, it is resolved from the implementation a prior tx repoints the
proxy to (verified metadata), with a raw
function: "name(uint256)"signaturefallback.
governance:proposenow simulates the proposal by default against aself-contained local fork (bundled
@foundry-rs/anvil) of the connected node,applying the transactions in order so a transaction that depends on an earlier
one (e.g. a method added by a prior upgrade tx) simulates correctly. Use
--simulate <rpcUrl>to target an external fork, or--no-simulateto fallback to the previous independent per-transaction
eth_callchecks.lockedcelo:withdraw(andreleasecelo:locked-goldwithdraw) no longer spinin an infinite loop when no pending withdrawal is available, and re-fetch
between withdrawals to avoid stale indices.
@celo/dev-utilsanvil test harness now resolves the foundry-installedanvil(snapshot-compatible) instead of a package-manageranvilbin shim,so packages that bundle a newer anvil don't break the devchain state load.
@celo/explorerfetchMetadatanow uses the Sourcify v2 API (the v1 repo APIhas been sunset / returns 503), so contract ABI resolution (used by
governance:proposeto build calls to verified contracts, includingimplementations added by an in-proposal upgrade) works again.
@celo/governance@5.1.11
Patch Changes
9d19100Thanks @pahor167! - Fix severalgovernance/celoclicommand output & safety issues:governance:proposeloggedundefined is a proxy, repointing to ...forcore-contract proxy repoints (logged
tx.addresswhich is undefined when thetx is keyed by
contract); now logs the real proxy id.governance:proposenow surfaces the new proposal id (ProposalQueued), andthe
--useMultiSigpath surfaces the multisig transaction id (Submissiononsubmit,
Confirmationon a later signer) plus the proposal id when the submitreaches threshold and executes in the same receipt.
@celo/actionsgetGroupsWithPendingVotesnow filters on pending votes> 0(was
>= 0, which returned every group); fixeselection:activateselectinggroups with no pending votes.
governance:executenow checks the proposal is approved before sending, so itfails the precondition cleanly instead of reverting with "Proposal not approved".
governance:upvote/revokeupvote/votePartiallyandmultisig:approvenowdecode and print their on-chain events (proposal id / transaction id).
governance:proposecan now build a core-contract call whose method is addedby an earlier upgrade tx in the same proposal: when the method is absent from
the bundled ABI, it is resolved from the implementation a prior tx repoints the
proxy to (verified metadata), with a raw
function: "name(uint256)"signaturefallback.
governance:proposenow simulates the proposal by default against aself-contained local fork (bundled
@foundry-rs/anvil) of the connected node,applying the transactions in order so a transaction that depends on an earlier
one (e.g. a method added by a prior upgrade tx) simulates correctly. Use
--simulate <rpcUrl>to target an external fork, or--no-simulateto fallback to the previous independent per-transaction
eth_callchecks.lockedcelo:withdraw(andreleasecelo:locked-goldwithdraw) no longer spinin an infinite loop when no pending withdrawal is available, and re-fetch
between withdrawals to avoid stale indices.
@celo/dev-utilsanvil test harness now resolves the foundry-installedanvil(snapshot-compatible) instead of a package-manageranvilbin shim,so packages that bundle a newer anvil don't break the devchain state load.
@celo/explorerfetchMetadatanow uses the Sourcify v2 API (the v1 repo APIhas been sunset / returns 503), so contract ABI resolution (used by
governance:proposeto build calls to verified contracts, includingimplementations added by an in-proposal upgrade) works again.
9d19100]:PR-Codex overview
This PR focuses on updating several packages, particularly
@celo/explorer,@celo/governance, and@Celo/Actions, with new versions and improvements. It addresses various command output and safety issues in the governance and CLI commands.Detailed summary
.changeset/fix-propose-proxy-log-and-proposalid.md@Celo/Actionstov0.2.2@celo/explorertov5.1.1@celo/governancetov5.1.11governance:propose.@celo/actions.governance:propose.