• 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
..
backoff Loading commit data...
client Loading commit data...
cmd Loading commit data...
eth Loading commit data...
flags Loading commit data...
l1 Loading commit data...
l2 Loading commit data...
metrics Loading commit data...
node Loading commit data...
p2p Loading commit data...
rollup Loading commit data...
testlog Loading commit data...
testutils Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
docker.go.work Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
service.go Loading commit data...