Skip to content

Commit 94958d7

Browse files
Merge pull request #309 from zeevick10/master
Fix Typos in Documentation and Test Function Names
2 parents 4a561ec + 98670a6 commit 94958d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/swaps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The `Swapper` and `SwapVerifier` contracts are helpers for executing swaps and swaps-to-repay operations on EVK vaults, using EVC batches.
44

5-
## Security and trust boundries
5+
## Security and trust boundaries
66

77
The `Swapper` contract is not trusted. From the protocol's perspective, it is a black box. Provided with a token to sell, it is supposed to execute the swap and return the bought token either as a balance available for deposit or as repaid debt. No assumptions are made about how the swap is performed or about the security of the `Swapper` code. In fact, the `Swapper` has no access control and allows anyone to remove any token balance it holds at any time. The provided implementation is just a reference; users are generally free to use any swapper they choose.
88

test/Governor/FactoryGovernor.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ contract FactoryGovernorTests is EVaultTestBase {
9191
assertEq(eTST.balanceOf(depositor), 102e18);
9292
}
9393

94-
function test_FactoryGovernor_unathorizedCantTriggePause() external {
94+
function test_FactoryGovernor_unauthorizedCantTriggePause() external {
9595
vm.prank(admin);
9696
vm.expectRevert();
9797
factoryGovernor.pause(address(factory));
@@ -132,7 +132,7 @@ contract FactoryGovernorTests is EVaultTestBase {
132132
assertEq(eTST.balanceOf(depositor), 101e18);
133133
}
134134

135-
function test_FactoryGovernor_unathorizedCantTriggeUnpause() external {
135+
function test_FactoryGovernor_unauthorizedCantTriggeUnpause() external {
136136
vm.prank(admin);
137137
vm.expectRevert();
138138
factoryGovernor.unpause(address(factory));

0 commit comments

Comments
 (0)