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

Merge master into kayagokalp/deploy-default-proxy #6296

Merged

Conversation

sdankel
Copy link
Member

@sdankel sdankel commented Jul 25, 2024

Description

Merging in master, specifically the merge conflicts from #6278

Checklist

  • I have linked to any relevant issues.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation where relevant (API docs, the reference, and the Sway book).
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
  • I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • I have requested a review from the relevant team or maintainers.

sdankel and others added 5 commits July 24, 2024 16:56
## Description

Improves the UX for forc-deploy in the following ways:
- uses `dialoguer` for a nicer interface for entering password,
selecting the wallet account from the list, and agreeing to sign.
- displays the account information in a single line, with the ETH value
shown rather than the raw gwei, similar to the browser wallet
- only shows the base asset amount for accounts, rather than all assets,
since only base asset can be used for gas fees.
- for multiple-contract deployments, users now only have to choose the
account and confirm once
- added error handling for the case where multi-contract deployments
have different networks specified in their manifests
- Displays the network URL *before* deployment rather than after
- After deployment, links to the contract and block in the block
explorer rather than just showing the ID

### Single contract deployed

![Jul-17-2024
12-29-53](https://github.com/user-attachments/assets/f9ac8dbe-4473-4c71-95fa-7df758c550d8)

### Multiple contracts deployed (workspace)

![Jul-17-2024
12-33-11](https://github.com/user-attachments/assets/0270c05f-2495-4d90-a8e4-773cb1cd96b5)

## Checklist

- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
Copy link

Benchmark for b7044e8

Click to view benchmark
Test Base PR %
code_action 5.0±0.08ms 5.1±0.24ms +2.00%
code_lens 336.3±10.84ns 337.3±13.26ns +0.30%
compile 2.7±0.05s 2.7±0.03s 0.00%
completion 4.5±0.09ms 4.6±0.38ms +2.22%
did_change_with_caching 2.6±0.04s 2.6±0.03s 0.00%
document_symbol 915.6±36.03µs 929.9±45.31µs +1.56%
format 68.6±0.57ms 71.8±0.54ms +4.66%
goto_definition 333.7±7.20µs 344.9±6.60µs +3.36%
highlight 8.6±0.12ms 8.6±0.17ms 0.00%
hover 484.3±7.76µs 501.2±6.83µs +3.49%
idents_at_position 120.7±0.18µs 118.7±0.48µs -1.66%
inlay_hints 620.4±11.66µs 634.1±25.99µs +2.21%
on_enter 469.3±10.24ns 468.4±12.26ns -0.19%
parent_decl_at_position 3.5±0.03ms 3.6±0.03ms +2.86%
prepare_rename 334.2±8.30µs 346.7±6.66µs +3.74%
rename 8.9±0.19ms 9.0±0.77ms +1.12%
semantic_tokens 1253.9±25.05µs 1272.3±12.75µs +1.47%
token_at_position 330.9±2.47µs 333.9±3.20µs +0.91%
tokens_at_position 3.5±0.03ms 3.5±0.03ms 0.00%
tokens_for_file 398.1±2.96µs 400.8±3.41µs +0.68%
traverse 38.4±0.83ms 38.7±0.86ms +0.78%

@sdankel sdankel marked this pull request as ready for review July 25, 2024 02:54
@sdankel sdankel requested review from a team as code owners July 25, 2024 02:54
@sdankel sdankel merged commit eb53abe into kayagokalp/deploy-default-proxy Jul 25, 2024
38 checks passed
@sdankel sdankel deleted the sophie/deploy-default-proxy-merge branch July 25, 2024 03:08
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.

1 participant