Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Jan 9, 2025
1 parent 2c39043 commit 94787ed
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
12 changes: 12 additions & 0 deletions tauri-app/src-tauri/src/commands/authoring_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down
4 changes: 4 additions & 0 deletions tauri-app/src-tauri/src/commands/order_quote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tauri-app/src-tauri/src/commands/trade_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tauri-app/src-tauri/src/commands/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94787ed

Please sign in to comment.