Skip to content

Commit

Permalink
Fix formatting, type in readme and gas snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Aug 1, 2023
1 parent b901af1 commit a31801b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AggorTest:test_tryReadWithAge_ReturnsFalseIfValIsZero() (gas: 11157)
AggorTest:test_tryRead_IsTollProtected() (gas: 11952)
AggorTest:test_tryRead_ReturnsFalseIfValIsZero() (gas: 10070)
AggorTest:test_useUniswap_IsAuthProtected() (gas: 12326)
AggorTest:test_useUniswap_NotConfigured() (gas: 2345964)
AggorTest:test_useUniswap_NotConfigured() (gas: 2345678)
LibCalcTest:test_distance() (gas: 305)
LibCalcTest:test_pctDiff() (gas: 439)
LibCalcTest:test_scale_basic() (gas: 240)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ forge fmt [--check]

Update gas snapshots:
```bash
$ forge snapshot --nmt "Fuzz" [--check]
$ forge snapshot --nmt "Fuzz|Integration" [--check]
```

## Dependencies
Expand Down
4 changes: 3 additions & 1 deletion script/Aggor.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ contract AggorScript is Script {
}

/// @dev Sets staleness threshold to `stalenessThreshold`.
function setStalenessThreshold(address self, uint32 stalenessThreshold) public {
function setStalenessThreshold(address self, uint32 stalenessThreshold)
public
{
vm.startBroadcast();
IAggor(self).setStalenessThreshold(stalenessThreshold);
vm.stopBroadcast();
Expand Down

0 comments on commit a31801b

Please sign in to comment.