# Deploy a Contract

**URL:** <https://forum.fuel.network/t/deploy-a-contract/2466>\
**Category:** General\
**Created:** [April 27, 2023, 5:06am UTC](https://forum.fuel.network/t/deploy-a-contract/2466 "2023-04-27T05:06:17Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 27, 2023, 5:06am UTC](https://forum.fuel.network/t/deploy-a-contract/2466/1 "2023-04-27T05:06:17Z")

</div>

Hello there, i got an issue wen i deploying smart contract. IDK what is wrong. but the issue you can see on the screenschot attached bellow. this is my first time deploying a contract with ubuntu. please help. thanks for the atteniton

 ![Screenshot (864)](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/9/91dc58635187fe953e601c151d7969fe1d72b91e.png)

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [April 27, 2023, 2:05pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/2 "2023-04-27T14:05:19Z")

</div>

Can you check to make sure you have the `beta-3` toolchain installed?

You can install that as your default with the commands below:

```shell
fuelup toolchain install beta-3
fuelup default beta-3

```

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 27, 2023, 6:48pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/3 "2023-04-27T18:48:44Z")

</div>

nothing change, still getting the same issue. any other way? i already on beta-3 toolchain

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 27, 2023, 6:50pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/4 "2023-04-27T18:50:41Z")

</div>

Error: Failed to compile counter-contract

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [April 27, 2023, 8:23pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/5 "2023-04-27T20:23:54Z")

</div>

Oh thanks for letting me know! It looks like there was a recent update to the beta-3 toolchain that includes a breaking change to storage. We will update the quickstart ASAP!

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 27, 2023, 8:30pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/6 "2023-04-27T20:30:25Z")

</div>

Ok, waiting for it! Keep it up!

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [April 28, 2023, 2:16pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/7 "2023-04-28T14:16:17Z")

</div>

The breaking changes to the beta-3 toolchain were just rolled back, so if you update your toolchain with the command `fuelup update` everything should work.

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 28, 2023, 2:29pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/8 "2023-04-28T14:29:50Z")

</div>

ok sarah, give me some minutes to try

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 28, 2023, 3:00pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/9 "2023-04-28T15:00:05Z")

</div>

still getting same issues. idk what is wrong with my work

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [April 28, 2023, 4:07pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/10 "2023-04-28T16:07:59Z")

</div>

What do you see if you run `fuelup show` ?

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [April 29, 2023, 8:52am UTC](https://forum.fuel.network/t/deploy-a-contract/2466/11 "2023-04-29T08:52:28Z")

</div>

## installed toolchains

latest-x86\_64-unknown-linux-gnu (default)

## active toolchain

latest-x86\_64-unknown-linux-gnu (default)  
forc : 0.38.0  
- forc-client  
- forc-deploy : 0.38.0  
- forc-run : 0.38.0  
- forc-doc : 0.38.0  
- forc-explore : 0.28.1  
- forc-fmt : 0.38.0  
- forc-index : Error getting version string  
- forc-lsp : 0.38.0  
- forc-tx : 0.38.0  
- forc-wallet : 0.2.2  
fuel-core : 0.17.11  
fuel-indexer : Error getting version string

Ubuntu that i used :  
Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86\_64)

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [May 1, 2023, 1:56pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/12 "2023-05-01T13:56:47Z")

</div>

Ahh so you are using the `latest` toolchain as your default. To use the `beta-3` toolchain run the commands below:

`fuelup toolchain install beta-3`  
`fuelup default beta-3`

---

<div class="post-metadata">

**Author:** ![big3bubble](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@big3bubble](https://forum.fuel.network/u/big3bubble)\
**Post date:** [May 3, 2023, 10:54am UTC](https://forum.fuel.network/t/deploy-a-contract/2466/13 "2023-05-03T10:54:23Z")

</div>

do i can continue my work without reset my ubuntu and run the beta-3 toolchain?

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [May 3, 2023, 1:43pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/14 "2023-05-03T13:43:28Z")

</div>

Yes the toolchain should be all you need to update.

---

<div class="post-metadata">

**Author:** ![modenabdul](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@modenabdul](https://forum.fuel.network/u/modenabdul)\
**Post date:** [July 24, 2023, 7:54pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/15 "2023-07-24T19:54:30Z")

</div>

Very nice project i know fuel will solve alot of things

---

<div class="post-metadata">

**Author:** ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)\
**Post date:** [July 31, 2023, 1:45pm UTC](https://forum.fuel.network/t/deploy-a-contract/2466/16 "2023-07-31T13:45:12Z")

</div>


