This proposal aims to reduce gas consumption for Mars contracts on the Osmosis network.
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).
Code ID | Team | Contract |
---|---|---|
561 | Mars | Red Bank |
562 | Mars | Credit Manager |
582 | Mars | Swapper |
Code ID | Team | Contract | Reason for removal |
---|---|---|---|
561 | Mars | Red Bank | Migration |
562 | Mars | Credit Manager | Migration |
582 | Mars | Swapper | Migration |
Code ID | Team | Contract | Reason for addition |
---|---|---|---|
1352 | Mars | Red Bank | Migration |
1355 | Mars | Oracle | Migration |
1357 | Mars | Swapper | Migration |
1358 | Mars | Params | Migration |
1361 | Mars | Credit Manager | Migration |
1362 | Mars | Health | Migration |
Code ID | Team | Contract |
---|---|---|
1352 | Mars | Red Bank |
1355 | Mars | Oracle |
1357 | Mars | Swapper |
1358 | Mars | Params |
1361 | Mars | Credit Manager |
1362 | Mars | Health |
Forum Thread: https://forum.osmosis.zone/t/pin-unpin-mars-contracts/3443