Skip to content

Commit

Permalink
further aleph.im renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Oct 5, 2023
1 parent f2b4eb3 commit 56fa8ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/aleph/sdk/chains/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

def get_verification_buffer(message: Dict) -> bytes:
"""
Returns the verification buffer that Aleph nodes use to verify the signature of a message.
Returns the verification buffer that aleph.im nodes use to verify the signature of a message.
Note:
The verification buffer is a string of the following format:
b"{chain}\\n{sender}\\n{type}\\n{item_hash}"
Expand Down Expand Up @@ -64,7 +64,7 @@ def _setup_sender(self, message: Dict) -> Dict:

async def sign_message(self, message: Dict) -> Dict:
"""
Returns a signed message from an Aleph message.
Returns a signed message from an aleph.im message.
Args:
message: Message to sign
Returns:
Expand Down
2 changes: 1 addition & 1 deletion src/aleph/sdk/chains/nuls2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, private_key=None, chain_id=1, prefix=None):

async def sign_message(self, message: Dict) -> Dict:
"""
Returns a signed message from an Aleph message.
Returns a signed message from an aleph.im message.
Args:
message: Message to sign
Returns:
Expand Down
2 changes: 1 addition & 1 deletion src/aleph/sdk/vm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""
Aleph helpers for apps running inside Aleph Virtual Machines.
Aleph.im helpers for apps running inside aleph.im Virtual Machines.
"""
4 changes: 2 additions & 2 deletions src/aleph/sdk/vm/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def matches(self, scope: Mapping[str, Any]) -> bool:


class AlephApp:
"""ASGI compatible wrapper for apps running inside Aleph Virtual Machines.
"""ASGI compatible wrapper for apps running inside aleph.im Virtual Machines.
The wrapper adds support to register functions to react to non-HTTP events.
"""

Expand Down Expand Up @@ -93,7 +93,7 @@ def __getattr__(self, name):
def vm_hash(self) -> Optional[str]:
"""
Returns the hash of the VM that is running this app. If the VM is not
running in Aleph, this will return None.
running in aleph.im, this will return None.
"""
# Get hostname from environment
hostname = socket.gethostname()
Expand Down

0 comments on commit 56fa8ef

Please sign in to comment.