Skip to content

Commit

Permalink
removed 1 TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Jan 23, 2025
1 parent cc6274b commit e532efe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity ^0.8.24;
/// @custom:security-contact [email protected]
interface IForcedInclusionStore {
struct ForcedInclusion {
bytes32 blobhash;
bytes32 blobHash;
uint64 id;
uint32 blobByteOffset;
uint32 blobByteSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,10 @@ contract TaikoInboxWithForcedTxInclusion is EssentialContract {
params.blocks = new ITaikoInbox.BlockParams[](1);
params.blocks[0].numTransactions = MAX_FORCED_TXS_PER_FORCED_INCLUSION;

ITaikoInbox.BlobParams2 memory blobParams2;
blobParams2.blobhash = forcedInclusion.blobhash;
blobParams2.byteOffset = forcedInclusion.blobByteOffset;
blobParams2.byteSize = forcedInclusion.blobByteSize;

// TODO: TaikoInbox should support `BlobParams2` in `BatchParams`
// params.blobParams2 = blobParams2;
params.blobParams.blobHashes = new bytes32[](1);
params.blobParams.blobHashes[0] = forcedInclusion.blobHash;
params.blobParams.byteOffset = forcedInclusion.blobByteOffset;
params.blobParams.byteSize = forcedInclusion.blobByteSize;

inbox.proposeBatch(abi.encode(params), "");
msg.sender.sendEtherAndVerify(forcedInclusion.priorityFee, gasleft());
Expand Down

0 comments on commit e532efe

Please sign in to comment.