(
eip_1559_params: Option<B64>,
min_base_fee: Option<u64>,
timestamp: u64,
)
| 450 | } |
| 451 | |
| 452 | fn get_attributes( |
| 453 | eip_1559_params: Option<B64>, |
| 454 | min_base_fee: Option<u64>, |
| 455 | timestamp: u64, |
| 456 | ) -> BasePayloadBuilderAttributes<BaseTxEnvelope> { |
| 457 | BasePayloadBuilderAttributes::try_new( |
| 458 | B256::ZERO, |
| 459 | BasePayloadAttributes { |
| 460 | gas_limit: Some(1000), |
| 461 | eip_1559_params, |
| 462 | min_base_fee, |
| 463 | transactions: None, |
| 464 | no_tx_pool: None, |
| 465 | payload_attributes: PayloadAttributes { |
| 466 | timestamp, |
| 467 | prev_randao: B256::ZERO, |
| 468 | suggested_fee_recipient: Address::ZERO, |
| 469 | withdrawals: Some(vec![]), |
| 470 | parent_beacon_block_root: Some(B256::ZERO), |
| 471 | slot_number: None, |
| 472 | target_gas_limit: None, |
| 473 | }, |
| 474 | }, |
| 475 | 3, |
| 476 | ) |
| 477 | .expect("valid test payload attributes") |
| 478 | } |
| 479 | |
| 480 | fn denim_attributes(timestamp: u64) -> BasePayloadBuilderAttributes<BaseTxEnvelope> { |
| 481 | get_attributes(Some(b64!("0000000000000000")), Some(1), timestamp) |
no outgoing calls