diff --git a/beacon_node/execution_layer/src/lib.rs b/beacon_node/execution_layer/src/lib.rs index fa5f26445..902b5beec 100644 --- a/beacon_node/execution_layer/src/lib.rs +++ b/beacon_node/execution_layer/src/lib.rs @@ -2201,7 +2201,7 @@ fn ethers_tx_to_bytes( } else { transaction.rlp().to_vec() }; - Ok(VariableList::from(tx)) + VariableList::new(tx).map_err(Into::into) } #[cfg(test)]