Creates a new instance of the Base node type.
(args: RollupArgs)
| 62 | impl BaseNode { |
| 63 | /// Creates a new instance of the Base node type. |
| 64 | pub fn new(args: RollupArgs) -> Self { |
| 65 | Self { |
| 66 | args, |
| 67 | da_config: BaseDAConfig::default(), |
| 68 | gas_limit_config: GasLimitConfig::default(), |
| 69 | manifest_precheck_enabled: true, |
| 70 | resource_metering: ResourceMeteringConfig::default(), |
| 71 | rejection_cache: RejectionCache::default(), |
| 72 | payload_ready: None, |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | /// Configure the data availability configuration for the payload builder. |
| 77 | pub fn with_da_config(mut self, da_config: BaseDAConfig) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected