diff --git a/common/proto/ecb.proto b/common/proto/ecb.proto index 007e49f..e388e66 100644 --- a/common/proto/ecb.proto +++ b/common/proto/ecb.proto @@ -83,22 +83,25 @@ message ListEcbConversionEvidenceRequest { // One immutable explanation of how a posted EUR value was determined. message EcbConversionEvidence { int64 evidence_id = 1; - string original_amount = 2; - string original_currency = 3; - string eur_amount = 4; - string conversion_context = 5; - string anchor_date = 6; - string determination_method = 7; - string rounding_method = 8; - optional string rate_date = 9; - optional string units_per_eur = 10; - optional int64 rate_observation_id = 11; - optional string observation_hash = 12; - optional string source_payload_hash = 13; - optional string rate_fetched_at = 14; - optional int64 import_batch_id = 15; - optional string source_endpoint = 16; - string evidence_created_at = 17; + + // Exact committed version of the target dynamic-table row. + int64 row_revision = 2; + string original_amount = 3; + string original_currency = 4; + string eur_amount = 5; + string conversion_context = 6; + string anchor_date = 7; + string determination_method = 8; + string rounding_method = 9; + optional string rate_date = 10; + optional string units_per_eur = 11; + optional int64 rate_observation_id = 12; + optional string observation_hash = 13; + optional string source_payload_hash = 14; + optional string rate_fetched_at = 15; + optional int64 import_batch_id = 16; + optional string source_endpoint = 17; + string evidence_created_at = 18; } message ListEcbConversionEvidenceResponse { diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 13766f4..39ec23c 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.ecb.rs b/common/src/proto/komp_ac.ecb.rs index 11e2913..0f485a3 100644 --- a/common/src/proto/komp_ac.ecb.rs +++ b/common/src/proto/komp_ac.ecb.rs @@ -77,37 +77,40 @@ pub struct ListEcbConversionEvidenceRequest { pub struct EcbConversionEvidence { #[prost(int64, tag = "1")] pub evidence_id: i64, - #[prost(string, tag = "2")] - pub original_amount: ::prost::alloc::string::String, + /// Exact committed version of the target dynamic-table row. + #[prost(int64, tag = "2")] + pub row_revision: i64, #[prost(string, tag = "3")] - pub original_currency: ::prost::alloc::string::String, + pub original_amount: ::prost::alloc::string::String, #[prost(string, tag = "4")] - pub eur_amount: ::prost::alloc::string::String, + pub original_currency: ::prost::alloc::string::String, #[prost(string, tag = "5")] - pub conversion_context: ::prost::alloc::string::String, + pub eur_amount: ::prost::alloc::string::String, #[prost(string, tag = "6")] - pub anchor_date: ::prost::alloc::string::String, + pub conversion_context: ::prost::alloc::string::String, #[prost(string, tag = "7")] - pub determination_method: ::prost::alloc::string::String, + pub anchor_date: ::prost::alloc::string::String, #[prost(string, tag = "8")] + pub determination_method: ::prost::alloc::string::String, + #[prost(string, tag = "9")] pub rounding_method: ::prost::alloc::string::String, - #[prost(string, optional, tag = "9")] - pub rate_date: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "10")] + pub rate_date: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "11")] pub units_per_eur: ::core::option::Option<::prost::alloc::string::String>, - #[prost(int64, optional, tag = "11")] + #[prost(int64, optional, tag = "12")] pub rate_observation_id: ::core::option::Option, - #[prost(string, optional, tag = "12")] - pub observation_hash: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "13")] - pub source_payload_hash: ::core::option::Option<::prost::alloc::string::String>, + pub observation_hash: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "14")] + pub source_payload_hash: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag = "15")] pub rate_fetched_at: ::core::option::Option<::prost::alloc::string::String>, - #[prost(int64, optional, tag = "15")] + #[prost(int64, optional, tag = "16")] pub import_batch_id: ::core::option::Option, - #[prost(string, optional, tag = "16")] + #[prost(string, optional, tag = "17")] pub source_endpoint: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag = "17")] + #[prost(string, tag = "18")] pub evidence_created_at: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/server b/server index b0c7082..23f5fee 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit b0c708244bec8d9673e1159e1051ae21447b860a +Subproject commit 23f5feeaa175f5b9b77c95a1ed503b39d86d2df9