satoru
satoru copied to clipboard
bug: Update order limit error
Bug Report
Satoru version:
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:
Other information:
assign me this wiil want to work on this