Version Packages#759
Merged
Merged
Conversation
Contributor
Author
size-limit report 📦
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #759 +/- ##
==========================================
- Coverage 69.46% 68.34% -1.12%
==========================================
Files 203 152 -51
Lines 11170 8824 -2346
Branches 1971 1657 -314
==========================================
- Hits 7759 6031 -1728
+ Misses 3325 2721 -604
+ Partials 86 72 -14
🚀 New features to boost your workflow:
|
db88816 to
499c063
Compare
499c063 to
3ceea8c
Compare
3ceea8c to
71ea2c7
Compare
638cbce to
14108a0
Compare
Releases: @celo/celocli@9.0.0 @celo/contractkit@11.0.0 @celo/wallet-ledger@8.0.4 @celo/connect@8.0.0 @celo/dev-utils@0.2.0 @celo/explorer@5.1.0 @celo/governance@5.1.10 @celo/transactions-uri@5.0.16 @celo/wallet-base@8.0.4 @celo/wallet-hsm-aws@8.0.4 @celo/wallet-hsm-azure@8.0.4 @celo/wallet-hsm-gcp@8.0.4 @celo/wallet-local@8.0.4 @celo/wallet-remote@8.0.4 @celo/wallet-hsm@8.0.4 [skip ci]
14108a0 to
055d7ac
Compare
pahor167
approved these changes
Jun 15, 2026
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/celocli@9.0.0
Major Changes
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Minor Changes
#743
a695c5cThanks @aaronmgdr! - Add new flags togovernance:approvecommand for better multisig transaction control:--submit: Force submission of approval transaction to multisig without checking for prior confirmations onchain. Use with caution - this bypasses the check for existing submissions. Example:celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --submit--multisigTx: Specify exact multisig transaction ID to confirm, rather than searching onchain. Useful when you know the transaction ID from offchain sources. Example:celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --multisigTx 5Both flags depend on
--proposalIDand--useMultiSigbeing provided.#775
1c83cf2Thanks @martinvol! - Add--simulateflag togovernance:proposecommand to simulate proposal execution against a forked node (e.g. anvil) before submitting on-chain.Unlike the default
eth_call-based simulation,--simulateactually sends each proposal transaction sequentially from the Governance contract address (which the node must have unlocked, e.g.anvil --auto-impersonate). This means transactions execute against cumulative state changes — useful for proposals where the success of one transaction depends on a previous one succeeding. If any transaction fails, the proposal is not submitted and the decoded revert reason is printed.Example:
celocli governance:propose --jsonTransactions ./transactions.json --deposit 100e18 --from 0x... --descriptionURL https://... --simulate http://127.0.0.1:8545#777
f5482b5Thanks @martinvol! - Remove ContractKit's dependency on the MentoReserveandStableTokenABIs and repoint the Celo stable tokens onto a viem-native ABI.ReserveWrapper,CeloContract.Reserve,ContractKit.getReserve(), thereservefield ofNetworkConfig, and theReserveProxyinit entry.StableToken/StableTokenEUR/StableTokenBRLnow use a composedstableTokenViemAbi(viem'serc20Abi+transferWithCommentfromICeloToken+ the StableToken admin/initializemethods) instead of@celo/abisstableTokenABI/reserveABI. This drops the Mento ABI dependency without waiting on a new@celo/abisrelease.#780
95a84a4Thanks @pahor167! - Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connectrpc-contract.ts,promi-event.ts, andviem-contract.ts— replaced with native viemgetContract()/GetContractReturnTypeCeloTxObject.send()now returnsPromise<string>(tx hash) instead ofPromiEvent<CeloTxReceipt>Connection.createContract()— useConnection.getCeloContract()insteadPromiEvent<T>andContractinterfaces from typesCeloTransactionObject,toTransactionObject,CeloTxObject,RpcCaller, andTransactionResult(the oldcelo-transaction-object,rpc-caller, andtx-resultmodules)encodeDeployData+connection.sendTransaction()Breaking changes in @celo/contractkit
kit.sendTransaction()now returnsPromise<\0x${string}`>(the transaction hash) instead of aTransactionResult; usekit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusionPromise<string>) instead ofCeloTransactionObject<T>; replace.send()/.sendAndWaitForReceipt()withawait kit.connection.viemClient.waitForTransactionReceipt({ hash })kit.web3shim — usekit.connection.viemClient(reads) and wrapper methods (writes)kit.isListening()andkit.isSyncing()(no direct replacement; query the node viakit.connection.viemClient.request({ method: 'net_listening' })or{ method: 'eth_syncing' }if needed)kit.gasPriceSuggestionMultiplierpropertyCeloTokentype re-export — useCeloTokenContractPatch Changes
#743
a695c5cThanks @aaronmgdr! - Updates logic for submiting/confirming transaction with multisig to only search thru non executed transactions#780
95a84a4Thanks @pahor167! - Remove debug console.log statements from lockedcelo:delegate command that were leaking internal values to stdoutUpdated dependencies [
a695c5c,95a84a4,a695c5c,f5482b5,95a84a4,95a84a4,95a84a4,95a84a4]:@celo/connect@8.0.0
Major Changes
#780
95a84a4Thanks @pahor167! - Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connectrpc-contract.ts,promi-event.ts, andviem-contract.ts— replaced with native viemgetContract()/GetContractReturnTypeCeloTxObject.send()now returnsPromise<string>(tx hash) instead ofPromiEvent<CeloTxReceipt>Connection.createContract()— useConnection.getCeloContract()insteadPromiEvent<T>andContractinterfaces from typesCeloTransactionObject,toTransactionObject,CeloTxObject,RpcCaller, andTransactionResult(the oldcelo-transaction-object,rpc-caller, andtx-resultmodules)encodeDeployData+connection.sendTransaction()Breaking changes in @celo/contractkit
kit.sendTransaction()now returnsPromise<\0x${string}`>(the transaction hash) instead of aTransactionResult; usekit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusionPromise<string>) instead ofCeloTransactionObject<T>; replace.send()/.sendAndWaitForReceipt()withawait kit.connection.viemClient.waitForTransactionReceipt({ hash })kit.web3shim — usekit.connection.viemClient(reads) and wrapper methods (writes)kit.isListening()andkit.isSyncing()(no direct replacement; query the node viakit.connection.viemClient.request({ method: 'net_listening' })or{ method: 'eth_syncing' }if needed)kit.gasPriceSuggestionMultiplierpropertyCeloTokentype re-export — useCeloTokenContract#780
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Minor Changes
#780
95a84a4Thanks @pahor167! - Migrate internal contract interaction from the web3-style RPC Contract to viem-nativegetContract()@celo/connectexposesCeloContract<TAbi>(viem'sGetContractReturnType) andConnection.getCeloContract()for type-safe.read/.write/.estimateGasaccess.@celo/explorer:BlockExplorer.tryParseTxnow accepts viem'sTransaction, andgetBlockByHash/getBlockByNumberreturn viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump).@celo/contractkit@11.0.0
Major Changes
#777
f5482b5Thanks @martinvol! - Remove ContractKit's dependency on the MentoReserveandStableTokenABIs and repoint the Celo stable tokens onto a viem-native ABI.ReserveWrapper,CeloContract.Reserve,ContractKit.getReserve(), thereservefield ofNetworkConfig, and theReserveProxyinit entry.StableToken/StableTokenEUR/StableTokenBRLnow use a composedstableTokenViemAbi(viem'serc20Abi+transferWithCommentfromICeloToken+ the StableToken admin/initializemethods) instead of@celo/abisstableTokenABI/reserveABI. This drops the Mento ABI dependency without waiting on a new@celo/abisrelease.#780
95a84a4Thanks @pahor167! - Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connectrpc-contract.ts,promi-event.ts, andviem-contract.ts— replaced with native viemgetContract()/GetContractReturnTypeCeloTxObject.send()now returnsPromise<string>(tx hash) instead ofPromiEvent<CeloTxReceipt>Connection.createContract()— useConnection.getCeloContract()insteadPromiEvent<T>andContractinterfaces from typesCeloTransactionObject,toTransactionObject,CeloTxObject,RpcCaller, andTransactionResult(the oldcelo-transaction-object,rpc-caller, andtx-resultmodules)encodeDeployData+connection.sendTransaction()Breaking changes in @celo/contractkit
kit.sendTransaction()now returnsPromise<\0x${string}`>(the transaction hash) instead of aTransactionResult; usekit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusionPromise<string>) instead ofCeloTransactionObject<T>; replace.send()/.sendAndWaitForReceipt()withawait kit.connection.viemClient.waitForTransactionReceipt({ hash })kit.web3shim — usekit.connection.viemClient(reads) and wrapper methods (writes)kit.isListening()andkit.isSyncing()(no direct replacement; query the node viakit.connection.viemClient.request({ method: 'net_listening' })or{ method: 'eth_syncing' }if needed)kit.gasPriceSuggestionMultiplierpropertyCeloTokentype re-export — useCeloTokenContract#780
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Minor Changes
#743
a695c5cThanks @aaronmgdr! - AddsubmitTransactionmethod toMultiSigWrapperto submit transactions to multisig without automatic confirmation. This complements the existingsubmitOrConfirmTransactionmethod by providing more granular control over the submission process.#780
95a84a4Thanks @pahor167! - Improved type safety: Added explicit return types to wrapper methods that previously emittedCeloTransactionObject<any>orPromise<any>in their declaration files, replacing untypedanyresults with concrete types. This provides better IDE autocompletion and compile-time type checking for consumers of@celo/contractkit.#780
95a84a4Thanks @pahor167! - Migrate internal contract interaction from the web3-style RPC Contract to viem-nativegetContract()@celo/connectexposesCeloContract<TAbi>(viem'sGetContractReturnType) andConnection.getCeloContract()for type-safe.read/.write/.estimateGasaccess.@celo/explorer:BlockExplorer.tryParseTxnow accepts viem'sTransaction, andgetBlockByHash/getBlockByNumberreturn viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump).Patch Changes
#743
a695c5cThanks @aaronmgdr! - Updates logic for submiting/confirming transaction with multisig to only search thru non executed transactionsUpdated dependencies [
95a84a4,95a84a4,95a84a4]:@celo/dev-utils@0.2.0
Minor Changes
#780
95a84a4Thanks @pahor167! - Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connectrpc-contract.ts,promi-event.ts, andviem-contract.ts— replaced with native viemgetContract()/GetContractReturnTypeCeloTxObject.send()now returnsPromise<string>(tx hash) instead ofPromiEvent<CeloTxReceipt>Connection.createContract()— useConnection.getCeloContract()insteadPromiEvent<T>andContractinterfaces from typesCeloTransactionObject,toTransactionObject,CeloTxObject,RpcCaller, andTransactionResult(the oldcelo-transaction-object,rpc-caller, andtx-resultmodules)encodeDeployData+connection.sendTransaction()Breaking changes in @celo/contractkit
kit.sendTransaction()now returnsPromise<\0x${string}`>(the transaction hash) instead of aTransactionResult; usekit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusionPromise<string>) instead ofCeloTransactionObject<T>; replace.send()/.sendAndWaitForReceipt()withawait kit.connection.viemClient.waitForTransactionReceipt({ hash })kit.web3shim — usekit.connection.viemClient(reads) and wrapper methods (writes)kit.isListening()andkit.isSyncing()(no direct replacement; query the node viakit.connection.viemClient.request({ method: 'net_listening' })or{ method: 'eth_syncing' }if needed)kit.gasPriceSuggestionMultiplierpropertyCeloTokentype re-export — useCeloTokenContractPatch Changes
#780
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Updated dependencies [
95a84a4,95a84a4,95a84a4]:@celo/explorer@5.1.0
Minor Changes
#780
95a84a4Thanks @pahor167! - Migrate internal contract interaction from the web3-style RPC Contract to viem-nativegetContract()@celo/connectexposesCeloContract<TAbi>(viem'sGetContractReturnType) andConnection.getCeloContract()for type-safe.read/.write/.estimateGasaccess.@celo/explorer:BlockExplorer.tryParseTxnow accepts viem'sTransaction, andgetBlockByHash/getBlockByNumberreturn viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump).Patch Changes
#780
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Updated dependencies [
a695c5c,a695c5c,f5482b5,95a84a4,95a84a4,95a84a4,95a84a4]:@celo/governance@5.1.10
Patch Changes
#780
95a84a4Thanks @pahor167! - Remove the deprecatedkit.web3shim and migrate contractkit to viem-native contract interaction. Usekit.connection.viemClientfor reads and the wrapper methods for writes. AddsnewKitFromProvider()as the recommended factory for building a kit from an EIP-1193 provider.Updated dependencies [
a695c5c,a695c5c,f5482b5,95a84a4,95a84a4,95a84a4,95a84a4]:@celo/transactions-uri@5.0.16
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-base@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-hsm-aws@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-hsm-azure@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-hsm-gcp@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-ledger@8.0.4
Patch Changes
#780
95a84a4Thanks @pahor167! - Replaceconsole.infowithdebugfor derivation path logging to avoid noisy test outputUpdated dependencies [
95a84a4,95a84a4,95a84a4]:@celo/wallet-local@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-remote@8.0.4
Patch Changes
95a84a4,95a84a4,95a84a4]:@celo/wallet-hsm@8.0.4
PR-Codex overview
This PR focuses on updating various packages within the Celo SDK, including version upgrades for
@celo/connect,@celo/contractkit, and others, along with the removal of deprecated files and functions.Detailed summary
.mdfiles and interfaces.@celo/connecttov8.0.0@celo/contractkittov11.0.0@celo/wallet-hsmtov8.0.4@celo/explorertov5.1.0@celo/wallet-basetov8.0.4@celo/wallet-localtov8.0.4@celo/wallet-remotetov8.0.4@celo/wallet-hsm-awstov8.0.4@celo/wallet-hsm-gcptov8.0.4@celo/wallet-hsm-azuretov8.0.4@celo/transactions-uritov5.0.16@celo/governancetov5.1.10