Proposal Details

Proposal #898

Passed

Proposal title

Pin/Unpin Mars contracts

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

94.06%

Proposal #898 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

Proposal #898 overview

Total votes
4,350
Voters
4,336
Total deposit
1,600 OSMO