Skip to content

Commit

Permalink
fix certora
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsoncusack committed Apr 8, 2024
1 parent ce8015b commit 4f107ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc8.23
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install git submodules
run: |
git submodule update --init --recursive
run: forge build

- name: Verify rule ${{ matrix.params.name }}
run: >
Expand Down
2 changes: 1 addition & 1 deletion certora/specs/ERC4337Account.spec
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ rule OnlyOwnerSelfOrEntryPoint(env e, method f) filtered {
rule OnlyEntryPoint(env e, method f) filtered {
// There is no difference between filtering functions and using them as a lhs of implication
f -> f.selector == sig:validateUserOp(EntryPointMock.UserOperation, bytes32, uint256).selector
|| f.selector == sig:executeWithoutChainIdValidation(bytes).selector
|| f.selector == sig:executeWithoutChainIdValidation(bytes[]).selector
} {
bool ownerBefore = e.msg.sender == entryPoint();

Expand Down

0 comments on commit 4f107ab

Please sign in to comment.