satoru icon indicating copy to clipboard operation
satoru copied to clipboard

bug: Update order limit error

Open 0xted97 opened this issue 11 months ago • 1 comments

Bug Report

Satoru version:

6ebc1a4

Current behavior: OrderNotUpdatable error when try update order limit

Expected behavior:

OrderNotUpdatable error when try update order market

Steps to reproduce:

const updateOrderCalldata: Call[] = [
        {
            contractAddress: contractAddresses.OrderHandler,
            entrypoint: "update_order",
            calldata: [
                key,
                size_delta_usd,
                acceptable_price,
                trigger_price,
                min_output_amount,
                order
            ]
        }
    ];
const account = new Account(provider, senderAddress, privateKey);
const tx = await account.execute(updateOrderCalldata);

Related code:

image

Other information:

0xted97 avatar Mar 13 '24 10:03 0xted97

assign me this wiil want to work on this

ebukizy1 avatar Apr 09 '24 00:04 ebukizy1