diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts index 6b968da426..b497e0ec83 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts @@ -1372,31 +1372,47 @@ export interface AddressTradingRewardSDKType { denom_amount: Uint8Array; } -/** OpenInterestUpdateEventV1 is used for open interest update events */ +/** + * OpenInterestUpdateEventV1 is used for open interest update events + * Deprecated. + */ + +/** @deprecated */ export interface OpenInterestUpdateEventV1 { - /** The list of all open interest updates in the block. */ openInterestUpdates: OpenInterestUpdate[]; } -/** OpenInterestUpdateEventV1 is used for open interest update events */ +/** + * OpenInterestUpdateEventV1 is used for open interest update events + * Deprecated. + */ + +/** @deprecated */ export interface OpenInterestUpdateEventV1SDKType { - /** The list of all open interest updates in the block. */ open_interest_updates: OpenInterestUpdateSDKType[]; } -/** OpenInterestUpdate contains a single open interest update for a perpetual */ +/** + * OpenInterestUpdate contains a single open interest update for a perpetual + * Deprecated. + */ + +/** @deprecated */ export interface OpenInterestUpdate { - /** The ID of the perpetual market. */ perpetualId: number; /** The new open interest value for the perpetual market. */ openInterest: Uint8Array; } -/** OpenInterestUpdate contains a single open interest update for a perpetual */ +/** + * OpenInterestUpdate contains a single open interest update for a perpetual + * Deprecated. + */ + +/** @deprecated */ export interface OpenInterestUpdateSDKType { - /** The ID of the perpetual market. */ perpetual_id: number; /** The new open interest value for the perpetual market. */ diff --git a/proto/dydxprotocol/indexer/events/events.proto b/proto/dydxprotocol/indexer/events/events.proto index b152dcd82f..ed555d527e 100644 --- a/proto/dydxprotocol/indexer/events/events.proto +++ b/proto/dydxprotocol/indexer/events/events.proto @@ -534,14 +534,18 @@ message AddressTradingReward { } // OpenInterestUpdateEventV1 is used for open interest update events +// Deprecated. message OpenInterestUpdateEventV1 { // The list of all open interest updates in the block. + option deprecated = true; repeated OpenInterestUpdate open_interest_updates = 1; } // OpenInterestUpdate contains a single open interest update for a perpetual +// Deprecated. message OpenInterestUpdate { // The ID of the perpetual market. + option deprecated = true; uint32 perpetual_id = 1; // The new open interest value for the perpetual market. diff --git a/protocol/indexer/events/events.pb.go b/protocol/indexer/events/events.pb.go index 45c17665b9..4c5fed6d9e 100644 --- a/protocol/indexer/events/events.pb.go +++ b/protocol/indexer/events/events.pb.go @@ -2343,8 +2343,10 @@ func (m *AddressTradingReward) GetOwner() string { } // OpenInterestUpdateEventV1 is used for open interest update events +// Deprecated. +// +// Deprecated: Do not use. type OpenInterestUpdateEventV1 struct { - // The list of all open interest updates in the block. OpenInterestUpdates []*OpenInterestUpdate `protobuf:"bytes,1,rep,name=open_interest_updates,json=openInterestUpdates,proto3" json:"open_interest_updates,omitempty"` } @@ -2389,8 +2391,10 @@ func (m *OpenInterestUpdateEventV1) GetOpenInterestUpdates() []*OpenInterestUpda } // OpenInterestUpdate contains a single open interest update for a perpetual +// Deprecated. +// +// Deprecated: Do not use. type OpenInterestUpdate struct { - // The ID of the perpetual market. PerpetualId uint32 `protobuf:"varint,1,opt,name=perpetual_id,json=perpetualId,proto3" json:"perpetual_id,omitempty"` // The new open interest value for the perpetual market. OpenInterest github_com_dydxprotocol_v4_chain_protocol_dtypes.SerializableInt `protobuf:"bytes,2,opt,name=open_interest,json=openInterest,proto3,customtype=github.com/dydxprotocol/v4-chain/protocol/dtypes.SerializableInt" json:"open_interest"` @@ -2706,160 +2710,160 @@ func init() { } var fileDescriptor_6331dfb59c6fd2bb = []byte{ - // 2439 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x23, 0x49, - 0x15, 0x4f, 0xdb, 0x8e, 0xe3, 0x3c, 0xc7, 0x19, 0xbb, 0xc6, 0xc9, 0x38, 0x09, 0xcc, 0x0c, 0x2d, - 0x21, 0x8d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0x07, 0x08, 0x20, 0x41, 0x41, 0xdb, 0x30, 0x2d, 0x01, 0x53, 0x5f, 0x04, 0x70, 0x67, - 0xca, 0x90, 0xe2, 0xe8, 0x03, 0x28, 0x39, 0xf4, 0x69, 0x9b, 0xda, 0x38, 0xa2, 0xbe, 0xa7, 0x8c, - 0x94, 0xc7, 0xdd, 0xea, 0x58, 0x2f, 0xec, 0x75, 0xa4, 0x04, 0xa4, 0x38, 0xed, 0x8a, 0x4e, 0x1f, - 0x15, 0xdd, 0x83, 0x7c, 0x93, 0x3a, 0x8e, 0xa9, 0xc2, 0x97, 0x16, 0xe1, 0x03, 0x4e, 0x5a, 0x97, - 0x21, 0x14, 0xb7, 0x07, 0xf7, 0x4f, 0x93, 0x10, 0x11, 0x45, 0xc4, 0x6f, 0x8f, 0x73, 0x12, 0x6e, - 0x13, 0xc2, 0x99, 0x51, 0xc2, 0xcc, 0x4a, 0x66, 0x14, 0x33, 0x5f, 0x01, 0x14, 0xf9, 0x11, 0x76, - 0x4c, 0x8e, 0x46, 0x6c, 0x53, 0x48, 0x55, 0x66, 0x84, 0x86, 0xa2, 0xe0, 0x6c, 0x0b, 0xc6, 0x3e, - 0xa7, 0x0f, 0xcc, 0x16, 0x30, 0x95, 0xdc, 0xc0, 0xec, 0x23, 0x31, 0xbb, 0x0a, 0xb7, 0x71, 0xb3, - 0x49, 0x1d, 0x8a, 0x23, 0x62, 0x86, 0xe4, 0xc2, 0x14, 0xa5, 0x5b, 0x65, 0x56, 0x9e, 0xc1, 0x09, - 0xcb, 0x20, 0x17, 0x87, 0x9c, 0x51, 0x2b, 0x40, 0x3e, 0xea, 0x44, 0x59, 0xff, 0x71, 0x1a, 0x6e, - 0x6f, 0x12, 0x87, 0x5c, 0x90, 0x10, 0xb7, 0xba, 0xea, 0x87, 0x6f, 0x03, 0xc4, 0x1e, 0x22, 0xd7, - 0xdb, 0xb0, 0x71, 0x4a, 0x74, 0xe0, 0x38, 0xb8, 0xdf, 0x6c, 0x32, 0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 0x6b, 0x0d, - 0x90, 0xb8, 0x76, 0x7a, 0x9f, 0xe6, 0xf3, 0x90, 0x4a, 0x9a, 0x30, 0x29, 0x2a, 0x1e, 0x4e, 0xec, - 0xd2, 0x3d, 0xf5, 0x1d, 0xf9, 0xfc, 0x34, 0xd4, 0x88, 0x17, 0x16, 0x67, 0x98, 0x99, 0xb2, 0x39, - 0x21, 0x2a, 0x8f, 0x9c, 0x31, 0x7b, 0x86, 0x99, 0x7c, 0x37, 0xf7, 0xb6, 0x74, 0x32, 0x7d, 0x2d, - 0x9d, 0x97, 0xa1, 0x84, 0x23, 0xdf, 0xa5, 0x96, 0x19, 0x12, 0xe6, 0x3b, 0x6d, 0x9e, 0x31, 0xe2, - 0x40, 0x2f, 0x19, 0x45, 0xc9, 0x30, 0x12, 0xba, 0xfe, 0xe7, 0x34, 0x7c, 0x25, 0xb9, 0x92, 0x87, - 0x35, 0x13, 0xfa, 0x2d, 0xbe, 0xba, 0x6e, 0x5a, 0x84, 0x2c, 0xaf, 0x65, 0x48, 0x28, 0xec, 0x9e, - 0x35, 0xd4, 0x68, 0xbc, 0xd1, 0x3b, 0x90, 0x65, 0x11, 0x8e, 0xda, 0xb2, 0xda, 0x9c, 0x9f, 0x24, - 0xb0, 0x1b, 0x4a, 0xe5, 0xa1, 0x90, 0x33, 0x94, 0x3c, 0xfa, 0x26, 0xac, 0xa8, 0xca, 0xd5, 0xb4, - 0x7c, 0xef, 0x82, 0x84, 0x8c, 0x3f, 0x9c, 0x92, 0x66, 0x46, 0x56, 0x38, 0x62, 0x49, 0x4d, 0xd9, - 0x48, 0x66, 0xc4, 0xed, 0x9a, 0xe1, 0xee, 0x9b, 0x19, 0xee, 0x3e, 0xf4, 0x12, 0x94, 0xe2, 0xd2, - 0x8d, 0xd7, 0x4d, 0x26, 0xff, 0x25, 0x4e, 0xe6, 0x82, 0x71, 0x2b, 0x66, 0x34, 0x48, 0x78, 0x44, - 0xad, 0x73, 0xfe, 0xc2, 0x61, 0x11,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0x31, 0x67, 0xdc, 0xf1, - 0x03, 0xe2, 0x99, 0x5c, 0x41, 0x48, 0x58, 0x64, 0x3a, 0xfe, 0x33, 0x12, 0x9a, 0x16, 0x0e, 0xfa, - 0x19, 0xed, 0x20, 0x90, 0x0c, 0xfd, 0x97, 0x29, 0x58, 0x90, 0x8f, 0xac, 0x38, 0x13, 0x63, 0xef, - 0xf4, 0xef, 0x11, 0x6d, 0x60, 0x8f, 0x74, 0xd2, 0x3d, 0xf5, 0xe5, 0xa6, 0x7b, 0xfa, 0xaa, 0x74, - 0x1f, 0x9a, 0xc1, 0x99, 0x17, 0xc9, 0xe0, 0xe9, 0xe1, 0x19, 0xac, 0xff, 0x5e, 0x83, 0x45, 0xe9, - 0x9f, 0x24, 0xd9, 0xc6, 0x5c, 0x65, 0xea, 0xc8, 0x48, 0x8d, 0x3e, 0x32, 0xd2, 0x93, 0xdc, 0x55, - 0x99, 0x11, 0x1b, 0x75, 0x70, 0x3b, 0x4d, 0x0f, 0xd9, 0x4e, 0x3a, 0x83, 0x85, 0xa3, 0x10, 0xdb, - 0xd4, 0x6b, 0x19, 0xe4, 0x19, 0x0e, 0x6d, 0xd6, 0x79, 0x3f, 0xdf, 0x8a, 0x24, 0xc3, 0x0c, 0x25, - 0x47, 0x7d, 0x25, 0x7a, 0x34, 0xb6, 0x88, 0x56, 0x6d, 0xe0, 0x1e, 0x4c, 0x63, 0x3e, 0xea, 0x51, - 0xa1, 0xff, 0x42, 0x83, 0xf2, 0xb0, 0x89, 0xa8, 0x0c, 0xd3, 0xfe, 0x33, 0x8f, 0xc4, 0x9d, 0x7e, - 0x39, 0x40, 0xe7, 0x30, 0x67, 0x13, 0xcf, 0x77, 0xe3, 0x66, 0x4c, 0xea, 0x86, 0xbf, 0x94, 0xe5, - 0x05, 0xba, 0xec, 0xeb, 0xe8, 0x3f, 0xd0, 0x60, 0xe9, 0x71, 0x40, 0xbc, 0xba, 0xca, 0xff, 0xde, - 0xae, 0x82, 0x05, 0x0b,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0x53, 0x4f, 0xde, 0x9c, 0x3c, 0xf3, - 0x7b, 0xff, 0xaf, 0xe2, 0x34, 0x2b, 0x18, 0xdf, 0xf8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xac, - 0xfe, 0xc7, 0x4a, 0x7d, 0x21, 0x00, 0x00, + // 2441 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x24, 0x47, + 0x15, 0x77, 0xcf, 0x8c, 0xc7, 0xe3, 0x37, 0x1e, 0xef, 0x4c, 0xed, 0xd8, 0x3b, 0xb6, 0x61, 0x77, + 0x69, 0x09, 0x69, 0x95, 0x8f, 0xf1, 0xae, 0x49, 0xa2, 0x28, 0x07, 0x84, 0xc7, 0x1f, 0xf1, 0x58, + 0xb6, 0x77, 0xd2, 0xfe, 0x48, 0xb2, 0xa0, 0x34, 0xe5, 0xee, 0x9a, 0x71, 0xc9, 0xfd, 0xb5, 0x5d, + 0x3d, 0xde, 0x78, 0x11, 0x37, 0x44, 0x38, 0x20, 0x81, 0x84, 0x38, 0x70, 0x40, 0xe2, 0xc2, 0x25, + 0x12, 0x07, 0x24, 0xc4, 0x8d, 0x03, 0xe2, 0x92, 0x1b, 0x11, 0x27, 0x04, 0x52, 0x84, 0x92, 0x03, + 0xff, 0x06, 0xaa, 0x8f, 0xee, 0xf9, 0x1e, 0xcf, 0xc6, 0x8e, 0x84, 0x10, 0x27, 0x4f, 0xbd, 0x57, + 0xef, 0xf7, 0x5e, 0xbd, 0xf7, 0xaa, 0xea, 0xd5, 0x6b, 0xc3, 0x03, 0xfb, 0xd2, 0xfe, 0x30, 0x08, + 0xfd, 0xc8, 0xb7, 0x7c, 0x67, 0x95, 0x7a, 0x36, 0xf9, 0x90, 0x84, 0xab, 0xe4, 0x82, 0x78, 0x11, + 0x53, 0x7f, 0xaa, 0x82, 0x8d, 0x56, 0xba, 0x67, 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, 0x77, 0xa1, 0x1a, 0x64, 0x4e, 0x31, + 0x23, 0x02, 0x3b, 0xbf, 0x56, 0x9d, 0xc0, 0x2b, 0x5d, 0x96, 0x19, 0x42, 0x16, 0x2d, 0x43, 0x2e, + 0x59, 0x19, 0xd7, 0x5f, 0x32, 0x92, 0xb1, 0xfe, 0x7e, 0xac, 0xb6, 0xc7, 0x99, 0x37, 0xa1, 0x56, + 0xff, 0x9d, 0x06, 0x85, 0x43, 0xbf, 0x1d, 0x5a, 0xe4, 0x71, 0x93, 0x6f, 0x29, 0x86, 0xbe, 0x07, + 0x85, 0xce, 0xc9, 0x17, 0x67, 0xf0, 0xc8, 0x0c, 0x4d, 0x08, 0x17, 0x8f, 0xaa, 0x75, 0x49, 0x3b, + 0x4c, 0xa4, 0xeb, 0x36, 0x0f, 0x38, 0xeb, 0x1a, 0xa3, 0xd7, 0x60, 0x06, 0xdb, 0x76, 0x48, 0x18, + 0x13, 0xab, 0x9c, 0xad, 0x55, 0xfe, 0xf6, 0x87, 0x57, 0xcb, 0xea, 0x02, 0x59, 0x97, 0x9c, 0xc3, + 0x28, 0xa4, 0x5e, 0x6b, 0x67, 0xca, 0x88, 0xa7, 0xd6, 0x72, 0x90, 0x65, 0xc2, 0x48, 0xfd, 0xe3, + 0x34, 0xdc, 0x3a, 0x0a, 0xb1, 0xc7, 0x9a, 0x24, 0x8c, 0xfd, 0xd0, 0x82, 0x32, 0x23, 0x9e, 0x4d, + 0x42, 0xf3, 0xe6, 0x0c, 0x37, 0x90, 0x84, 0xec, 0xa6, 0x21, 0x17, 0xee, 0x84, 0xc4, 0xa2, 0x01, + 0x25, 0x5e, 0xd4, 0xa7, 0x2b, 0x75, 0x1d, 0x5d, 0x0b, 0x09, 0x6a, 0x8f, 0xba, 0x25, 0xc8, 0x61, + 0xc6, 0xe4, 0x31, 0x92, 0x16, 0x29, 0x39, 0x23, 0xc6, 0x75, 0x1b, 0x2d, 0x42, 0x16, 0xbb, 0x7c, + 0x9a, 0xd8, 0x89, 0x19, 0x43, 0x8d, 0x50, 0x0d, 0xb2, 0xd2, 0xee, 0xca, 0xb4, 0x30, 0xe8, 0xa5, + 0xb1, 0x49, 0xd1, 0x13, 0x78, 0x43, 0x49, 0xa2, 0x1d, 0x98, 0x4d, 0xec, 0xa9, 0x64, 0x5f, 0x18, + 0xa6, 0x23, 0xac, 0x7f, 0x94, 0x81, 0xe2, 0xe3, 0xd0, 0x26, 0xe1, 0x36, 0x75, 0x9c, 0x38, 0x5a, + 0xc7, 0x90, 0x77, 0xf1, 0x39, 0x09, 0x4d, 0x9f, 0x73, 0xc6, 0x27, 0xef, 0x10, 0xc7, 0x09, 0x3c, + 0x75, 0x71, 0x80, 0x00, 0x12, 0x14, 0xb4, 0x0d, 0xd3, 0x12, 0x30, 0xf5, 0x65, 0x00, 0x77, 0xa6, + 0x0c, 0x29, 0x8e, 0x3e, 0x80, 0x92, 0x43, 0x9f, 0xb6, 0xa9, 0x8d, 0x23, 0xea, 0x7b, 0xca, 0x48, + 0x79, 0xdc, 0xad, 0x8e, 0xf5, 0xc2, 0x5e, 0x47, 0x4a, 0x40, 0x8a, 0xd3, 0xae, 0xe8, 0xf4, 0x51, + 0xd1, 0x3d, 0xc8, 0x37, 0xa9, 0xe3, 0x98, 0x2a, 0x7c, 0x69, 0x11, 0x3e, 0xe0, 0xa4, 0x75, 0x19, + 0x42, 0x71, 0x7b, 0x70, 0xff, 0x34, 0x09, 0x11, 0x51, 0x44, 0xfc, 0xf6, 0x38, 0x27, 0xe1, 0x36, + 0x21, 0x9c, 0x19, 0x25, 0xcc, 0xac, 0x64, 0x46, 0x31, 0xf3, 0x15, 0x40, 0x91, 0x1f, 0x61, 0xc7, + 0xe4, 0x68, 0xc4, 0x36, 0x85, 0x54, 0x65, 0x46, 0x68, 0x28, 0x0a, 0xce, 0xb6, 0x60, 0xec, 0x73, + 0xfa, 0xc0, 0x6c, 0x01, 0x53, 0xc9, 0x0d, 0xcc, 0x3e, 0x12, 0xb3, 0x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, 0x7c, 0x63, 0x74, 0xa6, 0xf2, 0x43, 0x0d, 0xc9, 0x70, + 0x9e, 0xe0, 0xb6, 0x13, 0x75, 0x99, 0x10, 0x7f, 0x0b, 0xba, 0xd2, 0x04, 0x35, 0x71, 0x82, 0x4a, + 0x6a, 0x2b, 0xb9, 0x25, 0xd2, 0xe2, 0x96, 0x78, 0xf5, 0xea, 0x5b, 0x42, 0x58, 0xd5, 0x7b, 0x45, + 0xd4, 0x8c, 0x4f, 0x3e, 0xbf, 0xab, 0x7d, 0xfa, 0xf9, 0x5d, 0xed, 0x5f, 0x9f, 0xdf, 0xd5, 0x7e, + 0xfe, 0xc5, 0xdd, 0xa9, 0x4f, 0xbf, 0xb8, 0x3b, 0xf5, 0xf7, 0x2f, 0xee, 0x4e, 0x3d, 0x79, 0x73, + 0xf2, 0xec, 0xef, 0xfd, 0xff, 0x8a, 0xd3, 0xac, 0x60, 0x7c, 0xeb, 0x3f, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x35, 0x4a, 0x0d, 0x23, 0x85, 0x21, 0x00, 0x00, } func (m *FundingUpdateV1) Marshal() (dAtA []byte, err error) { diff --git a/protocol/x/clob/e2e/long_term_orders_test.go b/protocol/x/clob/e2e/long_term_orders_test.go index af1dfde636..dc393bf5a0 100644 --- a/protocol/x/clob/e2e/long_term_orders_test.go +++ b/protocol/x/clob/e2e/long_term_orders_test.go @@ -825,22 +825,6 @@ func TestPlaceLongTermOrder(t *testing.T) { EventIndex: 2, Version: indexerevents.OrderFillEventVersion, }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewInt(10_000_000_000), - }, - }, - }), - }, }, TxHashes: []string{ string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ @@ -1169,22 +1153,6 @@ func TestPlaceLongTermOrder(t *testing.T) { EventIndex: 2, Version: indexerevents.OrderFillEventVersion, }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewInt(10_000_000_000), - }, - }, - }), - }, }, TxHashes: []string{ string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ @@ -1340,22 +1308,6 @@ func TestPlaceLongTermOrder(t *testing.T) { EventIndex: 2, Version: indexerevents.OrderFillEventVersion, }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewInt(20_000_000_000), - }, - }, - }), - }, }, TxHashes: []string{ string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ @@ -1739,22 +1691,6 @@ func TestRegression_InvalidTimeInForce(t *testing.T) { EventIndex: 2, Version: indexerevents.OrderFillEventVersion, }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewInt(10_000_000_000), - }, - }, - }), - }, }, TxHashes: []string{ string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ diff --git a/protocol/x/clob/e2e/short_term_orders_test.go b/protocol/x/clob/e2e/short_term_orders_test.go index 0312034c76..a6e7365ad0 100644 --- a/protocol/x/clob/e2e/short_term_orders_test.go +++ b/protocol/x/clob/e2e/short_term_orders_test.go @@ -8,7 +8,6 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/exp/slices" - "github.com/dydxprotocol/v4-chain/protocol/dtypes" "github.com/dydxprotocol/v4-chain/protocol/indexer" indexerevents "github.com/dydxprotocol/v4-chain/protocol/indexer/events" "github.com/dydxprotocol/v4-chain/protocol/indexer/indexer_manager" @@ -219,24 +218,6 @@ func TestPlaceOrder(t *testing.T) { ), ), }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewIntFromUint64( - PlaceOrder_Alice_Num0_Id0_Clob0_Buy5_Price10_GTB20.Order.GetBigQuantums().Uint64(), - ), - }, - }, - }), - }, }, TxHashes: []string{string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ OperationsQueue: []clobtypes.OperationRaw{ @@ -399,24 +380,6 @@ func TestPlaceOrder(t *testing.T) { ), ), }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewIntFromUint64( - PlaceOrder_Bob_Num0_Id0_Clob0_Sell5_Price10_GTB20.Order.GetBigQuantums().Uint64(), - ), - }, - }, - }), - }, }, TxHashes: []string{string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ OperationsQueue: []clobtypes.OperationRaw{ @@ -579,24 +542,6 @@ func TestPlaceOrder(t *testing.T) { ), ), }, - { - Subtype: indexerevents.SubtypeOpenInterestUpdate, - OrderingWithinBlock: &indexer_manager.IndexerTendermintEvent_BlockEvent_{ - BlockEvent: indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - }, - Version: indexerevents.OpenInterestUpdateVersion, - DataBytes: indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: []*indexerevents.OpenInterestUpdate{ - { - PerpetualId: Clob_0.MustGetPerpetualId(), - OpenInterest: dtypes.NewIntFromUint64( - PlaceOrder_Bob_Num0_Id0_Clob0_Sell5_Price10_GTB20.Order.GetBigQuantums().Uint64(), - ), - }, - }, - }), - }, }, TxHashes: []string{string(lib.GetTxHash(testtx.MustGetTxBytes(&clobtypes.MsgProposedOperations{ OperationsQueue: []clobtypes.OperationRaw{ diff --git a/protocol/x/perpetuals/abci.go b/protocol/x/perpetuals/abci.go index e8149df9a9..57a34f9e0c 100644 --- a/protocol/x/perpetuals/abci.go +++ b/protocol/x/perpetuals/abci.go @@ -15,5 +15,4 @@ func EndBlocker(ctx sdk.Context, k types.PerpetualsKeeper) { // first so that new samples are processed in `MaybeProcessNewFundingTickEpoch`. k.MaybeProcessNewFundingSampleEpoch(ctx) k.MaybeProcessNewFundingTickEpoch(ctx) - k.SendOIUpdatesToIndexer(ctx) } diff --git a/protocol/x/perpetuals/abci_test.go b/protocol/x/perpetuals/abci_test.go index e50a03080f..04ed81320f 100644 --- a/protocol/x/perpetuals/abci_test.go +++ b/protocol/x/perpetuals/abci_test.go @@ -28,10 +28,6 @@ func TestEndBlocker(t *testing.T) { "MaybeProcessNewFundingSampleEpoch", ctx, ).Return(nil) - mck.On( - "SendOIUpdatesToIndexer", - ctx, - ) }, expectedErr: nil, }, diff --git a/protocol/x/perpetuals/keeper/perpetual.go b/protocol/x/perpetuals/keeper/perpetual.go index c288f17982..834f67e96a 100644 --- a/protocol/x/perpetuals/keeper/perpetual.go +++ b/protocol/x/perpetuals/keeper/perpetual.go @@ -1,7 +1,6 @@ package keeper import ( - "encoding/binary" "fmt" "math/big" "math/rand" @@ -1041,14 +1040,6 @@ func (k Keeper) ModifyOpenInterest( perpetual.OpenInterest = dtypes.NewIntFromBigInt(bigOpenInterest) k.setPerpetual(ctx, perpetual) - if ctx.ExecMode() == sdk.ExecModeFinalize { - updatedOIStore := prefix.NewStore(ctx.TransientStore(k.transientStoreKey), []byte(types.UpdatedOIKeyPrefix)) - openInterestInBytes, err := perpetual.OpenInterest.Marshal() - if err != nil { - return err - } - updatedOIStore.Set(lib.Uint32ToKey(perpetualId), openInterestInBytes) - } return nil } @@ -1481,42 +1472,6 @@ func (k Keeper) IsPositionUpdatable( return true, nil } -func (k Keeper) SendOIUpdatesToIndexer(ctx sdk.Context) { - updatedOIStore := prefix.NewStore(ctx.TransientStore(k.transientStoreKey), []byte(types.UpdatedOIKeyPrefix)) - iterator := updatedOIStore.Iterator(nil, nil) - defer iterator.Close() - - OIMessageArray := make([]*indexerevents.OpenInterestUpdate, 0) - - for ; iterator.Valid(); iterator.Next() { - openInterestSerializableInt := dtypes.SerializableInt{} - if err := openInterestSerializableInt.Unmarshal(iterator.Value()); err != nil { - panic(errorsmod.Wrap(err, "failed to unmarshal open interest")) - } - OIMessage := indexerevents.OpenInterestUpdate{ - PerpetualId: binary.BigEndian.Uint32(iterator.Key()), - OpenInterest: openInterestSerializableInt, - } - OIMessageArray = append(OIMessageArray, &OIMessage) - } - - if len(OIMessageArray) == 0 { - return - } - - k.GetIndexerEventManager().AddBlockEvent( - ctx, - indexerevents.SubtypeOpenInterestUpdate, - indexer_manager.IndexerTendermintEvent_BLOCK_EVENT_END_BLOCK, - indexerevents.OpenInterestUpdateVersion, - indexer_manager.GetBytes( - &indexerevents.OpenInterestUpdateEventV1{ - OpenInterestUpdates: OIMessageArray, - }, - ), - ) -} - // GetNextPerpetualID returns the next perpetual id to be used from the module store func (k Keeper) GetNextPerpetualID(ctx sdk.Context) uint32 { store := ctx.KVStore(k.storeKey) diff --git a/protocol/x/perpetuals/keeper/perpetual_test.go b/protocol/x/perpetuals/keeper/perpetual_test.go index e3859b83e4..30cce2fa32 100644 --- a/protocol/x/perpetuals/keeper/perpetual_test.go +++ b/protocol/x/perpetuals/keeper/perpetual_test.go @@ -3013,32 +3013,6 @@ func TestIsPositionUpdatable(t *testing.T) { } } -func TestModifyOpenInterest_store(t *testing.T) { - pc := keepertest.PerpetualsKeepers(t) - perps := keepertest.CreateLiquidityTiersAndNPerpetuals(t, pc.Ctx, pc.PerpetualsKeeper, pc.PricesKeeper, 100) - pc.Ctx = pc.Ctx.WithExecMode(sdk.ExecModeFinalize) - for _, perp := range perps { - openInterestDeltaBaseQuantums := big.NewInt(2_000_000 * (int64(perp.Params.Id))) - - err := pc.PerpetualsKeeper.ModifyOpenInterest( - pc.Ctx, - perp.Params.Id, - openInterestDeltaBaseQuantums, - ) - require.NoError(t, err) - } - - transientStore := prefix.NewStore(pc.Ctx.TransientStore(pc.TransientStoreKey), []byte(types.UpdatedOIKeyPrefix)) - for _, perp := range perps { - perpetualObject, err := pc.PerpetualsKeeper.GetPerpetual(pc.Ctx, perp.Params.Id) - require.NoError(t, err) - serializedOpenInterest := dtypes.SerializableInt{} - err = serializedOpenInterest.Unmarshal(transientStore.Get(lib.Uint32ToKey(perpetualObject.Params.Id))) - require.NoError(t, err) - require.Equal(t, perpetualObject.OpenInterest, serializedOpenInterest) - } -} - func TestIsIsolatedPerpetual(t *testing.T) { testCases := map[string]struct { perp types.Perpetual diff --git a/protocol/x/perpetuals/types/types.go b/protocol/x/perpetuals/types/types.go index 0da2437d97..7268ec81a9 100644 --- a/protocol/x/perpetuals/types/types.go +++ b/protocol/x/perpetuals/types/types.go @@ -114,7 +114,6 @@ type PerpetualsKeeper interface { ctx sdk.Context, ) []Perpetual GetAllLiquidityTiers(ctx sdk.Context) (list []LiquidityTier) - SendOIUpdatesToIndexer(ctx sdk.Context) ValidateAndSetPerpetual( ctx sdk.Context, perpetual Perpetual,