Skip to content

Commit

Permalink
Fix programs for SOL payment chain
Browse files Browse the repository at this point in the history
  • Loading branch information
philogicae committed Feb 20, 2025
1 parent e4ce90e commit 039511e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aleph/sdk/client/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ async def create_program(
runtime: str,
metadata: Optional[dict[str, Any]] = None,
address: Optional[str] = None,
payment: Optional[Payment] = None,
vcpus: Optional[int] = None,
memory: Optional[int] = None,
timeout_seconds: Optional[float] = None,
Expand All @@ -387,6 +388,7 @@ async def create_program(
:param runtime: Runtime to use
:param metadata: Metadata to attach to the message
:param address: Address to use (Default: account.get_address())
:param payment: Payment method used to pay for the program (Default: None)
:param vcpus: Number of vCPUs to allocate (Default: 1)
:param memory: Memory in MB for the VM to be allocated (Default: 128)
:param timeout_seconds: Timeout in seconds (Default: 30.0)
Expand Down
2 changes: 2 additions & 0 deletions src/aleph/sdk/client/authenticated_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ async def create_program(
runtime: str,
metadata: Optional[dict[str, Any]] = None,
address: Optional[str] = None,
payment: Optional[Payment] = None,
vcpus: Optional[int] = None,
memory: Optional[int] = None,
timeout_seconds: Optional[float] = None,
Expand All @@ -433,6 +434,7 @@ async def create_program(
runtime=runtime,
metadata=metadata,
address=address,
payment=payment,
vcpus=vcpus,
memory=memory,
timeout_seconds=timeout_seconds,
Expand Down

0 comments on commit 039511e

Please sign in to comment.