alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
758 stars 131 forks source link

fix: fixed bytes dyn abi packed encoding #671

Closed michprev closed 2 months ago

michprev commented 2 months ago

Motivation

Packed encoding does not extend fixed bytes to 32-byte words.

Solution

Using the actual size of the fixed bytes without extending.

PR Checklist