Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Mar 24, 2023
1 parent e2e46ab commit ddf02b4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/L1/libs/LibProposing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ library LibProposing {
TaikoData.Block storage blk = state.blocks[
state.numBlocks % config.ringBufferSize
];

blk.blockId = state.numBlocks;
blk.proposedAt = meta.timestamp;
blk.deposit = uint64(deposit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,19 @@ struct ForkChoice {

### Block

```solidity
struct Block {
mapping(uint256 => struct TaikoData.ForkChoice) forkChoices;
uint64 blockId;
uint64 proposedAt;
uint64 deposit;
uint24 nextForkChoiceId;
uint24 verifiedForkChoiceId;
bytes32 metaHash;
address proposer;
}
```

### TxListInfo

```solidity
Expand Down

0 comments on commit ddf02b4

Please sign in to comment.