Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.20.3 #1276

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Release v0.20.3 #1276

merged 1 commit into from
Aug 4, 2023

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Aug 4, 2023

Finalizing the chain specification for the beta 4 network.
Bumping version to 0.20.3.

@xgreenx xgreenx requested a review from a team August 4, 2023 21:17
@xgreenx xgreenx self-assigned this Aug 4, 2023
@@ -52,7 +52,7 @@
"max_predicate_length": 1048576,
"max_predicate_data_length": 1048576,
"max_gas_per_predicate": 10000000,
"gas_price_factor": 1000000000,
"gas_price_factor": 92,
Copy link
Collaborator Author

@xgreenx xgreenx Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we use eth as a gas asset, we want to avoid having super-expensive transactions. Because of that, we need to divide the gas price and make it cheaper than Gwei. The most expensive transaction shouldn't be more than 0.205 dollars. So the formula to calculate gas_price_factor is:

ETH_PRICE * MAX_GAS_PER_TX * 10^9 / 10^18 / gas_price_factor = tx_price

1900 * 10000000 * 10^9/10^18 / gas_price_factor = 0.205
1900 * 10000000 * 10^9/10^18 / 0.205 = gas_price_factor
gas_price_factor = 92

@xgreenx xgreenx enabled auto-merge (squash) August 4, 2023 21:24
@xgreenx xgreenx merged commit e551f30 into master Aug 4, 2023
17 checks passed
@xgreenx xgreenx deleted the release/0.20.3 branch August 4, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants