Skip to content

Commit

Permalink
ci: changes for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
romanagureev committed May 31, 2024
1 parent d4a2737 commit 6c82d62
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ dmypy.json
.history
reports/

.idea/
.idea/
4 changes: 3 additions & 1 deletion tests/child_gauge/test_approve.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ class Permit(EIP712Message):
permit = Permit(owner=alice.address, spender=bob.address, value=2**256 - 1, nonce=0)
sig = alice.sign_message(permit)

tx = child_gauge.permit(alice, bob, 2**256 - 1, 2**256 - 1, sig.v, sig.r, sig.s, {"from": bob})
tx = child_gauge.permit(
alice, bob, 2**256 - 1, 2**256 - 1, sig.v, sig.r, sig.s, {"from": bob}
)

assert child_gauge.allowance(alice, bob) == 2**256 - 1

Expand Down
4 changes: 3 additions & 1 deletion tests/forked/test_bridgers.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ def test_optimism_bridger(alice, crv_token, OptimismBridger):
bridger.bridge(
crv_token, alice, 2**256 - 1, 10**18, {"from": alice, "value": bridger.cost()}
)
bridger.bridge(crv_token, alice, 2**256 - 1, 10**17, {"from": alice, "value": bridger.cost()})
bridger.bridge(
crv_token, alice, 2**256 - 1, 10**17, {"from": alice, "value": bridger.cost()}
)

assert crv_token.balanceOf(optimism_bridge) == balance_before + 10**18

Expand Down

0 comments on commit 6c82d62

Please sign in to comment.