Skip to content

Commit

Permalink
Revert "chore: downgrade vault (#18)"
Browse files Browse the repository at this point in the history
This reverts commit 92b278d.
  • Loading branch information
AlbertoCentonze committed Oct 9, 2024
1 parent f8c27de commit 35e373d
Show file tree
Hide file tree
Showing 12 changed files with 312 additions and 5,220 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# Install Solidity compiler (solc)
- name: Install solc
run: |
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install -y solc
# install poetry to allow cacheing
- name: Install poetry
run: pipx install poetry
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ repos:
args: ["--profile", "black", --line-length=100]

default_language_version:
python: python3.12
python: python3.12.6
3 changes: 2 additions & 1 deletion contracts/RewardsHandler.vy
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ def set_distribution_time(new_distribution_time: uint256):
extcall vault.setProfitMaxUnlockTime(new_distribution_time)

# enact the changes
extcall vault.process_report(staticcall vault.default_queue(0))
extcall vault.process_report(vault.address)


@external
def set_minimum_weight(new_minimum_weight: uint256):
Expand Down
5 changes: 0 additions & 5 deletions contracts/interfaces/IVault.vyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@ def setProfitMaxUnlockTime(new_profit_max_unlock_time: uint256):
@external
def process_report(strategy: address) -> (uint256, uint256):
...

@view
@external
def default_queue(index: uint256) -> address:
...
Loading

0 comments on commit 35e373d

Please sign in to comment.