Open czarcas7ic opened 3 weeks ago
The latest update introduces several significant enhancements to the osmosis
platform, including support for superfluid staking of non-pool assets, unidirectional trading pair fee overrides, and fixing fee charging issues. Additionally, upgrades to the SDK v50 and Comet v0.38 have been incorporated, along with a new governance parameter for setting the minimum deposit ratio. Optimistic execution has also been enabled to improve transaction processing efficiency.
File/Path | Change Summary |
---|---|
CMD changes | Added SetOptimisticExecution() method to baseapp in newApp function |
osmosis core |
Introduced support for non-pool assets in superfluid staking, uni-directional trading pair taker fee overrides, and enabled optimistic execution |
SDK and Comet Integration | Upgraded to SDK v50 and Comet v0.38 |
Governance Parameters | Set MinDepositRatio governance parameter to 1% for SDK v50 upgrade |
Fee Charging Fix | Addressed fee payer charge on every message in the smartaccount module |
sequenceDiagram
participant User
participant OsmosisApp
participant Governance
participant TradingModule
participant BaseApp
User->>+OsmosisApp: Initiate Superfluid Staking
OsmosisApp->>TradingModule: Validate Non-Pool Asset
TradingModule-->>OsmosisApp: Non-Pool Asset Validated
User->>+OsmosisApp: Initiate Trade
OsmosisApp->>TradingModule: Check Taker Fee Override
TradingModule-->>OsmosisApp: Taker Fee Applied
User->>+OsmosisApp: Submit Governance Proposal
OsmosisApp->>Governance: Set MinDepositRatio to 1%
Governance-->>OsmosisApp: MinDepositRatio Set
User->>+OsmosisApp: Execute Transaction
OsmosisApp->>BaseApp: Execute with Optimism
BaseApp-->>OsmosisApp: Optimistic Execution Completed
In the world of Osmosis, great changes take flight,
With assets non-pool staking in superfluid delight,
Fees adjusted, trading pairs made fair,
SDK and Comet upgrades, a future to share.
Optimistic execution speeds our quest,
In governance, deposit ratios set to the best.
Oh, the marvels of code, in the blockchain's nest! 🌌🐇
CHANGELOG.md
1074-1074: Expected: h3; Actual: h4 (MD001, heading-increment) Heading levels should only increment by one level at a time --- 1086-1086: Expected: h3; Actual: h4 (MD001, heading-increment) Heading levels should only increment by one level at a time --- 1095-1095: Expected: h3; Actual: h4 (MD001, heading-increment) Heading levels should only increment by one level at a time --- 1100-1100: Expected: h3; Actual: h4 (MD001, heading-increment) Heading levels should only increment by one level at a time --- 1152-1152: Expected: h3; Actual: h4 (MD001, heading-increment) Heading levels should only increment by one level at a time --- 413-413: Punctuation: '.' (MD026, no-trailing-punctuation) Trailing punctuation in heading --- 676-676: null (MD034, no-bare-urls) Bare URL used --- 734-734: null (MD034, no-bare-urls) Bare URL used --- 1315-1315: null (MD042, no-empty-links) No empty links
cmd/osmosisd/cmd/root.go (1)
`932-932`: The integration of `SetOptimisticExecution()` in the `newApp` function is correctly placed to ensure that the base application runs with optimistic execution enabled. This setting is crucial for certain consensus optimizations and should be tested thoroughly to ensure it does not introduce any unintended side effects in transaction processing or state management.CHANGELOG.md (3)
`47-52`: The changelog entries for state-breaking changes are well-documented, providing clear references to the associated pull requests and issue numbers. This is crucial for tracking changes and understanding their impact on the system. --- `52-52`: It's good to see the changelog entry for enabling optimistic execution, which aligns with the PR objectives. This entry helps in tracking the implementation and its effects on the system. --- `47-52`: The use of multiple issue references for a single changelog entry is effective in providing a comprehensive view of the changes. However, ensure that all referenced issues are directly related to the noted change to avoid confusion.Verification successful
--- The referenced issues in the changelog entry are directly related to the noted change about supporting non-pool assets in superfluid staking. - Issue #8169: Supports non-pool assets in superfluid staking. - Issue #8250: Adds risk factors to individual denoms for superfluid staking. - Issue #8276: Uses full routes instead of only one pool for pricing in superfluid staking. - Issue #8320: Updates queries to take non-pool assets into account for superfluid staking.Scripts executed
The following scripts were executed for the analysis: --- Script: ```shell #!/bin/bash # Verify that all referenced issues in changelog entry are related to the noted change. echo "Checking relevance of issues #8169, #8250, #8276, #8320 to superfluid staking support..." # Example command; adjust as necessary for actual validation. gh issue view 8169 --repo osmosis-labs/osmosis gh issue view 8250 --repo osmosis-labs/osmosis gh issue view 8276 --repo osmosis-labs/osmosis gh issue view 8320 --repo osmosis-labs/osmosis ``` Length of output: 5613
Actually since this is state compat, maybe we should get v26.0.0 without this, and v26.1.0 with it?
@ValarDragon I was told by Facu from Binary Builders that the feat does nothing without 2/3 voting power on it.
We can add in minor but I don't think there is a high likelyhood of getting voting power on it without a manual push
Lets keep this open until v26.0.0 is out and then merge, as per Dev's request.
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you!
Closes: #XXX
What is the purpose of the change
As requested by @ValarDragon