| 1013 | } |
| 1014 | |
| 1015 | fn default_rpc_standard_node_args() -> RpcStandardNodeArgs { |
| 1016 | RpcStandardNodeArgs { |
| 1017 | rollup_args: RollupArgs::default(), |
| 1018 | rpc_forwarding_endpoint: None, |
| 1019 | flashblocks_url: None, |
| 1020 | max_pending_blocks_depth: 3, |
| 1021 | flashblocks_ping_interval: Duration::from_secs(30), |
| 1022 | enable_transaction_tracing: false, |
| 1023 | enable_transaction_tracing_logs: false, |
| 1024 | enable_transaction_event_journal: false, |
| 1025 | transaction_event_journal_path: None, |
| 1026 | enable_tx_forwarding: false, |
| 1027 | validity_max_predicates: DEFAULT_MAX_VALIDITY_PREDICATES, |
| 1028 | validity_signature_mode: ValiditySignatureMode::Off, |
| 1029 | validity_max_expiry_secs: DEFAULT_MAX_VALIDITY_EXPIRY_SECS, |
| 1030 | builder_rpc_urls: Vec::new(), |
| 1031 | tx_forwarding_resend_after_ms: DEFAULT_RESEND_AFTER_MS, |
| 1032 | tx_forwarding_batch_size: DEFAULT_MAX_BATCH_SIZE, |
| 1033 | tx_forwarding_max_rps: DEFAULT_MAX_RPS, |
| 1034 | tx_forwarding_fifo_percent: DEFAULT_FIFO_PERCENT, |
| 1035 | tx_forwarding_queue_capacity: None, |
| 1036 | tx_forwarding_batched_insert: false, |
| 1037 | enable_inline_simulation: false, |
| 1038 | inline_simulation_workers: DEFAULT_INLINE_SIMULATION_WORKERS, |
| 1039 | inline_simulation_queue_capacity: DEFAULT_INLINE_SIMULATION_QUEUE_CAPACITY, |
| 1040 | inline_simulation_timeout_ms: DEFAULT_INLINE_SIMULATION_TIMEOUT_MS, |
| 1041 | } |
| 1042 | } |
| 1043 | |
| 1044 | #[test] |
| 1045 | fn standard_node_args_provides_embedded_rollup_args() { |