fix: use full path of i256 (#2000)

This commit is contained in:
Matthias Seitz 2023-01-03 14:12:47 +01:00 committed by GitHub
parent 97582cc346
commit 6ac3e75c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {