Skip to content

Commit

Permalink
Merge pull request #99 from valory-xyz/release/v0.1.0-rc17
Browse files Browse the repository at this point in the history
Release `v0.1.0 rc17`
  • Loading branch information
angrybayblade authored May 17, 2024
2 parents 919d484 + 748685a commit a47a6a9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion electron/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const process = require('process');
const { spawnSync } = require('child_process');
const Docker = require('dockerode');

const Version = '0.1.0rc16';
const Version = '0.1.0rc17';
const OperateDirectory = `${os.homedir()}/.operate`;
const VenvDir = `${OperateDirectory}/venv`;
const VersionFile = `${OperateDirectory}/version.txt`;
Expand Down
1 change: 1 addition & 0 deletions operate/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ async def _create_safe(request: Request) -> t.List[t.Dict]:
to=t.cast(str, wallet.safe),
amount=int(1e18),
chain_type=chain_type,
from_safe=False,
)
return JSONResponse(content={"safe": wallet.safe, "message": "Safe created!"})

Expand Down
3 changes: 2 additions & 1 deletion operate/services/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def deploy_service_onchain_from_safe( # pylint: disable=too-many-statements,too
if balance < required_olas:
raise ValueError(
"You don't have enough olas to stake, "
f"address: {wallet.safe}; required olas: {required_olas}; your balance {balance}"
f"address: {wallet.safe}; required olas: {required_olas}; your balance: {balance}"
)

if service.chain_data.on_chain_state == OnChainState.NOTMINTED:
Expand Down Expand Up @@ -436,6 +436,7 @@ def deploy_service_onchain_from_safe( # pylint: disable=too-many-statements,too
self.logger.info(
f"Approved {token_utility_allowance} OLAS from {wallet.safe} to {token_utility}"
)
cost_of_bond = 0

self.logger.info("Activating service")
sftxb.new_tx().add(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
"start": "electron .",
"build": "rm -rf dist/ && electron-builder build"
},
"version": "0.1.0-rc16"
"version": "0.1.0-rc17"
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "olas-operate-middleware"
version = "0.1.0-rc16"
version = "0.1.0-rc17"
description = ""
authors = ["David Vilela <[email protected]>", "Viraj Patel <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit a47a6a9

Please sign in to comment.