Skip to content

Commit

Permalink
Update TaikoData.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jun 30, 2024
1 parent 4f92f94 commit bca4cf8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/protocol/contracts/L1/TaikoData.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,20 @@ library TaikoData {
address assignedProver; // slot 2
uint96 livenessBond;
uint64 blockId; // slot 3
uint64 proposedAt; // timestamp
uint64 proposedIn; // L1 block number, required/used by node/client.
// Before the fork, this field is the L1 timestamp when this block is proposed.
// After the fork, this is the timestamp of the L2 block.
// In a later fork, we an rename this field to `timestamp`.
uint64 proposedAt;
// Before the fork, this field is the L1 block number where this block is proposed.
// After the fork, this is the L1 block number input for the anchor transaction.
// In a later fork, we an rename this field to `anchorBlockId`.
uint64 proposedIn;
uint32 nextTransitionId;
// The ID of the transaction that is used to verify this block. However, if
// this block is not verified as the last block in a batch, verifiedTransitionId
// will remain zero.
uint32 verifiedTransitionId;
// TODO(daniel): delete these two slots and reuse proposeAt and proposeIn.
uint64 anchorBlockId; // slot 4
uint64 timestamp;
}
Expand Down

0 comments on commit bca4cf8

Please sign in to comment.