This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
ECDSA: recover(bytes32,bytes) and tryRecover(bytes32,bytes) no longer accept compact signatures to prevent malleability. Compact signature support remains available using recover(bytes32,bytes32,bytes32) and tryRecover(bytes32,bytes32,bytes32).
v4.7.2
:warning: This is a patch for three issues, including a high severity issue in GovernorVotesQuorumFraction. For more information visit the security advisories (1, 2, 3).
GovernorVotesQuorumFraction: Fixed quorum updates so they do not affect past proposals that failed due to lack of quorum. (#3561)
ERC165Checker: Added protection against large returndata. (#3587)
LibArbitrumL2, CrossChainEnabledArbitrumL2: Fixed detection of cross-chain calls for EOAs. Previously, calls from EOAs would be classified as cross-chain calls. (#3578)
v4.7.1
:warning: This is a patch for a medium severity issue affecting SignatureChecker and a high severity issue affecting ERC165Checker. For more information visit the security advisories (1, 2).
SignatureChecker: Fix an issue that causes isValidSignatureNow to revert when the target contract returns ill-encoded data. (#3552)
ERC165Checker: Fix an issue that causes supportsInterface to revert when the target contract returns ill-encoded data. (#3552)
v4.7.0
TimelockController: Migrate _call to _execute and allow inheritance and overriding similar to Governor. (#3317)
CrossChainEnabledPolygonChild: replace the require statement with the custom error NotCrossChainCall. (#3380)
ERC4626: add an extension of ERC20 that implements the ERC4626 Tokenized Vault Standard. (#3171)
SafeERC20: add safePermit as mitigation against phantom permit functions. (#3280)
Math: add a mulDiv function that can round the result either up or down. (#3171)
Math: Add a sqrt function to compute square roots of integers, rounding either up or down. (#3242)
Strings: add a new overloaded function toHexString that converts an address with fixed length of 20 bytes to its not checksummed ASCII string hexadecimal representation. (#3403)
EnumerableMap: add new UintToUintMap map type. (#3338)
EnumerableMap: add new Bytes32ToUintMap map type. (#3416)
SafeCast: add support for many more types, using procedural code generation. (#3245)
MerkleProof: add multiProofVerify to prove multiple values are part of a Merkle tree. (#3276)
MerkleProof: add calldata versions of the functions to avoid copying input arrays to memory and save gas. (#3200)
ECDSA: recover(bytes32,bytes) and tryRecover(bytes32,bytes) no longer accept compact signatures to prevent malleability. Compact signature support remains available using recover(bytes32,bytes32,bytes32) and tryRecover(bytes32,bytes32,bytes32).
4.7.2
LibArbitrumL2, CrossChainEnabledArbitrumL2: Fixed detection of cross-chain calls for EOAs. Previously, calls from EOAs would be classified as cross-chain calls. (#3578)
GovernorVotesQuorumFraction: Fixed quorum updates so they do not affect past proposals that failed due to lack of quorum. (#3561)
ERC165Checker: Added protection against large returndata. (#3587)
4.7.1
SignatureChecker: Fix an issue that causes isValidSignatureNow to revert when the target contract returns ill-encoded data. (#3552)
ERC165Checker: Fix an issue that causes supportsInterface to revert when the target contract returns ill-encoded data. (#3552)
4.7.0 (2022-06-29)
TimelockController: Migrate _call to _execute and allow inheritance and overriding similar to Governor. (#3317)
CrossChainEnabledPolygonChild: replace the require statement with the custom error NotCrossChainCall. (#3380)
ERC4626: add an extension of ERC20 that implements the ERC4626 Tokenized Vault Standard. (#3171)
SafeERC20: add safePermit as mitigation against phantom permit functions. (#3280)
Math: add a mulDiv function that can round the result either up or down. (#3171)
Math: Add a sqrt function to compute square roots of integers, rounding either up or down. (#3242)
Strings: add a new overloaded function toHexString that converts an address with fixed length of 20 bytes to its not checksummed ASCII string hexadecimal representation. (#3403)
EnumerableMap: add new UintToUintMap map type. (#3338)
EnumerableMap: add new Bytes32ToUintMap map type. (#3416)
SafeCast: add support for many more types, using procedural code generation. (#3245)
MerkleProof: add multiProofVerify to prove multiple values are part of a Merkle tree. (#3276)
MerkleProof: add calldata versions of the functions to avoid copying input arrays to memory and save gas. (#3200)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hyperledger-labs/blockchain-carbon-accounting/network/alerts).
Bumps @openzeppelin/contracts-upgradeable from 4.6.0 to 4.7.3.
Release notes
Sourced from
@openzeppelin/contracts-upgradeable
's releases.Changelog
Sourced from
@openzeppelin/contracts-upgradeable
's changelog.Commits
0a2cb9a
Transpile 8aa88c4012ad9ea
Transpile dc57a7ea5843c07
Transpile 6b9fbb14e2bcd07
Transpile e64bfd92da834e3
Transpile b19184c5e121641
Transpile 4e23f6425e9bccb
Transpile 138d09486b9807b
Transpile ec1fcdde366f3da
Transpile 6d4c354ed2ec96a
Transpile c319c806Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hyperledger-labs/blockchain-carbon-accounting/network/alerts).