We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e0150 commit ec6a412Copy full SHA for ec6a412
crates/apollo_gateway/src/stateless_transaction_validator.rs
@@ -41,6 +41,7 @@ impl StatelessTransactionValidator {
41
self.validate_tx_size(tx)?;
42
self.validate_nonce_data_availability_mode(tx)?;
43
self.validate_fee_data_availability_mode(tx)?;
44
+ self.validate_proof(tx)?;
45
46
if let RpcTransaction::Declare(declare_tx) = tx {
47
self.validate_declare_tx(declare_tx)?;
@@ -218,6 +219,11 @@ impl StatelessTransactionValidator {
218
219
Ok(())
220
}
221
222
+ fn validate_proof(&self, _: &RpcTransaction) -> StatelessTransactionValidatorResult<()> {
223
+ // TODO(Einat): Implement proof validation.
224
+ Ok(())
225
+ }
226
+
227
fn validate_declare_tx(
228
&self,
229
declare_tx: &RpcDeclareTransaction,
0 commit comments