Skip to content

Update instantiate msg#55

Open
CodeMuhammed wants to merge 3 commits intomainfrom
update_instantiate_msg
Open

Update instantiate msg#55
CodeMuhammed wants to merge 3 commits intomainfrom
update_instantiate_msg

Conversation

@CodeMuhammed
Copy link
Copy Markdown
Contributor

No description provided.

@CodeMuhammed CodeMuhammed self-assigned this Feb 28, 2026
Remove obsolete InstantiateMsg fields (from_code_id, index_number) and update tests accordingly. Delete .circleci/config.yml. Introduce ContractError::AmountOverflow and StateInvariantViolation to replace panics for various overflow/state checks. Refactor uint256_to_uint128 to return Result and propagate errors where Uint256 -> Uint128 conversions or arithmetic could overflow (open interest helpers, liquidation, undelegation scheduling, fund collection), replacing expect()/panic paths with explicit error returns to surface contract invariants safely.
Add generated JSON schema files for the wasm_vault contract (raw and cw_schema variants and combined wasm_vault.json) and include schema outputs under version control. Remove /schema from .gitignore so schemas are tracked, and update the GitHub Actions workflow to fail when schema files are changed or untracked. Also include minor Rust code updates across contract modules (counter_offer, open_interest, query, staking/delegate, withdraw) and error handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant