From 3b362c61157cc109c75508b37dfe3e1fe86e5253 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:51:14 +0100 Subject: [PATCH] Use Optional[Bytes32] instead of Union[Null, Bytes32] for value diffs Co-authored-by: Mikhail Kalinin --- specs/verge/beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/verge/beacon-chain.md b/specs/verge/beacon-chain.md index 072a7461b..ebe6745a7 100644 --- a/specs/verge/beacon-chain.md +++ b/specs/verge/beacon-chain.md @@ -114,10 +114,10 @@ class SuffixStateDiff(Container): suffix: Byte # Null means not currently present - current_value: Union[Null, Bytes32] + current_value: Optional[Bytes32] # Null means value not updated - new_value: Union[Null, Bytes32] + new_value: Optional[Bytes32] ``` *Note*: on the Kaustinen testnet, `new_value` is ommitted from the container.