Remove bytecode from Runtime
method signatures; consolidate bytecode sanitization in methods
#44
Labels
Runtime
method signatures; consolidate bytecode sanitization in methods
#44
Currently, the
evaluate
andcustom_hash
functions onRuntime
take bytecode and santize and instantiate it each time the function is called. Among things, there are several lines of duplicated code.We should change the new function to accept bytecode, or add an additional function, that does component validation and other checks once, and then lets us call either evaluate or custom_hash without having to include bytecode in the parameters.
The text was updated successfully, but these errors were encountered: