Skip to content

Commit e828d99

Browse files
Minor fixes in should send test cases comments
1 parent 352cce0 commit e828d99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/eth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ mod tests {
6363
gas_price, // 1 Gwei gas price
6464
));
6565

66-
// Case 2: Slightly Increased Gas Price -> should return false
66+
// Case 2: Slightly Increased Gas Price -> should return true
6767
// Monthly Budget: 0.15 ETH -> 0.005 ETH per day -> 0.000000058 ETH per hour
6868
// Elapsed Time: 24 hours
6969
// Gas Price: 8 Gwei
@@ -91,7 +91,7 @@ mod tests {
9191

9292
// Case 4: Slightly Reduced Time Elapsed -> should return true
9393
// Monthly Budget: 0.15 ETH -> 0.005 ETH per day -> 0.000000058 ETH per hour
94-
// Elapsed Time: 2 hours
94+
// Elapsed Time: 3 hours
9595
// Gas Price: 1 Gwei
9696
// Max to spend: 0.000000058 ETH/hour * 3 hours = 0.000625 ETH
9797
// Expected cost: 600,000 * 1 Gwei = 0.0006 ETH

0 commit comments

Comments
 (0)