Skip to content

Commit

Permalink
chore: update log
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Sep 28, 2023
1 parent 3554e85 commit edfde11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contracts/paymasters/TimeBasedPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract TimeBasedPaymaster is IPaymaster, Ownable {

require(
block.timestamp >= startTime && block.timestamp <= endTime,
"Transactions can only be processed between 9:00 AM - 9:03 AM EST"
"Transactions can only be processed between 14:00 - 14:10"
);

uint256 requiredETH = _transaction.gasLimit * _transaction.maxFeePerGas;
Expand Down
1 change: 1 addition & 0 deletions contracts/test/timeBased.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ describe("TimeBasedPaymaster", function () {

// Assert
expect(newBalance.toString()).to.equal(initialBalance.toString());
expect(await greeter.greet()).to.equal("Hola, mundo!");
});

it("should fail due to Paymaster validation error outside the time window", async function () {
Expand Down

0 comments on commit edfde11

Please sign in to comment.