Skip to content

Commit d5602de

Browse files
MHHukiewitzhoh
authored andcommitted
further aleph.im renaming
1 parent e17a48c commit d5602de

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/aleph/sdk/chains/common.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

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

6565
async def sign_message(self, message: Dict) -> Dict:
6666
"""
67-
Returns a signed message from an Aleph message.
67+
Returns a signed message from an aleph.im message.
6868
Args:
6969
message: Message to sign
7070
Returns:

src/aleph/sdk/chains/nuls2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, private_key=None, chain_id=1, prefix=None):
3939

4040
async def sign_message(self, message: Dict) -> Dict:
4141
"""
42-
Returns a signed message from an Aleph message.
42+
Returns a signed message from an aleph.im message.
4343
Args:
4444
message: Message to sign
4545
Returns:

src/aleph/sdk/vm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""
2-
Aleph helpers for apps running inside Aleph Virtual Machines.
2+
Aleph.im helpers for apps running inside aleph.im Virtual Machines.
33
"""

src/aleph/sdk/vm/app.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def matches(self, scope: Mapping[str, Any]) -> bool:
3030

3131

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

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

0 commit comments

Comments
 (0)