# Slow Fuel Wallet contract simulation/execution

**URL:** <https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556>\
**Category:** Fuel Wallet\
**Tags:** feedback\
**Created:** [November 6, 2023, 10:13am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556 "2023-11-06T10:13:06Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [November 6, 2023, 10:13am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/1 "2023-11-06T10:13:06Z")

</div>

This is a broad topic, but it looks like ever since beta-4 or a later version of the fuel wallet, the time to simulate the transaction, etc is much much longer than previous versions.

Simple contract execution can take around 2+ minutes to simulate, provide the user with the confirmation screen, and then another large delay for actually executing the transaction.

I timed a simple operation on my webapp  
Simulate - 50 seconds (pre-approve screen)  
Approved - 70 seconds  
Executed - 22 seconds

Leading to over 2 minutes of idle waiting.

I know this is a fuel wallet issue since all the operations are happening there and not on my webapp.

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [November 6, 2023, 5:50pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/2 "2023-11-06T17:50:18Z")

</div>

Hi there!

Thanks for sharing this performance report.  
I’m escalating this to the team, so we can identify the possible source of the delay.

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [November 6, 2023, 11:44pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/3 "2023-11-06T23:44:45Z")

</div>

Hi there!  
Please share reproduction instructions so we can review the issue.  
Blockheight number and transaction hash are helpful as well.  
Thanks

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [November 7, 2023, 7:41pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/4 "2023-11-07T19:41:12Z")

</div>

Can you reach out to me on twitter to coordinate? Still in stealth mode

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [November 9, 2023, 12:57pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/5 "2023-11-09T12:57:27Z")

</div>

F-117 🫡

Please hit me up on telegram so I can provide further support.

@ sandusky\_eth

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [November 10, 2023, 10:40am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/6 "2023-11-10T10:40:56Z")

</div>

Great!  
DM Sent 😄

* * *

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [December 21, 2023, 11:02am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/7 "2023-12-21T11:02:34Z")

</div>

Pinging this again, I think it may have fallen through the cracks

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [January 26, 2024, 5:26am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/8 "2024-01-26T05:26:13Z")

</div>

Hi there!  
You are right, I went lost in the madness.

I’ve just checked the demo, and it seems to be an issue on the wallet rather than the client.

Are you using window.fuel?

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [January 26, 2024, 10:17am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/9 "2024-01-26T10:17:14Z")

</div>

yes we’re using window.fuel

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [January 31, 2024, 4:12pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/10 "2024-01-31T16:12:47Z")

</div>

Hi there!  
There’s a couple of things to note

1. window.fuel is being removed so you might use `import { Fuel } from '@fuel-wallet/sdk` instead  
".
2. The latest version of the TS-SDK (and the wallet too) implemented some improvements on the dryRun/simulation of TX’s (reducing the number of requests that needs to be done) and it should improve this delay. Please update your codebase to beta-5

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [February 9, 2024, 3:33pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/11 "2024-02-09T15:33:19Z")

</div>

Will update soon, but this issue is fully on the wallet as there are no requests running while the wallet does it’s thing on the webapps side

---

<div class="post-metadata">

**Author:** ![sandusky](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sandusky/32/1313_2.png) [@sandusky](https://forum.fuel.network/u/sandusky)\
**Post date:** [February 12, 2024, 7:52pm UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/12 "2024-02-12T19:52:40Z")

</div>

Hi there @diyahir

Thanks a lot for your patience, I’ve raised this issue again with the frontend team so we can take a deeper look to any possible UI loading issues.

Please let me know if this issue persists after updating to the latest release ✌

---

<div class="post-metadata">

**Author:** ![diyahir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/diyahir/32/1075_2.png) [@diyahir](https://forum.fuel.network/u/diyahir)\
**Post date:** [February 15, 2024, 9:56am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/13 "2024-02-15T09:56:25Z")

</div>

I can confirm that beta-5 upgrades handle complex txs much quicker and are quite snappy , great work lads and ladettes

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)\
**Post date:** [March 7, 2024, 5:57am UTC](https://forum.fuel.network/t/slow-fuel-wallet-contract-simulation-execution/3556/14 "2024-03-07T05:57:23Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
