# Network Upgrade Proposal

**URL:** <https://forum.scrt.network/t/network-upgrade-proposal/2287>\
**Category:** Secret Governance\
**Created:** [December 7, 2020, 10:31am UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287 "2020-12-07T10:31:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![assafmo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/assafmo/32/440_2.png) [@assafmo](https://forum.scrt.network/u/assafmo)\
**Post date:** [December 7, 2020, 10:31am UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/1 "2020-12-07T10:31:58Z")

</div>

Hi everyone

We recently found out that our version of the CosmWasm module doesn’t support a very common DeFi (and contracts in general) design pattern: it is not possible to call contracts that were instantiated during the same transaction.

We propose to apply [this PR](https://github.com/enigmampc/SecretNetwork/pull/686) within the next 2 weeks, starting with an on-chain proposal on December 10th, 2020. Among other things, this would allow the introduction of an AMM Secret Contract.

This upgrade is going to be simple and easy and should therefore be uncontentious. If the community agrees and an upgrade proposal passes, then we will release a new `secretd` binary that includes this patch.

The steps each node runner would need to take are:

1. Stop the node.
2. Replace the old `secretd` binary with the new one.
3. Start the node again.

It is important to note that while this starts as a soft-fork, it will over time develop into a hard fork, so it is crucial for all validators to upgrade ASAP. Once 67% of the network is upgraded, the fix would go into effect and outdated nodes may be excluded due to consensus failure.

Please share your thoughts.

Thanks and happy _secret_ holidays! 🎄🎅🥰

---

<div class="post-metadata">

**Author:** ![assafmo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/assafmo/32/440_2.png) [@assafmo](https://forum.scrt.network/u/assafmo)\
**Post date:** [December 7, 2020, 4:08pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/3 "2020-12-07T16:08:21Z")

</div>

I love it that we right away jumped to naming this upgrade. 😅

---

<div class="post-metadata">

**Author:** ![guy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/guy/32/56_2.png) [@guy](https://forum.scrt.network/u/guy)\
**Post date:** [December 7, 2020, 4:18pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/4 "2020-12-07T16:18:40Z")

</div>

YES to the name!

![](https://canada1.discourse-cdn.com/flex035/uploads/enigma1/original/1X/19d22e1416a9c92582dcc4e997fa07b303e20c60.jpeg)

---

<div class="post-metadata">

**Author:** ![Brendan](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/brendan/32/1562_2.png) [@Brendan](https://forum.scrt.network/u/Brendan)\
**Post date:** [December 7, 2020, 4:23pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/5 "2020-12-07T16:23:36Z")

</div>

Sounds good! Standing by to upgrade.

---

<div class="post-metadata">

**Author:** ![mohammedpatla](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/mohammedpatla/32/739_2.png) [@mohammedpatla](https://forum.scrt.network/u/mohammedpatla)\
**Post date:** [December 7, 2020, 8:29pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/6 "2020-12-07T20:29:09Z")

</div>

Yes looks critical,

Just to confirm we are only making two things for this upgrade.

1. Upgrade CosmWasm.
2. `secretd` binary upgrade.

Also we are not applying anything new to SGX right?

Thanks @assafmo

---

<div class="post-metadata">

**Author:** ![assafmo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/assafmo/32/440_2.png) [@assafmo](https://forum.scrt.network/u/assafmo)\
**Post date:** [December 7, 2020, 8:40pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/7 "2020-12-07T20:40:46Z")

</div>

Yes, SGX requirements and code remains the same.  
The SGX code is in fact located in `/usr/lib/librust_cosmwasm_enclave.signed.so`, and `secretd` loads it as a dynamic library. We’re only upgrading `secretd`.

---

<div class="post-metadata">

**Author:** ![assafmo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/assafmo/32/440_2.png) [@assafmo](https://forum.scrt.network/u/assafmo)\
**Post date:** [December 10, 2020, 3:04pm UTC](https://forum.scrt.network/t/network-upgrade-proposal/2287/8 "2020-12-10T15:04:50Z")

</div>

> **[Secret Network Block Explorer](https://explorer.cashmaney.com/proposals/25)**

  

> **[secret | secret | DeFi Readiness Network Upgrade (Codename: Ferenginar)](https://puzzle.report/secret/chains/secret-2/governance/proposals/25)**
