Skip to content

Commit

Permalink
fix: permission error with docker builds
Browse files Browse the repository at this point in the history
Signed-off-by: OjusWiZard <[email protected]>
  • Loading branch information
OjusWiZard committed Jan 15, 2025
1 parent 5b8c8ae commit d8c4a00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include = []

[tool.poetry.dependencies]
python = ">=3.9,<3.12"
olas-operate-middleware = { git = "https://github.com/valory-xyz/olas-operate-app.git", rev = "5de9dcf85b422f90554236a458510938b1029a86"}
olas-operate-middleware = { git = "https://github.com/valory-xyz/olas-operate-app.git", rev = "dc07fdcf05a907641d4c9af3e57d17612df6498d"}
tqdm = "^4.67.1"

[tool.poetry.group.dev.dependencies]
Expand Down
10 changes: 0 additions & 10 deletions tests/test_run_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,16 +338,6 @@ def handle_native_funding(output: str, logger: logging.Logger, rpc_url: str, con
wallet_address = match.group(1)
required_amount = float(match.group(2))
wallet_type = "EOA" if "EOA" in pattern else "Safe"

if "modius" in config_type.lower():
original_amount = required_amount
required_amount = 0.6
logger.info(f"Modius detected: Increasing funding from {original_amount} ETH to {required_amount} ETH for gas buffer")
if "optimus" in config_type.lower():
original_amount = required_amount
required_amount = 100
logger.info(f"Optimus detected: Increasing funding from {original_amount} ETH to {required_amount} ETH for gas buffer")

try:
w3 = Web3(Web3.HTTPProvider(rpc_url))
amount_wei = w3.to_wei(required_amount, 'ether')
Expand Down

0 comments on commit d8c4a00

Please sign in to comment.