celo-org / vote-celo

Voting platform for Celo Ecosystem
MIT License
0 stars 0 forks source link

Update dependency @celo/contractkit to v8 #25

Open renovate[bot] opened 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@celo/contractkit (source) ^4.1.0 -> ^8.0.0 age adoption passing confidence

Release Notes

celo-org/developer-tooling (@​celo/contractkit) ### [`v8.3.1`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.3.1) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@8.3.0...@celo/contractkit@8.3.1) ##### Patch Changes - [#​409](https://redirect.github.com/celo-org/developer-tooling/pull/409) [`e709b88`](https://redirect.github.com/celo-org/developer-tooling/commit/e709b8821315e354e418649320b5f93a7a464c16) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Renames `getElected` and its usages to `getElectedAccounts` for `EpochManagerWrapper` ### [`v8.3.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.3.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@8.2.0...@celo/contractkit@8.3.0) ##### Minor Changes - [#​348](https://redirect.github.com/celo-org/developer-tooling/pull/348) [`76d09b7`](https://redirect.github.com/celo-org/developer-tooling/commit/76d09b79c68cbb5aba38c0b36a5322384b7842ba) Thanks [@​shazarre](https://redirect.github.com/shazarre)! - Adds support for firstKnownEpoch, getFirstBlockAtEpoch, getLastBlockAtEpoch on EpochManager wrapper ##### Patch Changes - Updated dependencies \[[`433b70e`](https://redirect.github.com/celo-org/developer-tooling/commit/433b70e20563e3e087cc39d744f1a2710d1d09de)]: - [@​celo/connect](https://redirect.github.com/celo/connect)[@​6](https://redirect.github.com/6).0.2 ### [`v8.2.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.2.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@8.1.1...@celo/contractkit@8.2.0) ##### Minor Changes - [#​334](https://redirect.github.com/celo-org/developer-tooling/pull/334) [`7400467`](https://redirect.github.com/celo-org/developer-tooling/commit/740046755f5079cb1dafdb71fcc92cc4ad213eb9) Thanks [@​pahor167](https://redirect.github.com/pahor167)! - Adds support for EpochManager and ScoreManager contracts ### [`v8.1.1`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.1.1) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@8.1.0...@celo/contractkit@8.1.1) ##### Patch Changes - [#​315](https://redirect.github.com/celo-org/developer-tooling/pull/315) [`dd67b8f`](https://redirect.github.com/celo-org/developer-tooling/commit/dd67b8f7e65285d86af277c1172e760f250abd78) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - chore (bump deps) - Updated dependencies \[[`d245703`](https://redirect.github.com/celo-org/developer-tooling/commit/d245703fa71ad24c88982fc6566e4d2865f586a4)]: - [@​celo/connect](https://redirect.github.com/celo/connect)[@​6](https://redirect.github.com/6).0.1 - [@​celo/wallet-local](https://redirect.github.com/celo/wallet-local)[@​6](https://redirect.github.com/6).0.1 ### [`v8.1.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.1.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@8.0.0...@celo/contractkit@8.1.0) ##### Minor Changes - [#​264](https://redirect.github.com/celo-org/developer-tooling/pull/264) [`59f4b42`](https://redirect.github.com/celo-org/developer-tooling/commit/59f4b42029699861e91dd2214c40173f70de279e) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - Add support for serializing, sending, parsing and deserializing cip66 transactions. This tx type is preffered over cip64 when paying for gas with tokens. Like eip1559 maxFeePerGass and maxPriorityFeePerGas are denominated in CELO. To create an cip66 transaction with Contractkit call the `kit.populateMaxFeeInToken` method with your transaction and then send it. - [#​267](https://redirect.github.com/celo-org/developer-tooling/pull/267) [`f553539`](https://redirect.github.com/celo-org/developer-tooling/commit/f553539feb68f0be9e91f83bf367b0c32f940d1e) Thanks [@​shazarre](https://redirect.github.com/shazarre)! - Introduced CeloDistributionScheduleWrapper - [#​266](https://redirect.github.com/celo-org/developer-tooling/pull/266) [`182bf73`](https://redirect.github.com/celo-org/developer-tooling/commit/182bf73209e6b7de0d9ea1fedaf91c9ec80299f5) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Adds support for FeeCurrencyDirectory contract - [#​266](https://redirect.github.com/celo-org/developer-tooling/pull/266) [`182bf73`](https://redirect.github.com/celo-org/developer-tooling/commit/182bf73209e6b7de0d9ea1fedaf91c9ec80299f5) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Introduces getConfig for FeeCurrencyDirectoryWrapper - [#​279](https://redirect.github.com/celo-org/developer-tooling/pull/279) [`06019bf`](https://redirect.github.com/celo-org/developer-tooling/commit/06019bfce3d7d939aca8d04d841193eb733bd372) Thanks [@​shazarre](https://redirect.github.com/shazarre)! - Adds support for <1.5.0.0 and >=1.5.0.0 Governance contract version ##### Patch Changes - [#​266](https://redirect.github.com/celo-org/developer-tooling/pull/266) [`182bf73`](https://redirect.github.com/celo-org/developer-tooling/commit/182bf73209e6b7de0d9ea1fedaf91c9ec80299f5) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Deprecated methods on kit instance for getting epoch info. - [#​233](https://redirect.github.com/celo-org/developer-tooling/pull/233) [`eeb44f3`](https://redirect.github.com/celo-org/developer-tooling/commit/eeb44f300c08250e179b43881ae83bf0b530dc67) Thanks [@​arthurgousset](https://redirect.github.com/arthurgousset)! - Nit: Capitalises function name using camel-case (`isowner` -> `isOwner`). - [#​274](https://redirect.github.com/celo-org/developer-tooling/pull/274) [`bfa24da`](https://redirect.github.com/celo-org/developer-tooling/commit/bfa24da3eef5f9386395b2173ced2cfd0a4b0eb2) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - fix: USTD not showing that it uses an adapter by supporting Tether's tokenAdapter implementation - Updated dependencies \[[`38b2631`](https://redirect.github.com/celo-org/developer-tooling/commit/38b26316d615e836e21bbfe2f44853f7e8220e03), [`59f4b42`](https://redirect.github.com/celo-org/developer-tooling/commit/59f4b42029699861e91dd2214c40173f70de279e), [`182bf73`](https://redirect.github.com/celo-org/developer-tooling/commit/182bf73209e6b7de0d9ea1fedaf91c9ec80299f5), [`38b2631`](https://redirect.github.com/celo-org/developer-tooling/commit/38b26316d615e836e21bbfe2f44853f7e8220e03), [`7b93642`](https://redirect.github.com/celo-org/developer-tooling/commit/7b93642803261b37971dd3c07f8748b6bc8f3378), [`38b2631`](https://redirect.github.com/celo-org/developer-tooling/commit/38b26316d615e836e21bbfe2f44853f7e8220e03), [`66972eb`](https://redirect.github.com/celo-org/developer-tooling/commit/66972ebf0dfabc845ae309c2f794fe015ac49a86)]: - [@​celo/utils](https://redirect.github.com/celo/utils)[@​7](https://redirect.github.com/7).0.0 - [@​celo/wallet-local](https://redirect.github.com/celo/wallet-local)[@​6](https://redirect.github.com/6).0.0 - [@​celo/connect](https://redirect.github.com/celo/connect)[@​6](https://redirect.github.com/6).0.0 - [@​celo/base](https://redirect.github.com/celo/base)[@​6](https://redirect.github.com/6).1.0 ### [`v8.0.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%408.0.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@7.2.0...@celo/contractkit@8.0.0) ##### Major Changes - [#​200](https://redirect.github.com/celo-org/developer-tooling/pull/200) [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - The following changes are related to adding support for more fee currencies in the [@​celo](https://redirect.github.com/celo) packages. (BREAKING): `setFeeCurrency` changed to accept an address instead of previously accepting a StableToken (CHANGED): all places referring to gasCurrencies have been changed from `string` to `StrongAddress` for safer types. This shouldn't impact you as you already should have been giving `0x${string}` in these places (CHANGED): reinforced the types of most contract wrappers to use `StrongAddress` where appropriate - [#​200](https://redirect.github.com/celo-org/developer-tooling/pull/200) [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - Removes stable token infos from the kit.getNetworkConfig() Removes from StableTokenWrapper all InflationParameters including, valueToUnits(), unitsToValues(), setInflationParameters(), Removes the inflation params from StableTokenWrapper.getConfig ##### Patch Changes - [#​200](https://redirect.github.com/celo-org/developer-tooling/pull/200) [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - Bump Cross Fetch to fix security vulnerability - [#​200](https://redirect.github.com/celo-org/developer-tooling/pull/200) [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - Bump web3-\* to 1.10.4 -- Some consumers may be forced to upgrade their web3 instance to the same version - Updated dependencies \[[`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01)]: - [@​celo/wallet-local](https://redirect.github.com/celo/wallet-local)[@​5](https://redirect.github.com/5).2.0 - [@​celo/connect](https://redirect.github.com/celo/connect)[@​5](https://redirect.github.com/5).3.0 - [@​celo/utils](https://redirect.github.com/celo/utils)[@​6](https://redirect.github.com/6).0.1 - [@​celo/base](https://redirect.github.com/celo/base)[@​6](https://redirect.github.com/6).0.1 ### [`v7.2.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%407.2.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@7.1.0...@celo/contractkit@7.2.0) ##### Minor Changes - [#​171](https://redirect.github.com/celo-org/developer-tooling/pull/171) [`fb7877a`](https://redirect.github.com/celo-org/developer-tooling/commit/fb7877ac364a4552769d77e4edd980460494557a) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Support for Core Contracts Release 11 (upgrade [@​celo/abis](https://redirect.github.com/celo/abis)) see ### [`v7.1.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%407.1.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/@celo/contractkit@7.0.0...@celo/contractkit@7.1.0) ##### Minor Changes - [#​140](https://redirect.github.com/celo-org/developer-tooling/pull/140) [`0ad9c01`](https://redirect.github.com/celo-org/developer-tooling/commit/0ad9c011b868c4bf5456f4048cb6d405c9dd8c8e) Thanks [@​timmoreton](https://redirect.github.com/timmoreton)! - Activate votes from any account, new optional parameter to specify for account in ElectionWrapper:activate ##### Patch Changes - Updated dependencies \[[`28cd8f8`](https://redirect.github.com/celo-org/developer-tooling/commit/28cd8f8c8dd62ecafa01ef7a7fb89117e6db9b56)]: - [@​celo/connect](https://redirect.github.com/celo/connect)[@​5](https://redirect.github.com/5).2.0 - [@​celo/wallet-local](https://redirect.github.com/celo/wallet-local)[@​5](https://redirect.github.com/5).1.3 ### [`v7.0.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/contractkit%407.0.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/7e074452eef600295b4b2a7fd6f34dbda528d49d...@celo/contractkit@7.0.0) ##### Major Changes - [#​107](https://redirect.github.com/celo-org/developer-tooling/pull/107) [`b34439a`](https://redirect.github.com/celo-org/developer-tooling/commit/b34439a945c698c560c096c92255c230602adee6) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Remove all references to now defunkt mento exchange contracts ##### Patch Changes - [#​57](https://redirect.github.com/celo-org/developer-tooling/pull/57) [`8fb6c76`](https://redirect.github.com/celo-org/developer-tooling/commit/8fb6c76e4fada71c91f516ed151c4519ff2fe0fd) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Re-removes MetaTransaction wallets, as previously removed in 6.0.0 ([`9ab9d00`](https://redirect.github.com/celo-org/developer-tooling/commit/9ab9d00eb)). Remove support for deprecated `MetaTransactionWallet` and `MetaTransactionWalletDeployer`. If absolutely needed the contracts can be accessed directly or an alternative such as account abstraction should be used. - [#​56](https://redirect.github.com/celo-org/developer-tooling/pull/56) [`7dfbcd6`](https://redirect.github.com/celo-org/developer-tooling/commit/7dfbcd60203c8fd95bc6e113adfba02f7071ac47) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Re-removes `grandamento` While 6.0.0 ([`9ab9d00`](https://redirect.github.com/celo-org/developer-tooling/commit/9ab9d00eb)) previously removed `grandamento` it was added back temporarily because `@celo/celocli` required the wrappers to be available in order to execute the proposal to remove it from governance. It is now gone for good. RIP. Due to previous removal this is not considered a breaking change. - Updated dependencies \[[`6b2e34c`](https://redirect.github.com/celo-org/developer-tooling/commit/6b2e34c973290da221aaabdc2bf4c6654ef9f99c)]: - [@​celo/utils](https://redirect.github.com/celo/utils)[@​6](https://redirect.github.com/6).0.0 - [@​celo/wallet-local](https://redirect.github.com/celo/wallet-local)[@​5](https://redirect.github.com/5).1.2 - [@​celo/connect](https://redirect.github.com/celo/connect)[@​5](https://redirect.github.com/5).1.2 ### [`v6.0.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/utils%406.0.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/bfbec5720a5bf4f62b6eb1a6051dce8d0355b4a9...7e074452eef600295b4b2a7fd6f34dbda528d49d) ##### Major Changes - [#​105](https://redirect.github.com/celo-org/developer-tooling/pull/105) [`6b2e34c`](https://redirect.github.com/celo-org/developer-tooling/commit/6b2e34c973290da221aaabdc2bf4c6654ef9f99c) Thanks [@​aaronmgdr](https://redirect.github.com/aaronmgdr)! - Remove export compareBN This would have been used to sort BN.js numbers. Generic comparator functions are not really the scope of this library. Removing it allows the bn.js dependency to be removed too. If you were using this function it can be re-implemented as ```typescript export function compareBN(a: BN, b: BN) { if (a.eq(b)) { return 0 } else if (a.lt(b)) { return -1 } else { return 1 } } ``` ### [`v5.2.1`](https://redirect.github.com/celo-org/developer-tooling/compare/ff3b4b3a6b282600fbef48cf7c5908eb9c323efb...bfbec5720a5bf4f62b6eb1a6051dce8d0355b4a9) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/ff3b4b3a6b282600fbef48cf7c5908eb9c323efb...bfbec5720a5bf4f62b6eb1a6051dce8d0355b4a9) ### [`v5.2.0`](https://redirect.github.com/celo-org/developer-tooling/releases/tag/%40celo/wallet-local%405.2.0) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/aed811c23b7284ea4d1ab5aa3feeb1c6b3b92ebf...ff3b4b3a6b282600fbef48cf7c5908eb9c323efb) ##### Patch Changes - [#​200](https://redirect.github.com/celo-org/developer-tooling/pull/200) [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01) Thanks [@​nicolasbrugneaux](https://redirect.github.com/nicolasbrugneaux)! - Bump web3-\* to 1.10.4 -- Some consumers may be forced to upgrade their web3 instance to the same version - Updated dependencies \[[`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01), [`6e3372f`](https://redirect.github.com/celo-org/developer-tooling/commit/6e3372f5ada20bb59d88e275170be4dae1e99f01)]: - [@​celo/wallet-base](https://redirect.github.com/celo/wallet-base)[@​5](https://redirect.github.com/5).2.0 - [@​celo/connect](https://redirect.github.com/celo/connect)[@​5](https://redirect.github.com/5).3.0 - [@​celo/utils](https://redirect.github.com/celo/utils)[@​6](https://redirect.github.com/6).0.1 ### [`v5.1.0`](https://redirect.github.com/celo-org/developer-tooling/compare/a8130332021355cdc79e5bac936ebd8a0a25c8d4...aed811c23b7284ea4d1ab5aa3feeb1c6b3b92ebf) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/a8130332021355cdc79e5bac936ebd8a0a25c8d4...aed811c23b7284ea4d1ab5aa3feeb1c6b3b92ebf) ### [`v5.0.4`](https://redirect.github.com/celo-org/developer-tooling/compare/a8130332021355cdc79e5bac936ebd8a0a25c8d4...a8130332021355cdc79e5bac936ebd8a0a25c8d4) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/a8130332021355cdc79e5bac936ebd8a0a25c8d4...a8130332021355cdc79e5bac936ebd8a0a25c8d4) ### [`v5.0.3`](https://redirect.github.com/celo-org/developer-tooling/compare/4afb79b2df8f9f0da69a12a768ec7066a1d9f6df...a8130332021355cdc79e5bac936ebd8a0a25c8d4) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/4afb79b2df8f9f0da69a12a768ec7066a1d9f6df...a8130332021355cdc79e5bac936ebd8a0a25c8d4) ### [`v5.0.2`](https://redirect.github.com/celo-org/developer-tooling/compare/fad24fb5987c021d0a076f39bb42e66f424d2aed...4afb79b2df8f9f0da69a12a768ec7066a1d9f6df) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/fad24fb5987c021d0a076f39bb42e66f424d2aed...4afb79b2df8f9f0da69a12a768ec7066a1d9f6df) ### [`v5.0.1`](https://redirect.github.com/celo-org/developer-tooling/compare/262fee96ee827fa643a90e91673c96c1a92d4a86...fad24fb5987c021d0a076f39bb42e66f424d2aed) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/262fee96ee827fa643a90e91673c96c1a92d4a86...fad24fb5987c021d0a076f39bb42e66f424d2aed) ### [`v5.0.0`](https://redirect.github.com/celo-org/developer-tooling/compare/d0c4d6225e341aae7147c186d433a02dcc49eb1a...262fee96ee827fa643a90e91673c96c1a92d4a86) [Compare Source](https://redirect.github.com/celo-org/developer-tooling/compare/d0c4d6225e341aae7147c186d433a02dcc49eb1a...262fee96ee827fa643a90e91673c96c1a92d4a86)

Configuration

๐Ÿ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 1 month ago

Deploy Preview for fastidious-arithmetic-0085b6 failed.

Name Link
Latest commit b979375d4c7550c30277886634ce03507154babe
Latest deploy log https://app.netlify.com/sites/fastidious-arithmetic-0085b6/deploys/670c883c9c29ea0008f15612
socket-security[bot] commented 1 month ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@celo/contractkit@8.3.0 filesystem, network Transitive: environment, eval, shell, unsafe +341 52.9 MB app-tooling

๐Ÿšฎ Removed packages: npm/@celo/contractkit@4.1.1

View full reportโ†—๏ธŽ