alloy-rs / core

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

fix: fixed bytes dyn abi packed encoding #671

Closed michprev closed 5 months ago

michprev commented 5 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