From e3e810cef92af1524a7d52c69629f39a506d0552 Mon Sep 17 00:00:00 2001 From: Meet Mangukiya Date: Fri, 27 May 2022 19:42:24 +0530 Subject: [PATCH] feat(abi): impl AbiEncode, AbiDecode for I256 (#1311) --- ethers-core/src/abi/codec.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethers-core/src/abi/codec.rs b/ethers-core/src/abi/codec.rs index 283bd076..d9f6c456 100644 --- a/ethers-core/src/abi/codec.rs +++ b/ethers-core/src/abi/codec.rs @@ -2,7 +2,7 @@ use crate::{ abi::{ AbiArrayType, AbiError, AbiType, Detokenize, Token, Tokenizable, TokenizableItem, Tokenize, }, - types::{Address, Bytes, H256, U128, U256}, + types::{Address, Bytes, H256, I256, U128, U256}, }; /// Trait for ABI encoding @@ -63,6 +63,7 @@ impl_abi_codec!( H256, U128, U256, + I256, u8, u16, u32,