Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Update order limit error #626

Open
0xted97 opened this issue Mar 13, 2024 · 1 comment · May be fixed by #627
Open

bug: Update order limit error #626

0xted97 opened this issue Mar 13, 2024 · 1 comment · May be fixed by #627
Labels
bug Something isn't working

Comments

@0xted97
Copy link

0xted97 commented Mar 13, 2024

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 0xted97 added the bug Something isn't working label Mar 13, 2024
@0xted97 0xted97 linked a pull request Mar 13, 2024 that will close this issue
@ebukizy1
Copy link

ebukizy1 commented Apr 9, 2024

assign me this wiil want to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants