Skip to content

Commit

Permalink
Fix SM test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Sep 20, 2024
1 parent 7853f73 commit 2c60d62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/test/AlignedLayerServiceManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ contract AlignedLayerServiceManagerTest is BLSMockAVSDeployer {
vm.prank(batcher);
alignedLayerServiceManager.createNewTask(batchMerkleRoot, batchDataPointer, maxFeeToRespond);

// Temporary solution: Use Merkle root because block number is low when running tests.
// bytes32 batchIdentifierHash = keccak256(abi.encodePacked(batchMerkleRoot, batcher));
bytes32 batchIdentifierHash = batchMerkleRoot;
bytes32 batchIdentifierHash = keccak256(abi.encodePacked(batchMerkleRoot, batcher));

(uint32 taskCreatedBlock, bool responded, uint256 _maxFeeToRespond) =
alignedLayerServiceManager.batchesState(batchIdentifierHash);
Expand Down

0 comments on commit 2c60d62

Please sign in to comment.