fix: Make functions in encoding_utils.rs private

They shouldn't be used outside the crate by the users. They should reimplement this functions themselves.
Move encode_input to utils.rs

Took 8 minutes
This commit is contained in:
Diana Carvalho
2025-05-26 17:16:35 +01:00
parent 4f85e3e88e
commit 5ddd2a9cd7
5 changed files with 29 additions and 34 deletions

View File

@@ -17,10 +17,7 @@ use tycho_common::Bytes;
use crate::encoding::{
errors::EncodingError,
evm::{
encoding_utils::encode_input,
utils::{biguint_to_u256, bytes_to_address, get_client, get_runtime},
},
evm::utils::{biguint_to_u256, bytes_to_address, encode_input, get_client, get_runtime},
models,
};