Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

feat: add missing fields #448

Merged
merged 5 commits into from
Sep 26, 2024
Merged

Conversation

cryptokage1996
Copy link
Contributor

@cryptokage1996 cryptokage1996 commented Sep 21, 2024

@cryptokage1996 cryptokage1996 marked this pull request as ready for review September 21, 2024 23:56
Copy link
Contributor

@amityadav0 amityadav0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Please test it on local

use crate::trade_shield::types::PerpetualOrderV2;
use cw_storage_plus::Map;

pub const PERPETUAL_ORDER_V2: Map<u64, PerpetualOrderV2> = Map::new("perpetual order2_v2");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we use v2 now ? does this mean existing v1 orders will not be processed ?

@Wgil Wgil merged commit cad1b9b into main Sep 26, 2024
3 checks passed
@Wgil Wgil deleted the DEV-99-missing-positions-and-orders-fields branch September 26, 2024 12:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants