Proposal #898

Pin/Unpin Mars contracts

Pin Codes, Unpin Codes
passed
Expected result
Passed
Turnout / Quorum
81.52% / 20.00%

Voting period

Voting ended100.0%
Voting start 2025.02.04 at 11:39:50
Voting end 2025.02.09 at 11:39:50

Vote distribution

94.06%
158 962 396 osmo
Yes
0.01%
11 119 osmo
No
0.00%
6 616 osmo
Veto
5.93%
10 024 701 osmo
Abstain

Details

logo
Proposer
osmo1r7ntpkarj34z3rns...
Total deposit
1 600 osmo
Submit time
2025.02.04 at 11:39:50
Deposit end time
2025.02.18 at 11:39:50

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

Votes

Voter
Answer