We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 352cce0 commit e828d99Copy full SHA for e828d99
1 file changed
aggregation_mode/proof_aggregator/src/backend/eth.rs
@@ -63,7 +63,7 @@ mod tests {
63
gas_price, // 1 Gwei gas price
64
));
65
66
- // Case 2: Slightly Increased Gas Price -> should return false
+ // Case 2: Slightly Increased Gas Price -> should return true
67
// Monthly Budget: 0.15 ETH -> 0.005 ETH per day -> 0.000000058 ETH per hour
68
// Elapsed Time: 24 hours
69
// Gas Price: 8 Gwei
@@ -91,7 +91,7 @@ mod tests {
91
92
// Case 4: Slightly Reduced Time Elapsed -> should return true
93
94
- // Elapsed Time: 2 hours
+ // Elapsed Time: 3 hours
95
// Gas Price: 1 Gwei
96
// Max to spend: 0.000000058 ETH/hour * 3 hours = 0.000625 ETH
97
// Expected cost: 600,000 * 1 Gwei = 0.0006 ETH
0 commit comments