Osmosis Proposal: #898

Pin/Unpin Mars contracts

Status:
Voting Period
Yes94.5%

Turnout:21.17%

Quorum:20.00%

Yes: 94.5%

65,925,184 OSMO

No: 0%

9,646 OSMO

No With Veto: 0%

5,620 OSMO

Abstain: 5.5%

3,857,883 OSMO

Voting Period

  -  

Proposer

osmo1r7ntpkarj34z3rnsfvqkqzr708pkmgjl59tzyj

Deposit End

Submit Time

Description

Summary

This proposal aims to reduce gas consumption for Mars contracts on the Osmosis network.

Pinning Contracts

Contract binary “pinning” ensures the binaries listed in this proposal will always be loaded to memory on validator nodes. Since it is not necessary to load contracts from disk, gas consumption on calling these contracts is therefore reduced.

Contract binaries are not large in size, and the list of them is not extensive. Pinning these contracts will not significantly impact the memory usage of validator nodes and will reduce resource consumption (since those contracts are used frequently and have to be loaded to memory anyway).

Current Pins

Code IDTeamContract
561MarsRed Bank
562MarsCredit Manager
582MarsSwapper

Proposed Removals

Code IDTeamContractReason for removal
561MarsRed BankMigration
562MarsCredit ManagerMigration
582MarsSwapperMigration

Proposed Additions

Code IDTeamContractReason for addition
1352MarsRed BankMigration
1355MarsOracleMigration
1357MarsSwapperMigration
1358MarsParamsMigration
1361MarsCredit ManagerMigration
1362MarsHealthMigration

Pins after Review

Code IDTeamContract
1352MarsRed Bank
1355MarsOracle
1357MarsSwapper
1358MarsParams
1361MarsCredit Manager
1362MarsHealth

Forum Thread: https://forum.osmosis.zone/t/pin-unpin-mars-contracts/3443