chore: Make objects public
Remove dead_code check and leftover file after a merge Improve some docstrings --- don't change below this line --- ENG-4087 Took 1 hour 39 minutes
This commit is contained in:
@@ -16,13 +16,11 @@ pub fn bytes_to_address(address: &Bytes) -> Result<Address, EncodingError> {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn biguint_to_u256(value: &BigUint) -> U256 {
|
||||
let bytes = value.to_bytes_be();
|
||||
U256::from_be_slice(&bytes)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn encode_input(selector: &str, mut encoded_args: Vec<u8>) -> Vec<u8> {
|
||||
let mut hasher = Keccak256::new();
|
||||
hasher.update(selector.as_bytes());
|
||||
|
||||
Reference in New Issue
Block a user