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

feat: fee estimation for forc-deploy and point --testnet to devnet #5990

Merged
merged 8 commits into from
May 13, 2024

Conversation

kayagokalp
Copy link
Member

@kayagokalp kayagokalp commented May 11, 2024

Description

Estimation is hard to test as it is dependent on the network configuration but this is nearly the same thing we have been doing for scripts.

  1. --testnet points to devnet.
  2. For the new max_fee requirement, adds an estimation phase with dry runing the transaction
  3. Various consts are pointed to relevant devnet endpoints.

Most visible outcome is that forc-deploy --testnet can deploy to devnet without any other flags etc.

@kayagokalp kayagokalp marked this pull request as draft May 11, 2024 06:10
@kayagokalp kayagokalp mentioned this pull request May 13, 2024
@kayagokalp kayagokalp self-assigned this May 13, 2024
@kayagokalp kayagokalp requested a review from a team May 13, 2024 18:24
@kayagokalp kayagokalp added enhancement New feature or request forc-deploy Everything to do with forc-deploy labels May 13, 2024
@kayagokalp kayagokalp marked this pull request as ready for review May 13, 2024 18:27
@kayagokalp kayagokalp requested a review from a team May 13, 2024 18:35
@kayagokalp
Copy link
Member Author

Requesting compiler review as well as this is blocking the release.

Abstracts the current "--testnet" network further so we don't need to
update it in so many places. Also gets the faucet URL from the network
from chain_info rather than always using the testnet faucet URL.
@kayagokalp kayagokalp enabled auto-merge (squash) May 13, 2024 19:47
@kayagokalp kayagokalp requested a review from a team May 13, 2024 19:47
@kayagokalp kayagokalp merged commit b0af334 into master May 13, 2024
37 checks passed
@kayagokalp kayagokalp deleted the kayagokalp/max_fee_estimation branch May 13, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc-deploy Everything to do with forc-deploy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants