Skip to content

Commit 808a851

Browse files
authored
Merge branch 'master' into typo-fixes
2 parents 2518fbd + ed6a47e commit 808a851

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/formal-verification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: identify specs that need to be run
3737
id: arguments
3838
run: |
39-
if [[ ${{ github.event_name }} = 'pull_request' ]];
39+
if [[ ${{ github.event_name }} = 'pull_request' && ${{ contains(github.event.pull_request.labels.*.name, 'formal-verification-force-all') }} = 'false' ]];
4040
then
4141
RESULT=$(git diff ${{ github.event.pull_request.head.sha }}..${{ github.event.pull_request.base.sha }} --name-only certora/specs/*.spec | while IFS= read -r file; do [[ -f $file ]] && basename "${file%.spec}"; done | tr "\n" " ")
4242
else

contracts/metatx/ERC2771Forwarder.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ contract ERC2771Forwarder is EIP712, Nonces {
232232
keccak256(request.data)
233233
)
234234
)
235-
).tryRecover(request.signature);
235+
).tryRecoverCalldata(request.signature);
236236

237237
return (err == ECDSA.RecoverError.NoError, recovered);
238238
}

contracts/utils/cryptography/signers/SignerECDSA.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ abstract contract SignerECDSA is AbstractSigner {
5050
bytes32 hash,
5151
bytes calldata signature
5252
) internal view virtual override returns (bool) {
53-
(address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecover(hash, signature);
53+
(address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecoverCalldata(hash, signature);
5454
return signer() == recovered && err == ECDSA.RecoverError.NoError;
5555
}
5656
}

contracts/utils/cryptography/signers/SignerEIP7702.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract contract SignerEIP7702 is AbstractSigner {
1919
bytes32 hash,
2020
bytes calldata signature
2121
) internal view virtual override returns (bool) {
22-
(address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecover(hash, signature);
22+
(address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecoverCalldata(hash, signature);
2323
return address(this) == recovered && err == ECDSA.RecoverError.NoError;
2424
}
2525
}

fv-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
certora-cli==8.1.1
1+
certora-cli==8.3.0
22
# File uses a custom name (fv-requirements.txt) so that it isn't picked by Netlify's build
33
# whose latest Python version is 0.3.8, incompatible with most recent versions of Halmos
44
halmos==0.3.3

0 commit comments

Comments
 (0)