diff --git a/common/transaction/src/call_data.rs b/common/transaction/src/call_data.rs index d895a155..f651d5be 100644 --- a/common/transaction/src/call_data.rs +++ b/common/transaction/src/call_data.rs @@ -65,10 +65,6 @@ impl NestedDecode for CallData { args.push(arg); } - if !input.is_depleted() { - return core::result::Result::Err(DecodeError::from("Input too long")); - } - core::result::Result::Ok(Self { endpoint: endpoint_name, gas_limit,