Skip to content

Commit

Permalink
Merge branch 'jalextowle/chore/looser-library-and-interface-versionin…
Browse files Browse the repository at this point in the history
…g' into jalextowle/chore/upgrade-version
  • Loading branch information
jalextowle authored Aug 7, 2024
2 parents f2588cb + d437fce commit ece72e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@
1. Each immutable should have a corresponding getter.
2. Each state variable should have a corresponding getter or should be reachable through a generalized getter (like `loads`).
3. Each function that changes state should have an event that encodes the state changes that occurred within the function call. If possible, this event should be sufficient to fully recreate the state change that occurred from the previous state.

## Tests

1. Each test should have a comment above the function name giving a high-level description of what the test is doing.
2. Each test name that evaluates a failure case should contain "failure" in the function name.
2 changes: 1 addition & 1 deletion test/debug/Debug.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.22;
pragma solidity ^0.8.20;

import { console2 as console } from "forge-std/console2.sol";
import { IHyperdriveCore } from "../../contracts/src/interfaces/IHyperdriveCore.sol";
Expand Down

0 comments on commit ece72e1

Please sign in to comment.