Skip to content

Commit

Permalink
feat(protocol): add minTier to BlockProposed event (#14859)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Sep 30, 2023
1 parent 29bfd96 commit be0fe1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/protocol/contracts/L1/TaikoEvents.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ abstract contract TaikoEvents {
uint96 livenessBond,
uint256 proverFee,
uint256 reward,
uint16 minTier,
TaikoData.BlockMetadata meta
);

Expand Down
2 changes: 2 additions & 0 deletions packages/protocol/contracts/L1/libs/LibProposing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ library LibProposing {
uint96 livenessBond,
uint256 proverFee,
uint256 reward,
uint16 minTier,
TaikoData.BlockMetadata meta
);

Expand Down Expand Up @@ -218,6 +219,7 @@ library LibProposing {
livenessBond: config.livenessBond,
proverFee: proverFee,
reward: reward,
minTier: blk.minTier,
meta: meta
});
}
Expand Down

0 comments on commit be0fe1c

Please sign in to comment.