Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Mar 20, 2024
1 parent a0955a4 commit f79aaff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions l1-contracts/test/decoders/Decoders.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ contract DecodersTest is DecoderBase {

function testDecodeBlocks() public {
_testDecodeBlock("mixed_block_0");
// _testDecodeBlock("mixed_block_1");
// _testDecodeBlock("empty_block_0");
// _testDecodeBlock("empty_block_1");
_testDecodeBlock("mixed_block_1");
_testDecodeBlock("empty_block_0");
_testDecodeBlock("empty_block_1");
}

function _testDecodeBlock(string memory name) public virtual {
Expand Down
4 changes: 0 additions & 4 deletions yarn-project/end-to-end/src/integration_l1_publisher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ describe('L1Publisher integration', () => {
processedTx.data.end.encryptedLogsHash = to2Fields(processedTx.encryptedLogs.hash());
processedTx.data.end.unencryptedLogsHash = to2Fields(processedTx.unencryptedLogs.hash());

// expect(
// arrayNonEmptyLength(processedTx.data.combinedData.newNullifiers, SideEffectLinkedToNoteHash.isEmpty),
// ).toEqual(MAX_NEW_NULLIFIERS_PER_TX);

return processedTx;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ export abstract class AbstractPhaseManager {
unencryptedLogsHash,
unencryptedLogPreimagesLength,
historicalHeader: this.historicalHeader,
// TODO(@just-mitch): need better mapping from simulator to revert code.
reverted: result.reverted ? RevertCode.REVERTED : RevertCode.OK,
});
}
Expand Down

0 comments on commit f79aaff

Please sign in to comment.