From 94787ed96025bd37d2312a5e8c6724d5f250d07b Mon Sep 17 00:00:00 2001 From: findolor Date: Thu, 9 Jan 2025 11:12:25 +0300 Subject: [PATCH] fix tests --- tauri-app/src-tauri/src/commands/authoring_meta.rs | 12 ++++++++++++ tauri-app/src-tauri/src/commands/order_quote.rs | 4 ++++ tauri-app/src-tauri/src/commands/trade_debug.rs | 4 ++++ tauri-app/src-tauri/src/commands/vault.rs | 4 ---- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/tauri-app/src-tauri/src/commands/authoring_meta.rs b/tauri-app/src-tauri/src/commands/authoring_meta.rs index 7407c6c32..68f129074 100644 --- a/tauri-app/src-tauri/src/commands/authoring_meta.rs +++ b/tauri-app/src-tauri/src/commands/authoring_meta.rs @@ -51,9 +51,13 @@ deployers: address: {deployer} scenarios: sepolia: + deployer: sepolia + bindings: + key: 10 metaboards: sepolia: {metaboard_url} --- +#key !Test binding #calculate-io using-words-from {pragma} _: order-hash(), @@ -119,9 +123,13 @@ _ _: 0 0; address: {deployer} scenarios: sepolia: + deployer: sepolia + bindings: + key: 10 metaboards: sepolia: {metaboard_url} --- + #key !Test binding #calculate-io using-words-from {pragma} _: order-hash(), @@ -236,9 +244,13 @@ _ _: 0 0; address: {deployer} scenarios: sepolia: + deployer: sepolia + bindings: + key: 10 metaboards: sepolia: {metaboard_url} --- + #key !Test binding #calculate-io using-words-from {pragma} _: order-hash(), diff --git a/tauri-app/src-tauri/src/commands/order_quote.rs b/tauri-app/src-tauri/src/commands/order_quote.rs index e8b187515..c29438c0b 100644 --- a/tauri-app/src-tauri/src/commands/order_quote.rs +++ b/tauri-app/src-tauri/src/commands/order_quote.rs @@ -110,11 +110,15 @@ orders: vault-id: 0x01 scenarios: some-key: + deployer: some-key + bindings: + key: 10 deployments: some-key: scenario: some-key order: some-key --- +#key !Test binding #calculate-io amount price: 16 52; #handle-add-order diff --git a/tauri-app/src-tauri/src/commands/trade_debug.rs b/tauri-app/src-tauri/src/commands/trade_debug.rs index 4c6681e44..b6c61820d 100644 --- a/tauri-app/src-tauri/src/commands/trade_debug.rs +++ b/tauri-app/src-tauri/src/commands/trade_debug.rs @@ -93,11 +93,15 @@ orders: vault-id: 0x01 scenarios: some-key: + deployer: some-key + bindings: + key: 10 deployments: some-key: scenario: some-key order: some-key --- +#key !Test binding #calculate-io amount price: 7 4; #handle-add-order diff --git a/tauri-app/src-tauri/src/commands/vault.rs b/tauri-app/src-tauri/src/commands/vault.rs index 399ea933f..ec92dd259 100644 --- a/tauri-app/src-tauri/src/commands/vault.rs +++ b/tauri-app/src-tauri/src/commands/vault.rs @@ -10,10 +10,6 @@ use rain_orderbook_common::{ types::{FlattenError, TokenVaultFlattened, VaultBalanceChangeFlattened}, withdraw::WithdrawArgs, }; -use rain_orderbook_subgraph_client::PaginationArgs; -use rain_orderbook_subgraph_client::{ - types::common::*, MultiOrderbookSubgraphClient, MultiSubgraphArgs, -}; use std::fs; use std::path::PathBuf; use tauri::AppHandle;