Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: undo vault downgrade #19

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading