Closed bitzoic closed 2 months ago
The library currently has the following function definitions:
pub fn compute_bytecode_root(bytecode: Vec<u8>) -> b256
This should be changed to a single function with an Option: pub fn compute_bytecode_root(bytecode: Vec<u8>, configurables: Option<Vec<(u64, Vec<u8>)>>) -> b256
Option
pub fn compute_bytecode_root(bytecode: Vec<u8>, configurables: Option<Vec<(u64, Vec<u8>)>>) -> b256
Motivation
The library currently has the following function definitions:
pub fn compute_bytecode_root(bytecode: Vec<u8>) -> b256
This should be changed to a single function with an
Option
:pub fn compute_bytecode_root(bytecode: Vec<u8>, configurables: Option<Vec<(u64, Vec<u8>)>>) -> b256