Skip to content

Conversation

davidsemakula
Copy link
Contributor

Motivation

Fixes #998

Solution

Fixes padding calculation in encode_topic_bytes which is used for encoding event topic preimages for byte sequences (i.e. string and bytes types) which are members of a composite event parameter type (e.g. structs and arrays).
See #998 for details

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, makes sense, thanks!

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Sep 2, 2025
@DaniPopes DaniPopes merged commit 17f5331 into alloy-rs:main Sep 2, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Sep 2, 2025
@davidsemakula davidsemakula deleted the semakula/fix-topic-encoding branch September 2, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

2 participants