Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] alloy_sol_types::private::Uint<256, 4> trait impl #379

Closed
jnoorchashm37 opened this issue Oct 20, 2023 · 1 comment · Fixed by #443
Closed

[Bug] alloy_sol_types::private::Uint<256, 4> trait impl #379

jnoorchashm37 opened this issue Oct 20, 2023 · 1 comment · Fixed by #443
Labels
bug Something isn't working

Comments

@jnoorchashm37
Copy link

Component

sol-types

What version of Alloy are you on?

No response

Operating System

Linux

Describe the bug

Screenshot 2023-10-19 at 5 58 08 PM

the trait std::borrow::Borrow<[u8; 20]> is not implement
ed for alloy_sol_types::private::Uint<256, 4>

https://etherscan.io/address/0x2e4b0f20bdb1caa0886c531256efdaab925dbe72


Screenshot 2023-10-19 at 6 00 05 PM

std::borrow::Borrow<alloy_sol_types::private::U int<256, 4>> is not implemented for alloy_sol_types::private::Address

https://etherscan.io/address/0x2e4b0f20bdb1caa0886c531256efdaab925dbe72


Screenshot 2023-10-19 at 6 01 26 PM

the trait std::borrow::Borrow<[u8; 32]> is not implemented for alloy_sol_types::private::Uint<256, 4>

https://etherscan.io/address/0x2e4b0f20bdb1caa0886c531256efdaab925dbe72


Screenshot 2023-10-19 at 6 04 18 PM

the trait bound u128: Borrow<alloy_sol_types::private::Uint<256, 4>> is not satisfied

https://etherscan.io/address/0xbb37a88508d464a1bb54cf627d05e39883ae0ef9

@jnoorchashm37 jnoorchashm37 added the bug Something isn't working label Oct 20, 2023
@DaniPopes
Copy link
Member

DaniPopes commented Dec 1, 2023

First contract is fixed in 0.5, second one is duplicate of #376 (see #377 (comment))

@DaniPopes DaniPopes closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants