()
| 860 | } |
| 861 | |
| 862 | fn default_encoder() -> BatchEncoder { |
| 863 | let rollup_config = Arc::new(RollupConfig::default()); |
| 864 | BatchEncoder::new(rollup_config, EncoderConfig::default()) |
| 865 | } |
| 866 | |
| 867 | fn encoder_with_confirmation_timeout(channel_timeout: u64) -> BatchEncoder { |
| 868 | let rollup_config = Arc::new(RollupConfig { |
no outgoing calls