feat(uniswap_v2): encode attribute values with big endian encoding

This commit is contained in:
Louise Poole
2024-10-17 15:58:26 +02:00
parent 78f6cb277a
commit 3639d8d747
5 changed files with 7 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ fn handle_sync(
name: attribute_name,
value: reserve_bytes
.clone()
.to_signed_bytes_le(), //TODO: Unify bytes encoding (either be or le)
.to_signed_bytes_be(),
change: ChangeType::Update.into(),
},
);