Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/migrations/032-order-book-actions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ CREATE OR REPLACE ACTION match_direct(
AND amount > $match_amount;

-- Recursively call to match next orders
match_direct($query_id, $outcome, $price);
match_direct($query_id, $outcome, $price, $bridge);
};

-- =============================================================================
Expand Down Expand Up @@ -708,7 +708,7 @@ CREATE OR REPLACE ACTION match_mint(
AND amount > $mint_amount;

-- Recursively match next orders
match_mint($query_id, $yes_price, $no_price);
match_mint($query_id, $yes_price, $no_price, $bridge);
};

-- =============================================================================
Expand Down Expand Up @@ -876,7 +876,7 @@ CREATE OR REPLACE ACTION match_burn(
AND amount > $burn_amount;

-- Recursively match next orders
match_burn($query_id, $yes_price, $no_price);
match_burn($query_id, $yes_price, $no_price, $bridge);
};

-- =============================================================================
Expand Down
2 changes: 1 addition & 1 deletion tests/streams/order_book/queries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ func createTestMarketQueries(t *testing.T, ctx context.Context, platform *kwilTe

var queryID int64
err := callActionQueries(ctx, platform, signer, "create_market",
[]any{testExtensionName, queryHash[:], settleTime, int64(5), int64(20)},
[]any{testExtensionNameQueries, queryHash[:], settleTime, int64(5), int64(20)},
func(row *common.Row) error {
queryID = row.Values[0].(int64)
return nil
Expand Down
Loading