diff --git a/src/proto_alpha/lib_protocol/src/main.ml b/src/proto_alpha/lib_protocol/src/main.ml index 6bc662f11..044e32847 100644 --- a/src/proto_alpha/lib_protocol/src/main.ml +++ b/src/proto_alpha/lib_protocol/src/main.ml @@ -18,9 +18,10 @@ let max_block_length = Alpha_context.Block_header.max_header_length let validation_passes = - Updater.[ { max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *) - { max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *) - { max_size = 1024 * 1024 ; max_op = None } ] (* 1MB *) + Updater.[ { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *) + { max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *) + { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *) + { max_size = 1024 * 1024 ; max_op = None } ] (* 1MB *) let rpc_services = Services_registration.get_rpc_services () diff --git a/src/proto_alpha/lib_protocol/src/operation_repr.ml b/src/proto_alpha/lib_protocol/src/operation_repr.ml index dd7766ee6..9faa3d1f1 100644 --- a/src/proto_alpha/lib_protocol/src/operation_repr.ml +++ b/src/proto_alpha/lib_protocol/src/operation_repr.ml @@ -433,10 +433,10 @@ let parse (op: Operation.t) = let acceptable_passes op = match op.contents with - | Anonymous_operations _ | Sourced_operations (Consensus_operation _) -> [0] | Sourced_operations (Amendment_operation _ | Dictator_operation _) -> [1] - | Sourced_operations (Manager_operations _) -> [2] + | Anonymous_operations _ -> [2] + | Sourced_operations (Manager_operations _) -> [3] type error += Invalid_signature (* `Permanent *) type error += Missing_signature (* `Permanent *)