-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Type: EnhancementNew feature or requestNew feature or request
Description
Assumes a linear scaling of gas price with stream value, but doesn't take into consideration of current network gas prices.
No real-time price feeds, but relies on possible outdated JSON file prices.
Arbitrary 10x and 0.1x multipliers, could be too aggressive or too conservative
Complexity vs Safety
Multiple parameters increase misconfiguration risk
Complex calculations could fail in edge cases
As last line of defense, simpler might be safer
Acceptance Criteria
Generated by Zenhub AI
- Scenario: Gas price calculation with current network gas prices
- Given the current gas price is considered in the calculation
- When calculating the gas price for a transaction
- Then the calculated gas price should reflect the current network gas prices
- Scenario: Real-time price feeds are used
- Given real-time price feeds are implemented
- When calculating the gas price for a transaction
- Then the calculated gas price should be based on up-to-date market data
- Scenario: Appropriate multipliers are used
- Given appropriate multipliers are chosen for the calculations
- When calculating the gas price for a transaction
- Then the calculated gas price should be accurate and reasonable
- Scenario: Simplicity is prioritized over complexity
- Given simplicity is prioritized in the calculation
- When calculating the gas price for a transaction
- Then the calculation should be straightforward and less prone to errors
Metadata
Metadata
Assignees
Labels
Type: EnhancementNew feature or requestNew feature or request