Creates a new insert task.
(
client: Arc<EngineClient_>,
rollup_config: Arc<RollupConfig>,
envelope: BaseExecutionPayloadEnvelope,
payload_safety: InsertPayloadSafety,
)
| 96 | impl<EngineClient_: EngineClient> InsertTask<EngineClient_> { |
| 97 | /// Creates a new insert task. |
| 98 | pub const fn new( |
| 99 | client: Arc<EngineClient_>, |
| 100 | rollup_config: Arc<RollupConfig>, |
| 101 | envelope: BaseExecutionPayloadEnvelope, |
| 102 | payload_safety: InsertPayloadSafety, |
| 103 | ) -> Self { |
| 104 | Self { |
| 105 | client, |
| 106 | rollup_config, |
| 107 | envelope, |
| 108 | payload_safety, |
| 109 | payload_policy: InsertPayloadPolicy::ExtendingOnly, |
| 110 | drop_invalid_payload: false, |
| 111 | result_tx: None, |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | /// Creates a new task to insert an unsafe payload. |
| 116 | pub const fn unsafe_payload( |
nothing calls this directly
no outgoing calls
no test coverage detected