White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 23 forks source link

refactor: add asset_decimals to the create_pair msg #329

Closed kerber0x closed 3 months ago

kerber0x commented 3 months ago

Description and Motivation

This PR addresses #306, adding the asset_decimals vector to the create_pair msg so there's no need to fetch these from anywhere.

Related Issues

306


Checklist:

kerber0x commented 3 months ago

Looks good overall, made some minor comments / recommendations. Tests are failing on CI

Thanks, yes the tests will keep failing, we will fix them afterwards

github-actions[bot] commented 3 months ago

Schema generation had missing jobs:

contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json

Please run just schemas locally and upload the generated schemas.