Skip to content

Commit

Permalink
chore: make _writeStrategyConfigs virtual so tooling can overwrite & …
Browse files Browse the repository at this point in the history
…disable certora for prs (#35)
  • Loading branch information
sakulstra authored Jul 25, 2024
1 parent f0e26a6 commit 12275a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
verify:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion tests/utils/ProtocolV3TestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ contract ProtocolV3TestBase is DiffUtils {
vm.writeJson(output, path);
}

function _writeStrategyConfigs(string memory path, ReserveConfig[] memory configs) internal {
function _writeStrategyConfigs(
string memory path,
ReserveConfig[] memory configs
) internal virtual {
// keys for json stringification
string memory strategiesKey = 'stategies';
string memory content = '{}';
Expand Down

0 comments on commit 12275a9

Please sign in to comment.