Skip to content

Commit

Permalink
fix: black
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Oct 19, 2023
1 parent 0c51e68 commit db39be4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ dependencies:
github: yearn/tokenized-strategy-periphery
ref: master
contracts_folder: src
exclude:
- test/

solidity:
import_remapping:
Expand Down
5 changes: 4 additions & 1 deletion scripts/deploy_address_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

deployer = accounts.load("")


def deploy_address_provider():
print("Deploying Address Provider on ChainID", chain.chain_id)

Expand All @@ -34,7 +35,9 @@ def deploy_address_provider():
print("Init balance:", deployer.balance / 1e18)

# generate and deploy
constructor = address_provider.constructor.encode_input("0x33333333D5eFb92f19a5F94a43456b3cec2797AE")
constructor = address_provider.constructor.encode_input(
"0x33333333D5eFb92f19a5F94a43456b3cec2797AE"
)

deploy_bytecode = HexBytes(
HexBytes(address_provider.contract_type.deployment_bytecode.bytecode)
Expand Down
5 changes: 4 additions & 1 deletion scripts/deploy_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

deployer = accounts.load("")


def deploy_release_and_factory():
print("Deploying Vault Registry on ChainID", chain.chain_id)

Expand Down Expand Up @@ -38,7 +39,9 @@ def deploy_release_and_factory():
if input("Do you want to deploy a new Release Registry? ") == "y":

# generate and deploy release registry
release_constructor = release_registry.constructor.encode_input("0x33333333D5eFb92f19a5F94a43456b3cec2797AE")
release_constructor = release_registry.constructor.encode_input(
"0x33333333D5eFb92f19a5F94a43456b3cec2797AE"
)

release_deploy_bytecode = HexBytes(
HexBytes(release_registry.contract_type.deployment_bytecode.bytecode)
Expand Down

0 comments on commit db39be4

Please sign in to comment.