Skip to content

Commit

Permalink
Update EIP-6493: Fix Optional specification for signature profile
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
etan-status authored Aug 30, 2024
1 parent be1b4f1 commit 8a96c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions EIPS/eip-6493.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ class BlobFeesPerGas(Profile[FeesPerGas]):
blob: FeePerGas

class EcdsaTransactionSignature(Profile[TransactionSignature]):
from_: Optional[ExecutionAddress]
ecdsa_signature: Optional[ByteVector[ECDSA_SIGNATURE_SIZE]]
from_: ExecutionAddress
ecdsa_signature: ByteVector[ECDSA_SIGNATURE_SIZE]

class ReplayableTransactionPayload(Profile[TransactionPayload]):
type_: TransactionType
Expand Down
4 changes: 2 additions & 2 deletions assets/eip-6493/ssz_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class BlobFeesPerGas(Profile[FeesPerGas]):
blob: FeePerGas

class EcdsaTransactionSignature(Profile[TransactionSignature]):
from_: Optional[ExecutionAddress]
ecdsa_signature: Optional[ByteVector[ECDSA_SIGNATURE_SIZE]]
from_: ExecutionAddress
ecdsa_signature: ByteVector[ECDSA_SIGNATURE_SIZE]

class ReplayableTransactionPayload(Profile[TransactionPayload]):
type_: TransactionType
Expand Down

0 comments on commit 8a96c38

Please sign in to comment.