Skip to content

Commit

Permalink
fix: use full path of i256 (gakonst#2000)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and Rjected committed Jan 4, 2023
1 parent a8ac702 commit 5ae294f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub(crate) fn expand(kind: &ParamType) -> Result<TokenStream> {
3..=4 => Ok(quote! { i32 }),
5..=8 => Ok(quote! { i64 }),
9..=16 => Ok(quote! { i128 }),
17..=32 => Ok(quote! { I256 }),
17..=32 => Ok(quote! { #ethers_core::types::I256 }),
_ => bail!("unsupported solidity type int{}", n),
},
ParamType::Uint(n) => match n / 8 {
Expand Down

0 comments on commit 5ae294f

Please sign in to comment.