Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: updates bot logs command to support new interface #149

Merged
merged 6 commits into from
Oct 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: import Self from typing_extensions
mikeshultz committed Oct 22, 2024
commit 6e1340c39dae4d008132040540092924fb2ad984
3 changes: 2 additions & 1 deletion silverback/cluster/types.py
Original file line number Diff line number Diff line change
@@ -5,13 +5,14 @@
import uuid
from datetime import datetime
from enum import IntEnum
from typing import Annotated, Any, Self
from typing import Annotated, Any

from ape.types import AddressType, HexBytes
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.primitives.hmac import HMAC, hashes
from eth_utils import to_bytes, to_int
from pydantic import BaseModel, Field, computed_field, field_validator
from typing_extensions import Self


def normalize_bytes(val: bytes, length: int = 16) -> bytes: