Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions script/E2ETest.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ contract E2ETest is Script {
scenariosPassed++;
}

// E8: chainPlot with CID < 46 chars
// E8: chainPlot with CID < 46 chars (prank as deployer to pass writer check)
vm.prank(deployer);
try FACTORY.chainPlot(idA1, "Test", "QmShortCID1234567890123456789012345678901234", HASH_A) {
revert("E8: should have reverted");
} catch Error(string memory reason) {
Expand All @@ -485,7 +486,8 @@ contract E2ETest is Script {
scenariosPassed++;
}

// E9: chainPlot with CID > 100 chars
// E9: chainPlot with CID > 100 chars (prank as deployer to pass writer check)
vm.prank(deployer);
try FACTORY.chainPlot(
idA1,
"Test",
Expand Down