diff --git a/api/band/feeds/v1beta1/feeds.pulsar.go b/api/band/feeds/v1beta1/feeds.pulsar.go index 3de184d8c..ea88a5696 100644 --- a/api/band/feeds/v1beta1/feeds.pulsar.go +++ b/api/band/feeds/v1beta1/feeds.pulsar.go @@ -8118,72 +8118,49 @@ var file_band_feeds_v1beta1_feeds_proto_rawDesc = []byte{ 0x12, 0x35, 0x0a, 0x07, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x52, 0x07, - 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x2a, 0xc5, 0x02, - 0x0a, 0x0b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x38, 0x0a, + 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x2a, 0xb4, 0x01, + 0x0a, 0x0b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x1a, 0x8a, 0x9d, 0x20, - 0x16, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x6e, 0x73, 0x70, - 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x1e, 0x50, 0x52, 0x49, 0x43, 0x45, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, - 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x1a, 0x1e, 0x8a, 0x9d, 0x20, - 0x1a, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x6e, 0x6b, 0x6e, - 0x6f, 0x77, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x33, 0x0a, 0x16, 0x50, - 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, - 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x1a, 0x17, 0x8a, 0x9d, 0x20, 0x13, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, - 0x12, 0x34, 0x0a, 0x16, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x1a, 0x18, 0x8a, 0x9d, - 0x20, 0x14, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x21, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x43, 0x55, - 0x52, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x45, 0x45, 0x44, 0x53, 0x10, 0x04, 0x1a, 0x20, 0x8a, - 0x9d, 0x20, 0x1c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4e, 0x6f, - 0x74, 0x49, 0x6e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x65, 0x65, 0x64, 0x73, 0x1a, - 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0xb1, 0x02, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x45, 0x0a, 0x1f, 0x53, - 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x1a, 0x20, 0x8a, 0x9d, 0x20, 0x1c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x12, 0x45, 0x0a, 0x1f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, - 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, - 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x1a, 0x20, 0x8a, 0x9d, 0x20, 0x1c, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x6e, - 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x1f, 0x53, 0x49, 0x47, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x50, + 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x12, + 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x50, + 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x49, + 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x49, 0x43, 0x45, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x43, + 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x45, 0x45, 0x44, 0x53, 0x10, 0x04, 0x1a, 0x04, + 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0xab, 0x01, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x49, + 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x23, 0x0a, 0x1f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, + 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x41, 0x56, + 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x5f, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x1a, 0x20, - 0x8a, 0x9d, 0x20, 0x1c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, - 0x12, 0x41, 0x0a, 0x1d, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x49, 0x43, 0x45, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, - 0x45, 0x10, 0x03, 0x1a, 0x1e, 0x8a, 0x9d, 0x20, 0x1a, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0xa7, 0x01, 0x0a, 0x07, 0x45, 0x6e, - 0x63, 0x6f, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x17, - 0x8a, 0x9d, 0x20, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x12, 0x38, 0x0a, 0x17, 0x45, 0x4e, 0x43, 0x4f, 0x44, - 0x45, 0x52, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x41, - 0x42, 0x49, 0x10, 0x01, 0x1a, 0x1b, 0x8a, 0x9d, 0x20, 0x17, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, + 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x1a, 0x04, 0x88, 0xa3, + 0x1e, 0x00, 0x2a, 0x5b, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x12, 0x17, 0x0a, + 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x41, 0x42, - 0x49, 0x12, 0x2a, 0x0a, 0x10, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x43, - 0x4b, 0x5f, 0x41, 0x42, 0x49, 0x10, 0x02, 0x1a, 0x14, 0x8a, 0x9d, 0x20, 0x10, 0x45, 0x4e, 0x43, - 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x49, 0x43, 0x4b, 0x5f, 0x41, 0x42, 0x49, 0x1a, 0x04, 0x88, - 0xa3, 0x1e, 0x00, 0x42, 0xd4, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, - 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, - 0x46, 0x65, 0x65, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x66, 0x65, 0x65, 0x64, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x46, 0x58, 0xaa, 0x02, 0x12, 0x42, 0x61, 0x6e, 0x64, 0x2e, - 0x46, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x12, - 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x46, 0x65, 0x65, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x46, 0x65, 0x65, 0x64, 0x73, 0x5c, - 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x42, 0x61, 0x6e, 0x64, 0x3a, 0x3a, 0x46, 0x65, 0x65, 0x64, - 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x49, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x54, + 0x49, 0x43, 0x4b, 0x5f, 0x41, 0x42, 0x49, 0x10, 0x02, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x42, + 0xd4, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x46, 0x65, 0x65, 0x64, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, + 0x61, 0x6e, 0x64, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x3b, 0x66, 0x65, 0x65, 0x64, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x42, 0x46, 0x58, 0xaa, 0x02, 0x12, 0x42, 0x61, 0x6e, 0x64, 0x2e, 0x46, 0x65, 0x65, 0x64, + 0x73, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x12, 0x42, 0x61, 0x6e, 0x64, + 0x5c, 0x46, 0x65, 0x65, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x1e, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x46, 0x65, 0x65, 0x64, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x14, 0x42, 0x61, 0x6e, 0x64, 0x3a, 0x3a, 0x46, 0x65, 0x65, 0x64, 0x73, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/band/feeds/v1beta1/query.pulsar.go b/api/band/feeds/v1beta1/query.pulsar.go index 1e9c8a6b2..fc201069a 100644 --- a/api/band/feeds/v1beta1/query.pulsar.go +++ b/api/band/feeds/v1beta1/query.pulsar.go @@ -11028,7 +11028,7 @@ var file_band_feeds_v1beta1_query_proto_rawDesc = []byte{ 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x65, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2d, 0x66, 0x65, 0x65, 0x64, 0x73, 0x12, + 0x31, 0x2f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x12, 0x93, 0x01, 0x0a, 0x08, 0x49, 0x73, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x73, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, @@ -11069,7 +11069,7 @@ var file_band_feeds_v1beta1_query_proto_rawDesc = []byte{ 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x66, 0x65, 0x65, - 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x2d, 0x70, + 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0xb6, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, @@ -11081,7 +11081,7 @@ var file_band_feeds_v1beta1_query_proto_rawDesc = []byte{ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x2d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0xa6, + 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0xa6, 0x01, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x31, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, @@ -11091,8 +11091,8 @@ var file_band_feeds_v1beta1_query_proto_rawDesc = []byte{ 0x72, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2d, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x2d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, + 0x74, 0x61, 0x31, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x66, 0x65, 0x65, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, diff --git a/api/band/oracle/v1/oracle.pulsar.go b/api/band/oracle/v1/oracle.pulsar.go index 0bb1bb89a..6ae09d305 100644 --- a/api/band/oracle/v1/oracle.pulsar.go +++ b/api/band/oracle/v1/oracle.pulsar.go @@ -12664,11 +12664,11 @@ type Encoder int32 const ( // ENCODER_UNSPECIFIED is for unspecified value Encoder_ENCODER_UNSPECIFIED Encoder = 0 - // ENCODER_UNSPECIFIED is for proto encoding + // ENCODER_PROTO is for proto encoding Encoder_ENCODER_PROTO Encoder = 1 - // ENCODER_UNSPECIFIED is for ABI encoding for full data + // ENCODER_FULL_ABI is for ABI encoding for full data Encoder_ENCODER_FULL_ABI Encoder = 2 - // ENCODER_UNSPECIFIED is for ABI encoding for only important data + // ENCODER_PARTIAL_ABI is for ABI encoding for only important data Encoder_ENCODER_PARTIAL_ABI Encoder = 3 ) @@ -14494,32 +14494,26 @@ var file_band_oracle_v1_oracle_proto_rawDesc = []byte{ 0x56, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x1a, 0x1a, 0x8a, 0x9d, 0x20, 0x16, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x1a, - 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0xc5, 0x01, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, - 0x72, 0x12, 0x30, 0x0a, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x17, 0x8a, 0x9d, 0x20, 0x13, - 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x50, - 0x52, 0x4f, 0x54, 0x4f, 0x10, 0x01, 0x1a, 0x11, 0x8a, 0x9d, 0x20, 0x0d, 0x45, 0x4e, 0x43, 0x4f, - 0x44, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x12, 0x2a, 0x0a, 0x10, 0x45, 0x4e, 0x43, - 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x41, 0x42, 0x49, 0x10, 0x02, 0x1a, - 0x14, 0x8a, 0x9d, 0x20, 0x10, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, - 0x4c, 0x5f, 0x41, 0x42, 0x49, 0x12, 0x30, 0x0a, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, - 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x42, 0x49, 0x10, 0x03, 0x1a, 0x17, - 0x8a, 0x9d, 0x20, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x41, 0x52, 0x54, - 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x42, 0x49, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x42, 0xb9, 0x01, - 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x6f, - 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x42, 0x4f, 0x58, 0xaa, 0x02, 0x0e, 0x42, 0x61, 0x6e, 0x64, 0x2e, 0x4f, - 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x42, 0x61, 0x6e, 0x64, 0x5c, - 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x42, 0x61, 0x6e, 0x64, - 0x5c, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x42, 0x61, 0x6e, 0x64, 0x3a, 0x3a, 0x4f, - 0x72, 0x61, 0x63, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0x6a, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x72, + 0x12, 0x17, 0x0a, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x4e, 0x43, + 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, + 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x41, 0x42, 0x49, + 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x41, + 0x52, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x41, 0x42, 0x49, 0x10, 0x03, 0x1a, 0x04, 0x88, 0xa3, 0x1e, + 0x00, 0x42, 0xb9, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, + 0x6e, 0x64, 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x72, 0x61, + 0x63, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x4f, 0x58, 0xaa, 0x02, 0x0e, 0x42, 0x61, + 0x6e, 0x64, 0x2e, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x42, + 0x61, 0x6e, 0x64, 0x5c, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, + 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x42, 0x61, 0x6e, + 0x64, 0x3a, 0x3a, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/benchmark/feeds_bench_test.go b/benchmark/feeds_bench_test.go index 1a4739f72..1735daa9d 100644 --- a/benchmark/feeds_bench_test.go +++ b/benchmark/feeds_bench_test.go @@ -180,7 +180,7 @@ func setupValidatorPriceList(ba *BenchmarkApp, vals []*Account) error { valPrices := []types.ValidatorPrice{} for _, feed := range sfs.Feeds { valPrices = append(valPrices, types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: feed.SignalID, Price: (10000 + uint64(valIdx)) * 10e9, Timestamp: ba.Ctx.BlockTime().Unix() - 40, @@ -202,7 +202,7 @@ func setupValidatorPrices(ba *BenchmarkApp, vals []*Account) error { valPrices := []types.ValidatorPrice{} for _, feed := range sfs.Feeds { valPrices = append(valPrices, types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: feed.SignalID, Price: (10000 + uint64(valIdx)) * 10e9, Timestamp: ba.Ctx.BlockTime().Unix(), diff --git a/benchmark/helper_test.go b/benchmark/helper_test.go index ac12b9cd5..b2761a8d9 100644 --- a/benchmark/helper_test.go +++ b/benchmark/helper_test.go @@ -87,7 +87,7 @@ func GenMsgSubmitSignalPrices( prices := make([]feedstypes.SignalPrice, 0, len(feeds)) for _, feed := range feeds { prices = append(prices, feedstypes.SignalPrice{ - Status: feedstypes.SignalPriceStatusAvailable, + Status: feedstypes.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: feed.SignalID, Price: 60000, }) diff --git a/cylinder/README.md b/cylinder/README.md index fa2a5d8d4..ee5cda58a 100644 --- a/cylinder/README.md +++ b/cylinder/README.md @@ -108,19 +108,21 @@ Run the following command to set the configuration of the cylinder program and a cylinder config chain-id $CHAIN_ID --home $CYLINDER_HOME_PATH cylinder config node $RPC_URL --home $CYLINDER_HOME_PATH cylinder config granter $(bandd keys show $WALLET_NAME -a --keyring-backend test) --home $CYLINDER_HOME_PATH -cylinder config gas-prices "0.0025uband" --home $CYLINDER_HOME_PATH -cylinder config max-messages 10 --home $CYLINDER_HOME_PATH +cylinder config gas-prices "0uband" --home $CYLINDER_HOME_PATH +cylinder config max-messages 20 --home $CYLINDER_HOME_PATH cylinder config broadcast-timeout "5m" --home $CYLINDER_HOME_PATH cylinder config rpc-poll-interval "1s" --home $CYLINDER_HOME_PATH cylinder config max-try 5 --home $CYLINDER_HOME_PATH -cylinder config min-de 20 --home $CYLINDER_HOME_PATH +cylinder config min-de 100 --home $CYLINDER_HOME_PATH cylinder config gas-adjust-start 1.6 --home $CYLINDER_HOME_PATH cylinder config gas-adjust-step 0.2 --home $CYLINDER_HOME_PATH cylinder config random-secret "$(openssl rand -hex 32)" --home $CYLINDER_HOME_PATH -cylinder config checking-de-interval "5m" --home $CYLINDER_HOME_PATH +cylinder config checking-de-interval "1m" --home $CYLINDER_HOME_PATH cylinder keys add signer1 --home $CYLINDER_HOME_PATH cylinder keys add signer2 --home $CYLINDER_HOME_PATH +cylinder keys add signer3 --home $CYLINDER_HOME_PATH +cylinder keys add signer4 --home $CYLINDER_HOME_PATH ``` below is the meaning of the configuration of the system diff --git a/cylinder/workers/de/de.go b/cylinder/workers/de/de.go index 82fa5b761..b1fab2388 100644 --- a/cylinder/workers/de/de.go +++ b/cylinder/workers/de/de.go @@ -27,6 +27,7 @@ type DE struct { client *client.Client assignEventCh <-chan ctypes.ResultEvent useEventCh <-chan ctypes.ResultEvent + cntUsed uint64 } // New creates a new instance of the DE worker. @@ -101,27 +102,24 @@ func (de *DE) deleteDE(pubDE types.DE) { } } -// updateDE updates DE if the remaining DE is too low. -func (de *DE) updateDE() { +func (de *DE) getDECount() (uint64, error) { // Query DE information deRes, err := de.client.QueryDE(de.context.Config.Granter, 0, 1) if err != nil { de.logger.Error(":cold_sweat: Failed to query DE information: %s", err) - return + return 0, err } - // Check remaining DE, ignore if it's more than min-DE - remaining := deRes.GetRemaining() - if remaining >= de.context.Config.MinDE { - return - } + return deRes.GetRemaining(), nil +} - // Log +// updateDE updates DE if the remaining DE is too low. +func (de *DE) updateDE(numNewDE uint64) { de.logger.Info(":delivery_truck: Updating DE") // Generate new DE pairs privDEs, err := GenerateDEs( - de.context.Config.MinDE, + numNewDE, de.context.Config.RandomSecret, de.context.Store, ) @@ -145,6 +143,22 @@ func (de *DE) updateDE() { de.context.MsgCh <- types.NewMsgSubmitDEs(pubDEs, de.context.Config.Granter) } +// intervalUpdateDE updates DE on the chain so that the remaining DE is +// always above the minimum threshold. +func (de *DE) intervalUpdateDE() error { + deCount, err := de.getDECount() + if err != nil { + return err + } + + if deCount < 2*de.context.Config.MinDE { + de.updateDE(2*de.context.Config.MinDE - deCount) + de.cntUsed = 0 + } + + return nil +} + // Start starts the DE worker. // It subscribes to events and starts processing incoming events. func (de *DE) Start() { @@ -157,7 +171,10 @@ func (de *DE) Start() { } // Update one time when starting worker first time. - de.updateDE() + if err := de.intervalUpdateDE(); err != nil { + de.context.ErrCh <- err + return + } // Remove DE if there is used DE event. go func() { @@ -171,9 +188,15 @@ func (de *DE) Start() { for { select { case <-ticker.C: - de.updateDE() + if err := de.intervalUpdateDE(); err != nil { + de.logger.Error(":cold_sweat: Failed to do an interval update DE: %s", err) + } case <-de.assignEventCh: - de.updateDE() + de.cntUsed += 1 + if de.cntUsed >= de.context.Config.MinDE { + de.updateDE(de.cntUsed) + de.cntUsed = 0 + } } } } diff --git a/grogu/signaller/signaller.go b/grogu/signaller/signaller.go index 1c7d275f0..4a6065986 100644 --- a/grogu/signaller/signaller.go +++ b/grogu/signaller/signaller.go @@ -266,7 +266,7 @@ func (s *Signaller) isNonUrgentUnavailablePrices( now int64, ) bool { switch signalPrice.Status { - case types.SignalPriceStatusUnavailable: + case types.SIGNAL_PRICE_STATUS_UNAVAILABLE: deadline := s.signalIDToValidatorPrice[signalPrice.SignalID].Timestamp + s.signalIDToFeed[signalPrice.SignalID].Interval if now > deadline-FixedIntervalOffset { return false diff --git a/grogu/signaller/signaller_test.go b/grogu/signaller/signaller_test.go index f277c05fc..93b669a45 100644 --- a/grogu/signaller/signaller_test.go +++ b/grogu/signaller/signaller_test.go @@ -46,7 +46,7 @@ func (s *SignallerTestSuite) SetupTest() { QueryValidatorPrices(gomock.Any()). Return(&feeds.QueryValidatorPricesResponse{ValidatorPrices: []feeds.ValidatorPrice{ { - SignalPriceStatus: feeds.SignalPriceStatusAvailable, + SignalPriceStatus: feeds.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "signal1", Price: 10000, Timestamp: 0, @@ -203,7 +203,7 @@ func (s *SignallerTestSuite) TestSignalPrices() { { SignalID: "signal1", Price: 10000, - Status: feeds.SignalPriceStatusAvailable, + Status: feeds.SIGNAL_PRICE_STATUS_AVAILABLE, }, } diff --git a/grogu/signaller/utils.go b/grogu/signaller/utils.go index 46d886774..5bf8d1936 100644 --- a/grogu/signaller/utils.go +++ b/grogu/signaller/utils.go @@ -43,19 +43,19 @@ func convertPriceData(price *bothan.Price) (types.SignalPrice, error) { switch price.Status { case bothan.Status_STATUS_UNSUPPORTED: return types.NewSignalPrice( - types.SignalPriceStatusUnsupported, + types.SIGNAL_PRICE_STATUS_UNSUPPORTED, price.SignalId, 0, ), nil case bothan.Status_STATUS_UNAVAILABLE: return types.NewSignalPrice( - types.SignalPriceStatusUnavailable, + types.SIGNAL_PRICE_STATUS_UNAVAILABLE, price.SignalId, 0, ), nil case bothan.Status_STATUS_AVAILABLE: return types.NewSignalPrice( - types.SignalPriceStatusAvailable, + types.SIGNAL_PRICE_STATUS_AVAILABLE, price.SignalId, price.Price, ), nil diff --git a/grogu/signaller/utils_test.go b/grogu/signaller/utils_test.go index a5640bb2e..fde5ee997 100644 --- a/grogu/signaller/utils_test.go +++ b/grogu/signaller/utils_test.go @@ -44,13 +44,13 @@ func TestConvertPriceData(t *testing.T) { { "Unsupported price status", &bothan.Price{Status: bothan.Status_STATUS_UNSUPPORTED, SignalId: "signal1"}, - types.SignalPrice{Status: types.SignalPriceStatusUnsupported, SignalID: "signal1", Price: 0}, + types.SignalPrice{Status: types.SIGNAL_PRICE_STATUS_UNSUPPORTED, SignalID: "signal1", Price: 0}, false, }, { "Unavailable price status", &bothan.Price{Status: bothan.Status_STATUS_UNAVAILABLE, SignalId: "signal2"}, - types.SignalPrice{Status: types.SignalPriceStatusUnavailable, SignalID: "signal2", Price: 0}, + types.SignalPrice{Status: types.SIGNAL_PRICE_STATUS_UNAVAILABLE, SignalID: "signal2", Price: 0}, false, }, { @@ -60,7 +60,7 @@ func TestConvertPriceData(t *testing.T) { SignalId: "signal3", Price: 123456000000, }, - types.SignalPrice{Status: types.SignalPriceStatusAvailable, SignalID: "signal3", Price: 123456000000}, + types.SignalPrice{Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "signal3", Price: 123456000000}, false, }, } diff --git a/grogu/submitter/submitter_test.go b/grogu/submitter/submitter_test.go index e98dfa1ee..691ab2056 100644 --- a/grogu/submitter/submitter_test.go +++ b/grogu/submitter/submitter_test.go @@ -199,7 +199,7 @@ func (s *SubmitterTestSuite) TestSubmitterSubmitPrice() { { SignalID: "signal1", Price: 12345, - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, }, } @@ -246,7 +246,7 @@ func (s *SubmitterTestSuite) TestSubmitterSubmitPrice_OutOfGas() { { SignalID: "signal1", Price: 12345, - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, }, } @@ -286,7 +286,7 @@ func (s *SubmitterTestSuite) TestSubmitterBuildSignedTx() { { SignalID: "signal1", Price: 12345, - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, }, }, } @@ -320,7 +320,7 @@ func (s *SubmitterTestSuite) TestSubmitterBroadcastMsg() { { SignalID: "signal1", Price: 12345, - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, }, }, } diff --git a/proto/band/feeds/v1beta1/feeds.proto b/proto/band/feeds/v1beta1/feeds.proto index 2f69c61af..8cf41cc52 100644 --- a/proto/band/feeds/v1beta1/feeds.proto +++ b/proto/band/feeds/v1beta1/feeds.proto @@ -93,19 +93,19 @@ enum PriceStatus { option (gogoproto.goproto_enum_prefix) = false; // PRICE_STATUS_UNSPECIFIED is an unspecified price status. - PRICE_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "PriceStatusUnspecified"]; + PRICE_STATUS_UNSPECIFIED = 0; // PRICE_STATUS_UNKNOWN_SIGNAL_ID is an unknown signal id price status. - PRICE_STATUS_UNKNOWN_SIGNAL_ID = 1 [(gogoproto.enumvalue_customname) = "PriceStatusUnknownSignalID"]; + PRICE_STATUS_UNKNOWN_SIGNAL_ID = 1; // PRICE_STATUS_NOT_READY is a not ready price status. - PRICE_STATUS_NOT_READY = 2 [(gogoproto.enumvalue_customname) = "PriceStatusNotReady"]; + PRICE_STATUS_NOT_READY = 2; // PRICE_STATUS_AVAILABLE is an available price status. - PRICE_STATUS_AVAILABLE = 3 [(gogoproto.enumvalue_customname) = "PriceStatusAvailable"]; + PRICE_STATUS_AVAILABLE = 3; // PRICE_STATUS_NOT_IN_CURRENT_FEEDS is a not in current feed price status. - PRICE_STATUS_NOT_IN_CURRENT_FEEDS = 4 [(gogoproto.enumvalue_customname) = "PriceStatusNotInCurrentFeeds"]; + PRICE_STATUS_NOT_IN_CURRENT_FEEDS = 4; } // Price is a structure that defines the price of a signal id. @@ -130,16 +130,16 @@ enum SignalPriceStatus { option (gogoproto.goproto_enum_prefix) = false; // SIGNAL_PRICE_STATUS_UNSPECIFIED is an unspecified signal price status. - SIGNAL_PRICE_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "SignalPriceStatusUnspecified"]; + SIGNAL_PRICE_STATUS_UNSPECIFIED = 0; // SIGNAL_PRICE_STATUS_UNSUPPORTED is an unsupported signal price status. - SIGNAL_PRICE_STATUS_UNSUPPORTED = 1 [(gogoproto.enumvalue_customname) = "SignalPriceStatusUnsupported"]; + SIGNAL_PRICE_STATUS_UNSUPPORTED = 1; // SIGNAL_PRICE_STATUS_UNAVAILABLE is an unavailable signal price status. - SIGNAL_PRICE_STATUS_UNAVAILABLE = 2 [(gogoproto.enumvalue_customname) = "SignalPriceStatusUnavailable"]; + SIGNAL_PRICE_STATUS_UNAVAILABLE = 2; // SIGNAL_PRICE_STATUS_AVAILABLE is an available signal price status. - SIGNAL_PRICE_STATUS_AVAILABLE = 3 [(gogoproto.enumvalue_customname) = "SignalPriceStatusAvailable"]; + SIGNAL_PRICE_STATUS_AVAILABLE = 3; } // SignalPrice is a structure that defines the signaled price of a signal id. @@ -215,13 +215,13 @@ enum Encoder { option (gogoproto.goproto_enum_prefix) = false; // ENCODER_UNSPECIFIED is an unspecified encoder mode. - ENCODER_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "ENCODER_UNSPECIFIED"]; + ENCODER_UNSPECIFIED = 0; // ENCODER_FIXED_POINT_ABI is a fixed-point price abi encoder (price * 10^9). - ENCODER_FIXED_POINT_ABI = 1 [(gogoproto.enumvalue_customname) = "ENCODER_FIXED_POINT_ABI"]; + ENCODER_FIXED_POINT_ABI = 1; // ENCODER_TICK_ABI is a tick abi encoder. - ENCODER_TICK_ABI = 2 [(gogoproto.enumvalue_customname) = "ENCODER_TICK_ABI"]; + ENCODER_TICK_ABI = 2; } // FeedsSignatureOrder defines a general signature order for feed data. diff --git a/proto/band/feeds/v1beta1/query.proto b/proto/band/feeds/v1beta1/query.proto index 4815ae03e..7938ec4c1 100644 --- a/proto/band/feeds/v1beta1/query.proto +++ b/proto/band/feeds/v1beta1/query.proto @@ -14,7 +14,7 @@ import "band/feeds/v1beta1/params.proto"; service Query { // CurrentFeeds is an RPC method that returns a list of current supported feeds. rpc CurrentFeeds(QueryCurrentFeedsRequest) returns (QueryCurrentFeedsResponse) { - option (google.api.http).get = "/feeds/v1beta1/current-feeds"; + option (google.api.http).get = "/feeds/v1beta1/current_feeds"; } // IsFeeder is an RPC method that returns whether an account is a feeder for a specified validator. @@ -39,18 +39,18 @@ service Query { // AllPrices is an RPC method that returns all prices. rpc AllPrices(QueryAllPricesRequest) returns (QueryAllPricesResponse) { - option (google.api.http).get = "/feeds/v1beta1/all-prices"; + option (google.api.http).get = "/feeds/v1beta1/all_prices"; } // ReferenceSourceConfig is an RPC method that returns information on the reference price source. rpc ReferenceSourceConfig(QueryReferenceSourceConfigRequest) returns (QueryReferenceSourceConfigResponse) { - option (google.api.http).get = "/feeds/v1beta1/reference-source-config"; + option (google.api.http).get = "/feeds/v1beta1/reference_source_config"; } // SignalTotalPowers is an RPC method that returns all signal-total-powers or specified signal-total-power by signal // id. rpc SignalTotalPowers(QuerySignalTotalPowersRequest) returns (QuerySignalTotalPowersResponse) { - option (google.api.http).get = "/feeds/v1beta1/signal-total-powers"; + option (google.api.http).get = "/feeds/v1beta1/signal_total_powers"; } // ValidValidator is an RPC method that returns a flag to show if the validator is required to send prices. diff --git a/proto/band/oracle/v1/oracle.proto b/proto/band/oracle/v1/oracle.proto index 6a6b5dcf8..203c01775 100644 --- a/proto/band/oracle/v1/oracle.proto +++ b/proto/band/oracle/v1/oracle.proto @@ -386,11 +386,11 @@ enum Encoder { option (gogoproto.goproto_enum_prefix) = false; // ENCODER_UNSPECIFIED is for unspecified value - ENCODER_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "ENCODER_UNSPECIFIED"]; - // ENCODER_UNSPECIFIED is for proto encoding - ENCODER_PROTO = 1 [(gogoproto.enumvalue_customname) = "ENCODER_PROTO"]; - // ENCODER_UNSPECIFIED is for ABI encoding for full data - ENCODER_FULL_ABI = 2 [(gogoproto.enumvalue_customname) = "ENCODER_FULL_ABI"]; - // ENCODER_UNSPECIFIED is for ABI encoding for only important data - ENCODER_PARTIAL_ABI = 3 [(gogoproto.enumvalue_customname) = "ENCODER_PARTIAL_ABI"]; + ENCODER_UNSPECIFIED = 0; + // ENCODER_PROTO is for proto encoding + ENCODER_PROTO = 1; + // ENCODER_FULL_ABI is for ABI encoding for full data + ENCODER_FULL_ABI = 2; + // ENCODER_PARTIAL_ABI is for ABI encoding for only important data + ENCODER_PARTIAL_ABI = 3; } diff --git a/scripts/bandtss/request_signature_oracle.sh b/scripts/bandtss/request_signature_oracle.sh index 907b1143f..1200c6081 100755 --- a/scripts/bandtss/request_signature_oracle.sh +++ b/scripts/bandtss/request_signature_oracle.sh @@ -2,9 +2,9 @@ export WALLET_NAME=requester export REQUEST_ID=1 -export ENCODE_TYPE=1 +export ENCODER=1 -bandd tx bandtss request-signature oracle-result $REQUEST_ID $ENCODE_TYPE \ +bandd tx bandtss request-signature oracle-result $REQUEST_ID $ENCODER \ --from requester --keyring-backend test \ --gas-prices 0.0025uband --fee-limit 100uband \ -b sync -y diff --git a/scripts/bandtss/start_cylinder.sh b/scripts/bandtss/start_cylinder.sh index ed68583e3..81254ede9 100755 --- a/scripts/bandtss/start_cylinder.sh +++ b/scripts/bandtss/start_cylinder.sh @@ -19,7 +19,7 @@ cylinder config chain-id bandchain --home $HOME_PATH cylinder config granter $(bandd keys show $KEY -a --keyring-backend test) --home $HOME_PATH # setup max-messages to cylinder config -cylinder config max-messages 10 --home $HOME_PATH +cylinder config max-messages 20 --home $HOME_PATH # setup broadcast-timeout to cylinder config cylinder config broadcast-timeout "5m" --home $HOME_PATH @@ -31,10 +31,10 @@ cylinder config rpc-poll-interval "1s" --home $HOME_PATH cylinder config max-try 5 --home $HOME_PATH # setup gas-prices to cylinder config -cylinder config gas-prices "0.0025uband" --home $HOME_PATH +cylinder config gas-prices "0uband" --home $HOME_PATH # setup min-de to cylinder config -cylinder config min-de 20 --home $HOME_PATH +cylinder config min-de 100 --home $HOME_PATH # setup gas-adjust-start to cylinder config cylinder config gas-adjust-start 1.6 --home $HOME_PATH @@ -46,9 +46,9 @@ cylinder config gas-adjust-step 0.2 --home $HOME_PATH cylinder config random-secret "$(openssl rand -hex 32)" --home $HOME_PATH # setup checking DE interval to cylinder config -cylinder config checking-de-interval "5m" --home $HOME_PATH +cylinder config checking-de-interval "1m" --home $HOME_PATH -for i in $(eval echo {1..2}) +for i in $(eval echo {1..4}) do # add signer key cylinder keys add signer$i --home $HOME_PATH @@ -60,7 +60,7 @@ bandd tx bank multi-send $KEY $(cylinder keys list -a --home $HOME_PATH) 1000000 # wait for sending band tokens transaction success sleep 6 -bandd tx tss add-grantees $(cylinder keys list -a --home $HOME_PATH) --gas-prices 0.0025uband --keyring-backend test --chain-id bandchain --gas 350000 --from $KEY -b sync -y +bandd tx tss add-grantees $(cylinder keys list -a --home $HOME_PATH) --gas-prices 0.0025uband --keyring-backend test --chain-id bandchain --gas 700000 --from $KEY -b sync -y sleep 6 diff --git a/x/bandtss/keeper/tss_callback.go b/x/bandtss/keeper/tss_callback.go index 18cb71abe..67dcf80fa 100644 --- a/x/bandtss/keeper/tss_callback.go +++ b/x/bandtss/keeper/tss_callback.go @@ -1,8 +1,13 @@ package keeper import ( + "fmt" + + errorsmod "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/bandprotocol/chain/v3/pkg/ctxcache" "github.com/bandprotocol/chain/v3/pkg/tss" "github.com/bandprotocol/chain/v3/x/bandtss/types" tsstypes "github.com/bandprotocol/chain/v3/x/tss/types" @@ -41,10 +46,23 @@ func (cb TSSCallback) OnGroupCreationCompleted(ctx sdk.Context, groupID tss.Grou transition.Status = types.TRANSITION_STATUS_WAITING_EXECUTION } else { - // create a signing request for transition. If the signing request is failed, set the - // transition status to fallen. - signingID, err := cb.k.CreateTransitionSigning(ctx, group.PubKey, transition.ExecTime) - if err != nil { + var signingID tss.SigningID + createSigningFunc := func(ctx sdk.Context) (err error) { + signingID, err = cb.k.CreateTransitionSigning(ctx, group.PubKey, transition.ExecTime) + return err + } + + // create a signing request for transition. If the signing request is failed, + // revert changes and set the transition status to fallen. + if err := ctxcache.ApplyFuncIfNoError(ctx, createSigningFunc); err != nil { + codespace, code, _ := errorsmod.ABCIInfo(err, false) + ctx.EventManager().EmitEvent(sdk.NewEvent( + types.EventTypeCreateSigningFailed, + sdk.NewAttribute(types.AttributeKeySigningErrReason, err.Error()), + sdk.NewAttribute(types.AttributeKeySigningErrCodespace, codespace), + sdk.NewAttribute(types.AttributeKeySigningErrCode, fmt.Sprintf("%d", code)), + )) + cb.k.EndGroupTransitionProcess(ctx, transition, false) return } diff --git a/x/bandtss/types/events.go b/x/bandtss/types/events.go index fbc6b101c..5ebafea01 100644 --- a/x/bandtss/types/events.go +++ b/x/bandtss/types/events.go @@ -7,6 +7,7 @@ const ( EventTypeGroupTransitionSuccess = "group_transition_success" EventTypeGroupTransitionFailed = "group_transition_failed" EventTypeSigningRequestCreated = "bandtss_signing_request_created" + EventTypeCreateSigningFailed = "create_signing_failed" AttributeKeyAddress = "address" AttributeKeySigningID = "bandtss_signing_id" @@ -21,4 +22,8 @@ const ( AttributeKeyCurrentGroupPubKey = "current_group_pub_key" AttributeKeyRandomAddress = "random_address" AttributeKeySignature = "signature" + + AttributeKeySigningErrReason = "signing_error_reason" + AttributeKeySigningErrCode = "signing_error_code" + AttributeKeySigningErrCodespace = "signing_error_codespace" ) diff --git a/x/feeds/keeper/grpc_query.go b/x/feeds/keeper/grpc_query.go index cafb8a1f0..c5e18f8a7 100644 --- a/x/feeds/keeper/grpc_query.go +++ b/x/feeds/keeper/grpc_query.go @@ -262,7 +262,7 @@ func (q queryServer) ValidatorPrices( for _, valPrice := range valPricesList.ValidatorPrices { if _, exists := signalIDSet[valPrice.SignalID]; exists && - valPrice.SignalPriceStatus != types.SignalPriceStatusUnspecified { + valPrice.SignalPriceStatus != types.SIGNAL_PRICE_STATUS_UNSPECIFIED { filteredPrices = append(filteredPrices, valPrice) } } diff --git a/x/feeds/keeper/grpc_query_test.go b/x/feeds/keeper/grpc_query_test.go index bf0b0f1ca..cefb7c3d6 100644 --- a/x/feeds/keeper/grpc_query_test.go +++ b/x/feeds/keeper/grpc_query_test.go @@ -66,7 +66,7 @@ func (suite *KeeperTestSuite) TestQueryPrice() { suite.Require().NoError(err) suite.Require().Equal(&types.QueryPriceResponse{ Price: types.Price{ - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, SignalID: "CS:ATOM-USD", Price: 0, Timestamp: 0, @@ -118,7 +118,7 @@ func (suite *KeeperTestSuite) TestQueryPrices() { expectedPrices: []types.Price{ { SignalID: "CS:NON-EXISTENT", - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, Price: 0, Timestamp: 0, }, @@ -138,7 +138,7 @@ func (suite *KeeperTestSuite) TestQueryPrices() { signalIDs: []string{"CS:BAND-USD", "CS:NON-EXISTENT"}, expectedPrices: []types.Price{ prices[0], - {SignalID: "CS:NON-EXISTENT", Status: types.PriceStatusNotInCurrentFeeds, Price: 0, Timestamp: 0}, + {SignalID: "CS:NON-EXISTENT", Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, Price: 0, Timestamp: 0}, }, }, { diff --git a/x/feeds/keeper/keeper_feeds_price_data_test.go b/x/feeds/keeper/keeper_feeds_price_data_test.go index 165d22054..92a9ea0c7 100644 --- a/x/feeds/keeper/keeper_feeds_price_data_test.go +++ b/x/feeds/keeper/keeper_feeds_price_data_test.go @@ -22,13 +22,13 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USD", Price: 1e10, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, { SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, encoder: types.ENCODER_FIXED_POINT_ABI, @@ -36,7 +36,7 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { Prices: []types.Price{ { Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:ATOM-USD", Price: 1e10, }, @@ -44,7 +44,7 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, Timestamp: uint64(suite.ctx.BlockTime().Unix()), @@ -59,13 +59,13 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USD", Price: 1e10, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, { SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, encoder: types.ENCODER_TICK_ABI, @@ -75,13 +75,13 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USD", Price: 285171, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, { SignalID: "CS:BAND-USD", Price: 285171, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, Timestamp: uint64(suite.ctx.BlockTime().Unix()), @@ -96,13 +96,13 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USD", Price: 0, Timestamp: 0, - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, }, { SignalID: "CS:BAND-USD", Price: 285171, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, encoder: types.ENCODER_FIXED_POINT_ABI, @@ -112,13 +112,13 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USD", Price: 0, Timestamp: 0, - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, }, { SignalID: "CS:BAND-USD", Price: 285171, Timestamp: suite.ctx.BlockTime().Unix(), - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, }, }, Timestamp: uint64(suite.ctx.BlockTime().Unix()), @@ -135,7 +135,7 @@ func (suite *KeeperTestSuite) TestGetFeedsPriceData() { SignalID: "CS:ATOM-USDfake", Price: 0, Timestamp: 0, - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, }, }, Timestamp: uint64(suite.ctx.BlockTime().Unix()), diff --git a/x/feeds/keeper/keeper_price.go b/x/feeds/keeper/keeper_price.go index e4afb644f..d9615b53e 100644 --- a/x/feeds/keeper/keeper_price.go +++ b/x/feeds/keeper/keeper_price.go @@ -50,7 +50,7 @@ func (k Keeper) GetPrice(ctx sdk.Context, signalID string) types.Price { if bz == nil { return types.Price{ SignalID: signalID, - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, Price: 0, Timestamp: 0, } @@ -155,7 +155,7 @@ func (k Keeper) CalculatePrices(ctx sdk.Context) error { valPricesMap := make(map[string]types.ValidatorPrice) for _, valPrice := range valPricesList.ValidatorPrices { - if valPrice.SignalPriceStatus != types.SignalPriceStatusUnspecified { + if valPrice.SignalPriceStatus != types.SIGNAL_PRICE_STATUS_UNSPECIFIED { valPricesMap[valPrice.SignalID] = valPrice } } @@ -239,7 +239,7 @@ func (k Keeper) CalculatePrice( // If more than half of the total have unsupported price status, it returns an unknown signal id price status. if unsupportedPower.MulRaw(2).GT(totalPower) { return types.NewPrice( - types.PriceStatusUnknownSignalID, + types.PRICE_STATUS_UNKNOWN_SIGNAL_ID, feed.SignalID, 0, ctx.BlockTime().Unix(), @@ -251,7 +251,7 @@ func (k Keeper) CalculatePrice( if totalPower.LT(powerQuorum) || availablePower.MulRaw(2).LT(totalPower) { // else, it returns an price not ready price status. return types.NewPrice( - types.PriceStatusNotReady, + types.PRICE_STATUS_NOT_READY, feed.SignalID, 0, ctx.BlockTime().Unix(), @@ -265,7 +265,7 @@ func (k Keeper) CalculatePrice( } return types.NewPrice( - types.PriceStatusAvailable, + types.PRICE_STATUS_AVAILABLE, feed.SignalID, price, ctx.BlockTime().Unix(), @@ -294,7 +294,7 @@ func CheckMissReport( lastTime = valInfo.Status.Since.Unix() + gracePeriod } - if valPrice.SignalPriceStatus != types.SignalPriceStatusUnspecified { + if valPrice.SignalPriceStatus != types.SIGNAL_PRICE_STATUS_UNSPECIFIED { if valPrice.Timestamp+feed.Interval > lastTime { lastTime = valPrice.Timestamp + feed.Interval } @@ -314,7 +314,7 @@ func checkHavePrice( valPrice types.ValidatorPrice, blockTime time.Time, ) bool { - if valPrice.SignalPriceStatus != types.SignalPriceStatusUnspecified && + if valPrice.SignalPriceStatus != types.SIGNAL_PRICE_STATUS_UNSPECIFIED && valPrice.Timestamp >= blockTime.Unix()-feed.Interval { return true } diff --git a/x/feeds/keeper/keeper_price_test.go b/x/feeds/keeper/keeper_price_test.go index bd5f6a3a5..085412d45 100644 --- a/x/feeds/keeper/keeper_price_test.go +++ b/x/feeds/keeper/keeper_price_test.go @@ -21,7 +21,7 @@ func (suite *KeeperTestSuite) TestGetSetDeletePrice() { // set expPrice := types.Price{ - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: ctx.BlockTime().Unix(), @@ -39,13 +39,13 @@ func (suite *KeeperTestSuite) TestGetSetDeletePrices() { // set expPrices := []types.Price{ { - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:ATOM-USD", Price: 1e10, Timestamp: ctx.BlockTime().Unix(), }, { - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: ctx.BlockTime().Unix(), @@ -64,7 +64,7 @@ func (suite *KeeperTestSuite) TestGetSetDeletePrices() { // get prices not in store should return price with status not in current feeds expPrices = append(expPrices, types.Price{ SignalID: "CS:ETH-USD", - Status: types.PriceStatusNotInCurrentFeeds, + Status: types.PRICE_STATUS_NOT_IN_CURRENT_FEEDS, Price: 0, Timestamp: 0, }) @@ -83,14 +83,14 @@ func (suite *KeeperTestSuite) TestGetSetValidatorPriceList() { // set expValPrices := []types.ValidatorPrice{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1e10, Timestamp: ctx.BlockTime().Unix(), BlockHeight: ctx.BlockHeight(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:ETH-USD", Price: 1e10 + 5, Timestamp: ctx.BlockTime().Unix(), @@ -143,7 +143,7 @@ func (suite *KeeperTestSuite) TestCalculatePrices() { // Set validator prices err := suite.feedsKeeper.SetValidatorPriceList(ctx, ValidValidator, []types.ValidatorPrice{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1000, Timestamp: ctx.BlockTime().Unix(), @@ -155,7 +155,7 @@ func (suite *KeeperTestSuite) TestCalculatePrices() { err = suite.feedsKeeper.SetValidatorPriceList(ctx, ValidValidator2, []types.ValidatorPrice{ { SignalID: "CS:BAND-USD", - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 2000, Timestamp: ctx.BlockTime().Unix(), BlockHeight: ctx.BlockHeight(), @@ -169,7 +169,7 @@ func (suite *KeeperTestSuite) TestCalculatePrices() { expectError: false, expectedPrices: []types.Price{ { - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1000, Timestamp: ctx.BlockTime().Unix(), @@ -244,19 +244,19 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { name: "more than half have unsupported price status", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(1000), Price: 1000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusUnsupported, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_UNSUPPORTED, Power: sdkmath.NewInt(2001), Price: 2000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(1000), Price: 2000, Timestamp: ctx.BlockTime().Unix(), @@ -264,7 +264,7 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { }, powerQuorum: sdkmath.NewInt(5000), expectedPrice: types.Price{ - Status: types.PriceStatusUnknownSignalID, + Status: types.PRICE_STATUS_UNKNOWN_SIGNAL_ID, SignalID: "CS:BAND-USD", Price: 0, Timestamp: ctx.BlockTime().Unix(), @@ -275,19 +275,19 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { name: "total power is less than quorum", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(100), Price: 1000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(100), Price: 2000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(100), Price: 2000, Timestamp: ctx.BlockTime().Unix(), @@ -295,7 +295,7 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { }, powerQuorum: sdkmath.NewInt(5000), expectedPrice: types.Price{ - Status: types.PriceStatusNotReady, + Status: types.PRICE_STATUS_NOT_READY, SignalID: "CS:BAND-USD", Price: 0, Timestamp: ctx.BlockTime().Unix(), @@ -306,19 +306,19 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { name: "normal case", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(5000), Price: 1000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(3000), Price: 2000, Timestamp: ctx.BlockTime().Unix(), }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Power: sdkmath.NewInt(3000), Price: 2000, Timestamp: ctx.BlockTime().Unix(), @@ -326,7 +326,7 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { }, powerQuorum: sdkmath.NewInt(7000), expectedPrice: types.Price{ - Status: types.PriceStatusAvailable, + Status: types.PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 1000, Timestamp: ctx.BlockTime().Unix(), @@ -338,7 +338,7 @@ func (suite *KeeperTestSuite) TestCalculatePrice() { validatorPriceInfos: []types.ValidatorPriceInfo{}, powerQuorum: sdkmath.NewInt(5000), expectedPrice: types.Price{ - Status: types.PriceStatusNotReady, + Status: types.PRICE_STATUS_NOT_READY, SignalID: "CS:BAND-USD", Price: 0, Timestamp: ctx.BlockTime().Unix(), @@ -382,7 +382,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1000, BlockHeight: 100, }, @@ -406,7 +406,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 300, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1000, BlockHeight: 300, }, @@ -430,7 +430,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1000, BlockHeight: 100, }, @@ -454,7 +454,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1000, BlockHeight: 100, }, @@ -478,7 +478,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1250, // Recent report BlockHeight: 330, }, @@ -502,7 +502,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1240, BlockHeight: 329, }, @@ -526,7 +526,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 1000, lastUpdateBlock: 100, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Timestamp: 1230, BlockHeight: 328, }, @@ -550,7 +550,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 0, lastUpdateBlock: 0, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusUnspecified, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_UNSPECIFIED, Timestamp: 0, BlockHeight: 0, }, @@ -574,7 +574,7 @@ func (suite *KeeperTestSuite) TestCheckMissReport() { lastUpdateTimestamp: 0, lastUpdateBlock: 0, valPrice: types.ValidatorPrice{ - SignalPriceStatus: types.SignalPriceStatusUnspecified, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_UNSPECIFIED, Timestamp: 0, BlockHeight: 0, }, diff --git a/x/feeds/keeper/msg_server.go b/x/feeds/keeper/msg_server.go index 82978d11e..805745d57 100644 --- a/x/feeds/keeper/msg_server.go +++ b/x/feeds/keeper/msg_server.go @@ -161,7 +161,7 @@ func (ms msgServer) SubmitSignalPrices( // check if price have been set and update too fast latestPrice := newValidatorPrices[idx] - if latestPrice.SignalPriceStatus != types.SignalPriceStatusUnspecified && + if latestPrice.SignalPriceStatus != types.SIGNAL_PRICE_STATUS_UNSPECIFIED && blockTime < latestPrice.Timestamp+cooldownTime { return nil, types.ErrPriceSubmitTooEarly } diff --git a/x/feeds/keeper/msg_server_test.go b/x/feeds/keeper/msg_server_test.go index d3cac6a93..c74b8ab59 100644 --- a/x/feeds/keeper/msg_server_test.go +++ b/x/feeds/keeper/msg_server_test.go @@ -176,7 +176,7 @@ func (suite *KeeperTestSuite) TestMsgSubmitSignalPrices() { Timestamp: suite.ctx.BlockTime().Unix(), SignalPrices: []types.SignalPrice{ { - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 10e12, }, @@ -192,7 +192,7 @@ func (suite *KeeperTestSuite) TestMsgSubmitSignalPrices() { Timestamp: suite.ctx.BlockTime().Unix(), SignalPrices: []types.SignalPrice{ { - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BTC-USD", Price: 10e12, }, @@ -208,7 +208,7 @@ func (suite *KeeperTestSuite) TestMsgSubmitSignalPrices() { Timestamp: suite.ctx.BlockTime().Unix() - 200, SignalPrices: []types.SignalPrice{ { - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 10e12, }, @@ -224,7 +224,7 @@ func (suite *KeeperTestSuite) TestMsgSubmitSignalPrices() { Timestamp: suite.ctx.BlockTime().Unix(), SignalPrices: []types.SignalPrice{ { - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 10e12, }, @@ -240,7 +240,7 @@ func (suite *KeeperTestSuite) TestMsgSubmitSignalPrices() { Timestamp: suite.ctx.BlockTime().Unix(), SignalPrices: []types.SignalPrice{ { - Status: types.SignalPriceStatusAvailable, + Status: types.SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BAND-USD", Price: 10e12, }, diff --git a/x/feeds/types/feeds.pb.go b/x/feeds/types/feeds.pb.go index c3af1a72e..0a4ca34f1 100644 --- a/x/feeds/types/feeds.pb.go +++ b/x/feeds/types/feeds.pb.go @@ -29,15 +29,15 @@ type PriceStatus int32 const ( // PRICE_STATUS_UNSPECIFIED is an unspecified price status. - PriceStatusUnspecified PriceStatus = 0 + PRICE_STATUS_UNSPECIFIED PriceStatus = 0 // PRICE_STATUS_UNKNOWN_SIGNAL_ID is an unknown signal id price status. - PriceStatusUnknownSignalID PriceStatus = 1 + PRICE_STATUS_UNKNOWN_SIGNAL_ID PriceStatus = 1 // PRICE_STATUS_NOT_READY is a not ready price status. - PriceStatusNotReady PriceStatus = 2 + PRICE_STATUS_NOT_READY PriceStatus = 2 // PRICE_STATUS_AVAILABLE is an available price status. - PriceStatusAvailable PriceStatus = 3 + PRICE_STATUS_AVAILABLE PriceStatus = 3 // PRICE_STATUS_NOT_IN_CURRENT_FEEDS is a not in current feed price status. - PriceStatusNotInCurrentFeeds PriceStatus = 4 + PRICE_STATUS_NOT_IN_CURRENT_FEEDS PriceStatus = 4 ) var PriceStatus_name = map[int32]string{ @@ -69,13 +69,13 @@ type SignalPriceStatus int32 const ( // SIGNAL_PRICE_STATUS_UNSPECIFIED is an unspecified signal price status. - SignalPriceStatusUnspecified SignalPriceStatus = 0 + SIGNAL_PRICE_STATUS_UNSPECIFIED SignalPriceStatus = 0 // SIGNAL_PRICE_STATUS_UNSUPPORTED is an unsupported signal price status. - SignalPriceStatusUnsupported SignalPriceStatus = 1 + SIGNAL_PRICE_STATUS_UNSUPPORTED SignalPriceStatus = 1 // SIGNAL_PRICE_STATUS_UNAVAILABLE is an unavailable signal price status. - SignalPriceStatusUnavailable SignalPriceStatus = 2 + SIGNAL_PRICE_STATUS_UNAVAILABLE SignalPriceStatus = 2 // SIGNAL_PRICE_STATUS_AVAILABLE is an available signal price status. - SignalPriceStatusAvailable SignalPriceStatus = 3 + SIGNAL_PRICE_STATUS_AVAILABLE SignalPriceStatus = 3 ) var SignalPriceStatus_name = map[int32]string{ @@ -557,7 +557,7 @@ func (m *Price) GetStatus() PriceStatus { if m != nil { return m.Status } - return PriceStatusUnspecified + return PRICE_STATUS_UNSPECIFIED } func (m *Price) GetSignalID() string { @@ -628,7 +628,7 @@ func (m *SignalPrice) GetStatus() SignalPriceStatus { if m != nil { return m.Status } - return SignalPriceStatusUnspecified + return SIGNAL_PRICE_STATUS_UNSPECIFIED } func (m *SignalPrice) GetSignalID() string { @@ -696,7 +696,7 @@ func (m *ValidatorPrice) GetSignalPriceStatus() SignalPriceStatus { if m != nil { return m.SignalPriceStatus } - return SignalPriceStatusUnspecified + return SIGNAL_PRICE_STATUS_UNSPECIFIED } func (m *ValidatorPrice) GetSignalID() string { @@ -956,81 +956,74 @@ func init() { func init() { proto.RegisterFile("band/feeds/v1beta1/feeds.proto", fileDescriptor_fc3afe81d3b13674) } var fileDescriptor_fc3afe81d3b13674 = []byte{ - // 1183 bytes of a gzipped FileDescriptorProto - 0x1f,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x29, 0x0b, 0x91, 0x95, 0xf8, 0x70, 0x94, 0x9e, 0xb3, 0x73, - 0xa6, 0xf9, 0xfd, 0xb7, 0xe3, 0xa4, 0xf4, 0x6e, 0x9c, 0x94, 0xfe, 0x18, 0x27, 0xa5, 0x6f, 0x4f, - 0x93, 0xa1, 0x77, 0xa7, 0xc9, 0xd0, 0xef, 0xa7, 0xc9, 0xd0, 0x57, 0x99, 0x36, 0xa6, 0x9d, 0x7e, - 0x23, 0xd3, 0x74, 0x8e, 0xb2, 0xde, 0xab, 0x63, 0x5f, 0xbf, 0x4d, 0xa7, 0x9b, 0x6d, 0x76, 0x4c, - 0x6c, 0x67, 0x07, 0x3b, 0xd9, 0x97, 0xe2, 0x53, 0x9b, 0x1e, 0xf7, 0x10, 0x69, 0xac, 0x31, 0xc0, - 0xce, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x80, 0x7f, 0xa3, 0x85, 0x0b, 0x00, 0x00, + // 1061 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x3d, 0x6f, 0x1b, 0x47, + 0x13, 0xe6, 0x51, 0xd4, 0x07, 0x47, 0x7a, 0x25, 0x6a, 0x25, 0xdb, 0x14, 0x6d, 0x93, 0x92, 0x5e, + 0x08, 0x90, 0x85, 0x98, 0x84, 0xe5, 0x04, 0x01, 0x84, 0x04, 0x01, 0x3f, 0x4e, 0xd1, 0xc1, 0x02, + 0x49, 0xdc, 0x91, 0x72, 0x3e, 0x8a, 0xc5, 0x91, 0xb7, 0x22, 0x17, 0xa1, 0xee, 0x88, 0xdb, 0x25, + 0x63, 0x77, 0x29, 0x5d, 0xa4, 0x08, 0x90, 0x3f, 0x60, 0x20, 0x48, 0x93, 0x34, 0x29, 0xf4, 0x13, + 0x52, 0xb8, 0x34, 0x5c, 0xa5, 0x12, 0x02, 0xaa, 0x49, 0x97, 0xbf, 0x10, 0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, 0xe4, 0xb7, 0xcb, 0x74, 0xe4, + 0x8b, 0x6c, 0x8b, 0xf2, 0x76, 0xaf, 0x91, 0x6d, 0x7a, 0x67, 0xb9, 0x60, 0x22, 0xc4, 0x2f, 0xb3, + 0xa6, 0xd7, 0xc9, 0x35, 0xdb, 0x36, 0x75, 0x73, 0xfd, 0xa7, 0xb9, 0x17, 0xea, 0x67, 0x20, 0x7f, + 0xd9, 0x25, 0xac, 0x31, 0x27, 0x04, 0x4f, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x43, 0x8f, 0xcd, + 0x78, 0x21, 0x0a, 0x00, 0x00, } func (this *Signal) Equal(that interface{}) bool { diff --git a/x/feeds/types/median.go b/x/feeds/types/median.go index dbe5d8f43..849385a5d 100644 --- a/x/feeds/types/median.go +++ b/x/feeds/types/median.go @@ -71,11 +71,11 @@ func CalculatePricesPowers( totalPower = totalPower.Add(priceInfo.Power) switch priceInfo.SignalPriceStatus { - case SignalPriceStatusAvailable: + case SIGNAL_PRICE_STATUS_AVAILABLE: availablePower = availablePower.Add(priceInfo.Power) - case SignalPriceStatusUnavailable: + case SIGNAL_PRICE_STATUS_UNAVAILABLE: unavailablePower = unavailablePower.Add(priceInfo.Power) - case SignalPriceStatusUnsupported: + case SIGNAL_PRICE_STATUS_UNSUPPORTED: unsupportedPower = unsupportedPower.Add(priceInfo.Power) } } @@ -111,7 +111,7 @@ func MedianValidatorPriceInfos(validatorPriceInfos []ValidatorPriceInfo) (uint64 var validPrices []ValidatorPriceInfo totalPower := sdkmath.NewInt(0) for _, priceInfo := range validatorPriceInfos { - if priceInfo.SignalPriceStatus == SignalPriceStatusAvailable { + if priceInfo.SignalPriceStatus == SIGNAL_PRICE_STATUS_AVAILABLE { validPrices = append(validPrices, priceInfo) totalPower = totalPower.Add(priceInfo.Power) } diff --git a/x/feeds/types/median_test.go b/x/feeds/types/median_test.go index c906294fd..11fb9911f 100644 --- a/x/feeds/types/median_test.go +++ b/x/feeds/types/median_test.go @@ -20,31 +20,31 @@ func TestMedianValidatorPriceInfo(t *testing.T) { name: "case 1", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 100, Power: sdkmath.NewInt(100), Timestamp: 100, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 103, Power: sdkmath.NewInt(100), Timestamp: 101, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 105, Power: sdkmath.NewInt(100), Timestamp: 102, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 107, Power: sdkmath.NewInt(100), Timestamp: 103, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 109, Power: sdkmath.NewInt(100), Timestamp: 104, @@ -56,31 +56,31 @@ func TestMedianValidatorPriceInfo(t *testing.T) { name: "case 2", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 100, Power: sdkmath.NewInt(100), Timestamp: 100, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 103, Power: sdkmath.NewInt(200), Timestamp: 101, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 105, Power: sdkmath.NewInt(300), Timestamp: 102, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 107, Power: sdkmath.NewInt(400), Timestamp: 103, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 109, Power: sdkmath.NewInt(500), Timestamp: 104, @@ -92,25 +92,25 @@ func TestMedianValidatorPriceInfo(t *testing.T) { name: "case 3", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 1000, Power: sdkmath.NewInt(5000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 2000, Power: sdkmath.NewInt(4000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 2000, Power: sdkmath.NewInt(4000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 2000, Power: sdkmath.NewInt(4000), Timestamp: 1716448424, @@ -122,25 +122,25 @@ func TestMedianValidatorPriceInfo(t *testing.T) { name: "case 4", validatorPriceInfos: []types.ValidatorPriceInfo{ { - SignalPriceStatus: types.SignalPriceStatusUnavailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_UNAVAILABLE, Price: 0, Power: sdkmath.NewInt(5000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusUnsupported, - Price: 2000, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_UNSUPPORTED, + Price: 0, Power: sdkmath.NewInt(4000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 1000, Power: sdkmath.NewInt(3000), Timestamp: 1716448424, }, { - SignalPriceStatus: types.SignalPriceStatusAvailable, + SignalPriceStatus: types.SIGNAL_PRICE_STATUS_AVAILABLE, Price: 3000, Power: sdkmath.NewInt(4000), Timestamp: 1716448424, diff --git a/x/feeds/types/msgs.go b/x/feeds/types/msgs.go index 415428847..87112b428 100644 --- a/x/feeds/types/msgs.go +++ b/x/feeds/types/msgs.go @@ -53,14 +53,14 @@ func (m *MsgSubmitSignalPrices) ValidateBasic() error { ) } - if signalPrice.Status == SignalPriceStatusUnspecified { + if signalPrice.Status == SIGNAL_PRICE_STATUS_UNSPECIFIED { return sdkerrors.ErrInvalidRequest.Wrap( "signal price status must be specified", ) } // if signal price is not available, price must be 0 - if signalPrice.Status != SignalPriceStatusAvailable && signalPrice.Price != 0 { + if signalPrice.Status != SIGNAL_PRICE_STATUS_AVAILABLE && signalPrice.Price != 0 { return sdkerrors.ErrInvalidRequest.Wrap( "signal price must be initial value if price status is unsupported or unavailable", ) diff --git a/x/feeds/types/msgs_test.go b/x/feeds/types/msgs_test.go index d8a8086da..570370590 100644 --- a/x/feeds/types/msgs_test.go +++ b/x/feeds/types/msgs_test.go @@ -27,7 +27,7 @@ var ( ValidTimestamp = int64(1234567890) ValidSignalPrices = []SignalPrice{ { - Status: SignalPriceStatusAvailable, + Status: SIGNAL_PRICE_STATUS_AVAILABLE, SignalID: "CS:BTC-USD", Price: 100000 * 10e9, }, diff --git a/x/feeds/types/params.go b/x/feeds/types/params.go index 5104c4393..fc5e5ef8b 100644 --- a/x/feeds/types/params.go +++ b/x/feeds/types/params.go @@ -20,7 +20,7 @@ var ( // estimated from block time of 1 seconds, aims for 1 day update DefaultCurrentFeedsUpdateInterval = int64(86400) DefaultPriceQuorum = math.LegacyNewDecWithPrec(30, 2) - DefaultMaxSignalIDsPerSigning = uint64(10) + DefaultMaxSignalIDsPerSigning = uint64(25) ) // NewParams creates a new Params instance diff --git a/x/feeds/types/query.pb.go b/x/feeds/types/query.pb.go index 1ab09afcc..dfd97528b 100644 --- a/x/feeds/types/query.pb.go +++ b/x/feeds/types/query.pb.go @@ -1089,81 +1089,80 @@ func init() { func init() { proto.RegisterFile("band/feeds/v1beta1/query.proto", fileDescriptor_39690037efa6f66f) } var fileDescriptor_39690037efa6f66f = []byte{ - // 1170 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x97, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xc7, 0xe3, 0xa5, 0xbb, 0x64, 0x1f, 0x81, 0x36, 0xd3, 0x0d, 0x4d, 0x9c, 0x64, 0x4b, 0xa6, - 0x69, 0x9a, 0x84, 0xd8, 0x4e, 0xb2, 0x2d, 0x20, 0x2e, 0xa8, 0x29, 0x2a, 0x14, 0x24, 0x5a, 0x36, - 0x08, 0x10, 0x12, 0x5a, 0x79, 0xbd, 0x13, 0xc7, 0xd2, 0xc6, 0xb3, 0xb5, 0xbd, 0x4b, 0xab, 0x28, - 0x42, 0x20, 0x81, 0xc4, 0x01, 0x09, 0xd4, 0x1b, 0x7f, 0x00, 0x07, 0xce, 0x85, 0xbf, 0xa1, 0xc7, - 0xaa, 0x5c, 0x38, 0x21, 0x94, 0x70, 0xe2, 0xaf, 0x40, 0x9e, 0x79, 0x76, 0xd6, 0x8e, 0xdd, 0x75, - 0x7f, 0x9c, 0x1a, 0xcf, 0x7c, 0xdf, 0x7b, 0x9f, 0x79, 0xf3, 0xe3, 0xbb, 0x85, 0x7a, 0xdb, 0x74, - 0x3b, 0xc6, 0x0e, 0x63, 0x1d, 0xdf, 0x18, 0x6c, 0xb4, 0x59, 0x60, 0x6e, 0x18, 0xb7, 0xfb, 0xcc, - 0xbb, 0xab, 0xf7, 0x3c, 0x1e, 0x70, 0x42, 0xc2, 0x79, 0x5d, 0xcc, 0xeb, 0x38, 0xaf, 0xd6, 0x6c, - 0x6e, 0x73, 0x31, 0x6d, 0x84, 0x7f, 0x49, 0xa5, 0x3a, 0x67, 0x73, 0x6e, 0x77, 0x99, 0x61, 0xf6, - 0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0x59, 0xcc, 0xaf, 0x77, 0x6c, 0x4d, 0xea, 0xc5, 0x11, 0xaa, 0x11, 0xdb, 0x2a, 0xfc, 0x2a, 0xc4, - 0x08, 0xff, 0x3d, 0x10, 0x9f, 0x5b, 0xef, 0x3f, 0x38, 0xac, 0x2b, 0x0f, 0x0f, 0xeb, 0xca, 0x3f, - 0x87, 0x75, 0xe5, 0xa7, 0xa3, 0xfa, 0xd8, 0xc3, 0xa3, 0xfa, 0xd8, 0x5f, 0x47, 0xf5, 0xb1, 0x2f, - 0x74, 0xdb, 0x09, 0x76, 0xfb, 0x6d, 0xdd, 0xe2, 0x7b, 0x46, 0x58, 0x56, 0xfc, 0x6f, 0xd3, 0xe2, - 0x5d, 0xc3, 0xda, 0x35, 0x1d, 0xd7, 0x18, 0x34, 0x8c, 0x3b, 0x98, 0x3f, 0xb8, 0xdb, 0x63, 0x7e, - 0xbb, 0x22, 0x04, 0x8d, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x00, 0x41, 0xc8, 0x80, 0x0f, - 0x00, 0x00, + // 1157 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x97, 0xdf, 0x6f, 0xdb, 0x54, + 0x14, 0xc7, 0xeb, 0xb0, 0x84, 0xe6, 0x50, 0xd8, 0x7a, 0x97, 0xb2, 0xd6, 0x6d, 0x33, 0x7a, 0xd7, + 0x75, 0x6d, 0x69, 0xec, 0xb6, 0xd9, 0x00, 0xf1, 0x82, 0xd6, 0xa1, 0xc1, 0x40, 0x62, 0x23, 0x45, + 0x80, 0x90, 0x50, 0xe4, 0x38, 0xb7, 0xae, 0xa5, 0xd4, 0x37, 0xf3, 0x75, 0xc2, 0xa6, 0xaa, 0x42, + 0x20, 0x81, 0xc4, 0x03, 0x12, 0x68, 0x6f, 0xfc, 0x01, 0x3c, 0xf0, 0x3c, 0xf8, 0x1b, 0xf6, 0x38, + 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d0, 0x04, + 0x6c, 0xca, 0xc0, 0x0c, 0x41, 0x5f, 0x89, 0xcf, 0x13, 0x62, 0x64, 0xa6, 0x4c, 0x9d, 0x6b, 0xba, + 0x99, 0x5b, 0x8f, 0x7c, 0x75, 0xc9, 0x57, 0x23, 0xaf, 0x27, 0xf8, 0x06, 0x37, 0x80, 0x88, 0xdd, + 0x06, 0xf2, 0x27, 0xf9, 0x4d, 0x83, 0xd3, 0x89, 0x21, 0x42, 0x46, 0x64, 0x3e, 0x31, 0xed, 0xf4, + 0xf5, 0xfc, 0x0e, 0xc8, 0x7a, 0x59, 0xb2, 0x1a, 0x64, 0x2d, 0x1f, 0x2b, 0xee, 0xdb, 0xaf, 0xe1, + 0x54, 0x38, 0x37, 0xc8, 0x62, 0x76, 0xbe, 0xe3, 0xd1, 0xa4, 0x5f, 0x1c, 0xa1, 0x1a, 0xb1, 0xac, + 0x72, 0x5e, 0x85, 0x18, 0xe1, 0xdf, 0x03, 0xf9, 0xb8, 0xf5, 0xfe, 0x83, 0xc3, 0xaa, 0xf6, 0xf0, + 0xb0, 0xaa, 0xfd, 0x73, 0x58, 0xd5, 0x7e, 0x3a, 0xaa, 0x8e, 0x3d, 0x3c, 0xaa, 0x8e, 0xfd, 0x75, + 0x54, 0x1d, 0xfb, 0xc2, 0x70, 0xdc, 0x60, 0xb7, 0xd7, 0x32, 0x6c, 0xbe, 0x67, 0x86, 0x69, 0xe5, + 0x7f, 0x9b, 0x36, 0xef, 0x98, 0xf6, 0xae, 0xe5, 0x7a, 0x66, 0xbf, 0x6e, 0xde, 0xc1, 0xf8, 0xc1, + 0xdd, 0x2e, 0x13, 0xad, 0x92, 0x14, 0xd4, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x75, 0x45, 0x1c, + 0x50, 0x80, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/feeds/types/query.pb.gw.go b/x/feeds/types/query.pb.gw.go index a46ea41c5..1f5f10154 100644 --- a/x/feeds/types/query.pb.gw.go +++ b/x/feeds/types/query.pb.gw.go @@ -1029,7 +1029,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_CurrentFeeds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "current-feeds"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_CurrentFeeds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "current_feeds"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_IsFeeder_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 2}, []string{"feeds", "v1beta1", "feeder", "validator"}, "", runtime.AssumeColonVerbOpt(false))) @@ -1039,11 +1039,11 @@ var ( pattern_Query_Prices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "prices"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllPrices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "all-prices"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllPrices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "all_prices"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ReferenceSourceConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "reference-source-config"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ReferenceSourceConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "reference_source_config"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_SignalTotalPowers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "signal-total-powers"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_SignalTotalPowers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"feeds", "v1beta1", "signal_total_powers"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_ValidValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"feeds", "v1beta1", "validators", "validator", "valid"}, "", runtime.AssumeColonVerbOpt(false))) diff --git a/x/feeds/types/signature_order.go b/x/feeds/types/signature_order.go index 03ba2b796..050fc0a0f 100644 --- a/x/feeds/types/signature_order.go +++ b/x/feeds/types/signature_order.go @@ -32,6 +32,16 @@ func (f *FeedsSignatureOrder) ValidateBasic() error { return ErrInvalidSignalIDs } + // Map to track signal IDs for duplicate check + signalIDs := make(map[string]struct{}) + + for _, id := range f.SignalIDs { + // Check for duplicate signal IDs + if _, exists := signalIDs[id]; exists { + return ErrDuplicateSignalID.Wrapf("duplicate signal ID found: %s", id) + } + } + if _, ok := Encoder_name[int32(f.Encoder)]; !ok { return ErrInvalidEncoder.Wrapf("invalid encoder: %s", f.Encoder) } diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go index d96c697b2..d97ecd5e9 100644 --- a/x/oracle/types/oracle.pb.go +++ b/x/oracle/types/oracle.pb.go @@ -74,11 +74,11 @@ type Encoder int32 const ( // ENCODER_UNSPECIFIED is for unspecified value ENCODER_UNSPECIFIED Encoder = 0 - // ENCODER_UNSPECIFIED is for proto encoding + // ENCODER_PROTO is for proto encoding ENCODER_PROTO Encoder = 1 - // ENCODER_UNSPECIFIED is for ABI encoding for full data + // ENCODER_FULL_ABI is for ABI encoding for full data ENCODER_FULL_ABI Encoder = 2 - // ENCODER_UNSPECIFIED is for ABI encoding for only important data + // ENCODER_PARTIAL_ABI is for ABI encoding for only important data ENCODER_PARTIAL_ABI Encoder = 3 ) @@ -1742,132 +1742,130 @@ func init() { func init() { proto.RegisterFile("band/oracle/v1/oracle.proto", fileDescriptor_9714783eaff1514b) } var fileDescriptor_9714783eaff1514b = []byte{ - // 1989 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xdf, 0x6f, 0x5b, 0x49, - 0xf5, 0xcf, 0xb5, 0x9d, 0xc4, 0x3e, 0x4e, 0x9c, 0x64, 0x9a, 0x6d, 0x5d, 0xb7, 0x1b, 0xfb, 0x1b, - 0xf5, 0x0b, 0xa5, 0x02, 0x7b, 0xd3, 0x45, 0x88, 0x16, 0x90, 0x88, 0x1d, 0x97, 0x35, 0x1b, 0x35, - 0xd6, 0x38, 0xa9, 0x10, 0x12, 0xba, 0x1a, 0xdf, 0x3b, 0x71, 0x86, 0xdc, 0x5f, 0xcc, 0x5c, 0x27, - 0xce, 0xbe, 0xf1, 0xb6, 0xea, 0x53, 0x9f, 0x91, 0x2a, 0xad, 0xb4, 0x6f, 0xbc, 0x22, 0xfe, 0x03, - 0x56, 0x2c, 0x4f, 0xec, 0x23, 0x12, 0x52, 0x16, 0xb9, 0x12, 0xe2, 0x1f, 0xe0, 0x05, 0x5e, 0xd0, - 0xfc, 0xb8, 0xfe, 0x55, 0xb3, 0xdd, 0xa6, 0x0b, 0x0f, 0x3c, 0xf9, 0x9e, 0xcf, 0x39, 0x33, 0x73, - 0x7e, 0xcf, 0x19, 0xc3, 0xad, 0x2e, 0x09, 0xdc, 0x5a, 0xc8, 0x89, 0xe3, 0xd1, 0xda, 0xd9, 0x8e, - 0xf9, 0xaa, 0x46, 0x3c, 0x8c, 0x43, 0x54, 0x90, 0xcc, 0xaa, 0x81, 0xce, 0x76, 0x4a, 0x9b, 0xbd, - 0xb0, 0x17, 0x2a, 0x56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x0e, - 0x9f, 0x2c, 0xc2, 0x72, 0xe2, 0xb8, 0xc7, 0xb0, 0xae, 0xab, 0xce, 0xd6, 0x01, 0x1d, 0xab, 0x71, - 0x67, 0x78, 0x59, 0x2e, 0x4c, 0x26, 0x8d, 0x52, 0x65, 0x06, 0xc1, 0x85, 0x70, 0x92, 0x9e, 0xf6, - 0x40, 0x6a, 0xda, 0x03, 0x68, 0x07, 0x36, 0xb9, 0x3e, 0x96, 0xba, 0xf6, 0x19, 0xf1, 0x98, 0x4b, - 0xe2, 0x90, 0x8b, 0x62, 0xba, 0x92, 0xbe, 0x9b, 0xc3, 0xd7, 0x46, 0xbc, 0x27, 0x23, 0x96, 0xb4, - 0xd0, 0x67, 0x81, 0xed, 0x84, 0xfd, 0x20, 0x56, 0xc9, 0x95, 0xc1, 0x59, 0x9f, 0x05, 0x0d, 0x49, - 0xa3, 0xff, 0x87, 0x82, 0x59, 0x63, 0x9f, 0x50, 0xd6, 0x3b, 0x89, 0x55, 0x92, 0xa5, 0xf1, 0xaa, - 0x41, 0xdf, 0x53, 0x20, 0xfa, 0x3f, 0x58, 0x49, 0xc4, 0x64, 0xbf, 0x50, 0x89, 0x96, 0xc6, 0x79, - 0x83, 0x1d, 0x32, 0x9f, 0xa2, 0x6f, 0x40, 0xce, 0xf1, 0x18, 0x0d, 0x94, 0xf9, 0xcb, 0x2a, 0x11, - 0x57, 0x86, 0x97, 0xe5, 0x6c, 0x43, 0x81, 0xad, 0x3d, 0x9c, 0xd5, 0xec, 0x96, 0x8b, 0x1a, 0xb0, - 0xc2, 0xc9, 0xb9, 0x6d, 0x56, 0x8b, 0x62, 0x56, 0x15, 0x6e, 0xa9, 0x3a, 0xdd, 0xc0, 0xaa, 0xe3, - 0xdc, 0xac, 0x67, 0x64, 0xe5, 0xe2, 0x3c, 0x1f, 0x21, 0x02, 0xbd, 0x0f, 0x79, 0xd6, 0x75, 0x6c, - 0xe7, 0x84, 0x04, 0x01, 0xf5, 0x8a, 0xb9, 0x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 0xd3, 0xcd, - 0xfa, 0xc2, 0x74, 0x9b, 0x57, 0x9f, 0xa9, 0xaf, 0xa8, 0x3e, 0x67, 0x3a, 0x94, 0x2c, 0x36, 0x22, - 0x4e, 0xa7, 0x8b, 0x8d, 0x88, 0x53, 0x5d, 0x6c, 0x53, 0x95, 0xb8, 0x38, 0x53, 0x89, 0x53, 0x91, - 0x5f, 0xfa, 0x0f, 0x46, 0x5e, 0x26, 0x7b, 0xc4, 0x69, 0x44, 0xb8, 0x4e, 0xf6, 0x65, 0x9d, 0xec, - 0x06, 0x92, 0xc9, 0x3e, 0x53, 0x0d, 0xd9, 0x57, 0x55, 0x43, 0xee, 0xca, 0xd5, 0x60, 0x02, 0x4d, - 0x61, 0x7b, 0x4e, 0x9c, 0x77, 0x9d, 0xd3, 0x20, 0x3c, 0xf7, 0xa8, 0xdb, 0xa3, 0x3e, 0x0d, 0x62, - 0xf4, 0x00, 0x20, 0x69, 0x42, 0xa3, 0x0e, 0x5b, 0x1a, 0x5e, 0x96, 0x73, 0x66, 0x95, 0x0a, 0xde, - 0x98, 0x18, 0x95, 0x55, 0xcb, 0x35, 0xc7, 0xfc, 0x3e, 0x05, 0xc5, 0xe4, 0x1c, 0x11, 0x85, 0x81, - 0xa0, 0x57, 0x4b, 0xa8, 0x69, 0x45, 0x52, 0xaf, 0xa1, 0x88, 0xca, 0x8f, 0x40, 0x98, 0x14, 0x48, - 0x9b, 0xfc, 0x08, 0x84, 0x4e, 0x81, 0xd9, 0x2e, 0x9b, 0x79, 0xb9, 0xcb, 0x2a, 0x11, 0x55, 0x65, - 0x5a, 0x64, 0x31, 0x11, 0x51, 0x98, 0x12, 0xd9, 0x93, 0x2d, 0x5d, 0x8b, 0x88, 0x98, 0xc4, 0x7d, - 0xa1, 0xba, 0x75, 0xe1, 0xfe, 0xdb, 0x2f, 0x15, 0xa0, 0x96, 0xea, 0x28, 0x21, 0xd9, 0xf1, 0x27, - 0x48, 0x39, 0x75, 0x70, 0x2a, 0xfa, 0x5e, 0xac, 0xf2, 0x63, 0x05, 0x1b, 0xca, 0x78, 0xf2, 0xcf, - 0x69, 0xd9, 0x36, 0x24, 0xf0, 0xbf, 0x57, 0x88, 0xd3, 0xd1, 0x5d, 0xba, 0x72, 0x74, 0x97, 0x5f, - 0x11, 0xdd, 0xec, 0xab, 0xa3, 0x9b, 0xfb, 0x32, 0xd1, 0x85, 0x37, 0x8a, 0x6e, 0x7e, 0x4e, 0x74, - 0xff, 0x60, 0xc1, 0x6a, 0x87, 0xf5, 0x02, 0x16, 0xf4, 0x4c, 0x90, 0x7f, 0x0e, 0x20, 0x34, 0x30, - 0x2e, 0xbd, 0xf7, 0xa5, 0x4f, 0x8c, 0x98, 0xf2, 0xc9, 0xc3, 0x89, 0x5e, 0x24, 0x95, 0x51, 0xef, - 0x05, 0x27, 0xf4, 0x6a, 0xce, 0x09, 0x61, 0x41, 0xed, 0xec, 0xdd, 0xda, 0x40, 0xe1, 0xb1, 0x10, - 0xa6, 0x33, 0x8d, 0x56, 0xe3, 0x9c, 0xd9, 0xbe, 0xe5, 0xa2, 0xaf, 0xc3, 0x1a, 0xe5, 0x3c, 0xe4, - 0x6a, 0x24, 0x13, 0x11, 0x71, 0x92, 0x61, 0xba, 0xa0, 0xe0, 0x46, 0x82, 0xa2, 0xb7, 0x01, 0xc6, - 0x82, 0xa6, 0x98, 0x72, 0x23, 0x19, 0x63, 0x4b, 0x04, 0x6b, 0xa3, 0x59, 0xc8, 0x18, 0x7f, 0x0b, - 0x72, 0x4c, 0xd8, 0xc4, 0x89, 0xd9, 0x19, 0x55, 0xb6, 0x64, 0x71, 0x96, 0x89, 0x5d, 0x45, 0xa3, - 0x87, 0xb0, 0x28, 0x58, 0x60, 0xce, 0x94, 0x03, 0x85, 0x7e, 0x2f, 0x55, 0x93, 0xf7, 0x52, 0xf5, - 0x30, 0x79, 0x2f, 0xd5, 0xb3, 0xb2, 0x07, 0x3f, 0xfb, 0xbc, 0x6c, 0x61, 0xbd, 0xc4,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0x24, 0xde, 0xfd, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, 0x62, 0xd0, - 0xbd, 0x40, 0x15, 0x00, 0x00, + // 1965 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xdb, 0x6f, 0x63, 0x47, + 0x19, 0xcf, 0xb1, 0x9d, 0xc4, 0xfe, 0xec, 0x38, 0xc9, 0x6c, 0xba, 0xf1, 0x7a, 0xb7, 0x71, 0x88, + 0x0a, 0x2c, 0x2b, 0xb0, 0xc9, 0x16, 0x21, 0x76, 0x01, 0x89, 0xf8, 0xb2, 0xd4, 0x34, 0xda, 0x58, + 0xe3, 0x64, 0x85, 0x90, 0xd0, 0xd1, 0xf8, 0x9c, 0x89, 0x33, 0xcd, 0xb9, 0x31, 0x73, 0x9c, 0x38, + 0x7d, 0xe3, 0xad, 0xea, 0xd3, 0x3e, 0x23, 0x55, 0xaa, 0xd4, 0x37, 0x5e, 0x11, 0xff, 0x01, 0x88, + 0xf2, 0x44, 0x1f, 0x91, 0x90, 0x52, 0xe4, 0x95, 0x10, 0xff, 0x00, 0x2f, 0xf0, 0x82, 0xe6, 0x72, + 0x7c, 0xab, 0xe9, 0x76, 0x77, 0x0b, 0x0f, 0x3c, 0xf9, 0x7c, 0x97, 0x99, 0xf9, 0x6e, 0xbf, 0x6f, + 0xbe, 0x31, 0xdc, 0xee, 0x91, 0xc0, 0xad, 0x85, 0x9c, 0x38, 0x1e, 0xad, 0x5d, 0xec, 0x9b, 0xaf, + 0x6a, 0xc4, 0xc3, 0x38, 0x44, 0x45, 0x29, 0xac, 0x1a, 0xd6, 0xc5, 0x7e, 0x79, 0xab, 0x1f, 0xf6, + 0x43, 0x25, 0xaa, 0xc9, 0x2f, 0xad, 0x55, 0xae, 0xf4, 0xc3, 0xb0, 0xef, 0xd1, 0x9a, 0xa2, 0x7a, + 0x83, 0xd3, 0x5a, 0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e, 0x9f, 0x79, 0x7e, 0x13, 0x56, 0x84, 0x73, + 0x46, 0x7d, 0x62, 0xfc, 0x36, 0x14, 0x7a, 0x00, 0xeb, 0x42, 0xe5, 0xc0, 0x76, 0x42, 0x97, 0xda, + 0x03, 0xee, 0x95, 0x56, 0xa4, 0x42, 0x7d, 0x73, 0x74, 0x5d, 0x59, 0xd3, 0xe9, 0x69, 0x84, 0x2e, + 0x3d, 0xc1, 0x87, 0x78, 0x4d, 0x4c, 0x48, 0xee, 0x19, 0x8f, 0x7e, 0x6b, 0x01, 0x60, 0x72, 0x89, + 0xe9, 0x2f, 0x06, 0x54, 0xc4, 0xe8, 0x87, 0x90, 0xa7, 0xc3, 0x98, 0xf2, 0x80, 0x78, 0x36, 0x73, + 0x95, 0x57, 0x99, 0xfa, 0x9d, 0xd1, 0x75, 0x05, 0x5a, 0x86, 0xdd, 0x6e, 0xfe, 0x73, 0x86, 0xc2, + 0x90, 0x2c, 0x68, 0xbb, 0xe8, 0x11, 0x14, 0x5d, 0x12, 0x13, 0xdb, 0xd8, 0xc4, 0x5c, 0x15, 0x82, + 0x4c, 0x7d, 0x77, 0x74, 0x5d, 0x29, 0x4c, 0x0a, 0x46, 0xed, 0x31, 0x43, 0xe3, 0x82, 0x3b, 0xa1, + 0x5c, 0x19, 0x0a, 0x87, 0x78, 0x9e, 0xe4, 0xa9, 0x48, 0x15, 0xf0, 0x98, 0x36, 0x76, 0xff, 0xd2, + 0x82, 0x9c, 0xb2, 0x3b, 0x0a, 0xf9, 0x2b, 0x9b, 0x7d, 0x1b, 0x72, 0x74, 0xc8, 0x62, 0x15, 0x43, + 0x65, 0xf1, 0x1a, 0xce, 0x4a, 0x86, 0x0c, 0x95, 0x4c, 0xe6, 0x94, 0x1d, 0x99, 0x29, 0x1b, 0x7e, + 0xbf, 0x0c, 0xab, 0x49, 0xe0, 0x1e, 0xc3, 0x86, 0x46, 0x9d, 0xad, 0x13, 0x3a, 0x31, 0xe3, 0x8d, + 0xd1, 0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0x11, 0xe7, + 0xb3, 0x60, 0x23, 0xe2, 0x5c, 0x83, 0x6d, 0x06, 0x89, 0xcb, 0x73, 0x48, 0x9c, 0xc9, 0xfc, 0xca, + 0x7f, 0x31, 0xf3, 0xb2, 0xd8, 0x23, 0x4e, 0x23, 0xc2, 0x75, 0xb1, 0xaf, 0xea, 0x62, 0x37, 0x2c, + 0x59, 0xec, 0x73, 0x68, 0xc8, 0x3e, 0x0f, 0x0d, 0xb9, 0x97, 0x46, 0x83, 0x49, 0x34, 0x85, 0xbd, + 0x05, 0x79, 0x3e, 0x70, 0xce, 0x83, 0xf0, 0xd2, 0xa3, 0x6e, 0x9f, 0xfa, 0x34, 0x88, 0xd1, 0x03, + 0x80, 0xa4, 0x09, 0x8d, 0x3b, 0x6c, 0x79, 0x74, 0x5d, 0xc9, 0x99, 0x55, 0x2a, 0x79, 0x13, 0x62, + 0x0c, 0xab, 0xb6, 0x6b, 0x8e, 0xf9, 0x43, 0x0a, 0x4a, 0xc9, 0x39, 0x22, 0x0a, 0x03, 0x41, 0x5f, + 0xae, 0xa0, 0x66, 0x0d, 0x49, 0xbd, 0x80, 0x21, 0xaa, 0x3e, 0x02, 0x61, 0x4a, 0x20, 0x6d, 0xea, + 0x23, 0x10, 0xba, 0x04, 0xe6, 0xbb, 0x6c, 0xe6, 0xb3, 0x5d, 0x56, 0xa9, 0x28, 0x94, 0x69, 0x95, + 0xe5, 0x44, 0x45, 0xf1, 0x94, 0x4a, 0x53, 0xb6, 0x74, 0xad, 0x22, 0x62, 0x12, 0x0f, 0x84, 0xea, + 0xd6, 0xc5, 0xfb, 0xaf, 0x7f, 0x06, 0x80, 0x5a, 0xab, 0xab, 0x94, 0x64, 0xc7, 0x9f, 0x22, 0xe5, + 0xd4, 0xc1, 0xa9, 0x18, 0x78, 0xb1, 0xaa, 0x8f, 0x02, 0x36, 0x94, 0x89, 0xe4, 0x5f, 0xd2, 0xb2, + 0x6d, 0x48, 0xc6, 0xff, 0x1f, 0x10, 0x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 0xc7, 0xee, 0x9e, 0x34, 0x1a, 0xad, + 0x6e, 0x77, 0xc3, 0x2a, 0x97, 0xdf, 0xff, 0x60, 0xf7, 0x3f, 0x48, 0x17, 0xac, 0x7b, 0x74, 0xd0, + 0x3e, 0x3c, 0xc1, 0xad, 0x8d, 0xd4, 0xc2, 0x75, 0x46, 0xba, 0x60, 0x5d, 0xeb, 0xa7, 0x9d, 0x36, + 0x6e, 0x35, 0x37, 0xd2, 0x0b, 0xd7, 0x19, 0x69, 0x39, 0xf3, 0xde, 0x47, 0x3b, 0x4b, 0xf7, 0xde, + 0x81, 0xd5, 0xe4, 0xad, 0xb9, 0x0d, 0x37, 0x5a, 0x8f, 0x1b, 0x47, 0xcd, 0x16, 0x9e, 0x75, 0x15, + 0x6d, 0xc2, 0x5a, 0x22, 0xe8, 0xe0, 0xa3, 0xe3, 0xa3, 0x0d, 0x0b, 0x6d, 0xc1, 0x46, 0xc2, 0x7a, + 0x74, 0x72, 0x78, 0x68, 0x1f, 0xd4, 0xdb, 0x1b, 0xa9, 0xe9, 0x1d, 0x3a, 0x07, 0xf8, 0xb8, 0x7d, + 0xa0, 0x05, 0x69, 0x7d, 0x56, 0xbd, 0xfd, 0xf1, 0x68, 0xc7, 0xfa, 0x64, 0xb4, 0x63, 0xfd, 0x75, + 0xb4, 0x63, 0x3d, 0x7d, 0xb6, 0xb3, 0xf4, 0xc9, 0xb3, 0x9d, 0xa5, 0x3f, 0x3f, 0xdb, 0x59, 0xfa, + 0x59, 0xed, 0x0b, 0x0c, 0x03, 0xe6, 0x8f, 0x4c, 0x35, 0x0b, 0xf4, 0x56, 0x94, 0xc6, 0x9b, 0xff, + 0x0e, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x11, 0x4d, 0x45, 0xe4, 0x14, 0x00, 0x00, } func (this *DataSource) Equal(that interface{}) bool { diff --git a/x/tss/keeper/msg_server_test.go b/x/tss/keeper/msg_server_test.go index 21f31094c..67a604939 100644 --- a/x/tss/keeper/msg_server_test.go +++ b/x/tss/keeper/msg_server_test.go @@ -433,7 +433,7 @@ func (s *KeeperTestSuite) TestFailedSubmitDEsReq() { "failure with number of DE more than max", func() { var deList []types.DE - for i := 0; i < 101; i++ { + for i := 0; i < int(types.DefaultMaxDESize)+1; i++ { deList = append(deList, types.DE{ PubD: []byte{uint8(i)}, PubE: []byte{uint8(i)}, diff --git a/x/tss/types/params.go b/x/tss/types/params.go index 8294e945d..91351fe75 100644 --- a/x/tss/types/params.go +++ b/x/tss/types/params.go @@ -6,12 +6,12 @@ import ( const ( DefaultMaxGroupSize = uint64(20) - DefaultMaxDESize = uint64(100) + DefaultMaxDESize = uint64(300) DefaultCreationPeriod = uint64(30000) DefaultSigningPeriod = uint64(100) DefaultMaxSigningAttempt = uint64(5) DefaultMaxMemoLength = uint64(100) - DefaultMaxMessageLength = uint64(300) + DefaultMaxMessageLength = uint64(1000) ) // NewParams creates a new Params instance