• Joshua Gutow's avatar
    op-node: Properly set timestamp in PreparePayloadAttributes (#3151) · 4fe787d4
    Joshua Gutow authored
    This now uses a passed in timestamp for PreparePayloadAttributes.
    This is important because when generating a payload attributes from
    a batch it should be using the timestamp of the batch, not the
    L2 parent + block time. When we are creating payloads based on the
    L2 parent time, that is easy to set there instead of pulling it into
    this function.
    
    This enabled/exacerbated a divergence bug where the timestamp of the
    batch was not the timestamp that was being set inside
    PreparePayloadAttributes.
    Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    4fe787d4
Name
Last commit
Last update
..
attributes.go Loading commit data...
attributes_queue.go Loading commit data...
attributes_queue_test.go Loading commit data...
attributes_test.go Loading commit data...
batch.go Loading commit data...
batch_queue.go Loading commit data...
batch_queue_test.go Loading commit data...
batch_test.go Loading commit data...
batches.go Loading commit data...
batches_test.go Loading commit data...
calldata_source.go Loading commit data...
calldata_source_test.go Loading commit data...
channel_bank.go Loading commit data...
channel_bank_test.go Loading commit data...
channel_in.go Loading commit data...
channel_in_reader.go Loading commit data...
channel_out.go Loading commit data...
deposit_log.go Loading commit data...
deposit_log_test.go Loading commit data...
deposit_source.go Loading commit data...
deposits.go Loading commit data...
doc.go Loading commit data...
engine_consolidate.go Loading commit data...
engine_queue.go Loading commit data...
engine_update.go Loading commit data...
fuzz_parsers_test.go Loading commit data...
l1_block_info.go Loading commit data...
l1_block_info_test.go Loading commit data...
l1_retrieval.go Loading commit data...
l1_retrieval_test.go Loading commit data...
l1_traversal.go Loading commit data...
l1_traversal_test.go Loading commit data...
params.go Loading commit data...
payload_util.go Loading commit data...
pipeline.go Loading commit data...
pipeline_test.go Loading commit data...
progress.go Loading commit data...