Skip to content
New issue

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

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

Already on GitHub? # to your account

Feat/add price to limit order #472

Merged
merged 25 commits into from
May 31, 2024
Merged

Feat/add price to limit order #472

merged 25 commits into from
May 31, 2024

Conversation

jcompagni10
Copy link
Contributor

@jcompagni10 jcompagni10 commented Mar 27, 2024

Allow limit orders to be placed by specifying a price instead of a tick
Tests still breaking because of pending rounding changes.

neutron-sdk changes: neutron-org/neutron-sdk#143
integration-test changes: neutron-org/neutron-integration-tests#294

@jcompagni10 jcompagni10 force-pushed the feat/add_price_to_lo branch from c914180 to 75f62ad Compare April 12, 2024 22:03
@jcompagni10 jcompagni10 marked this pull request as ready for review April 12, 2024 22:03
@pr0n00gler pr0n00gler changed the base branch from main to feat/sdk-50 April 25, 2024 15:54
x/dex/types/price.go Show resolved Hide resolved
x/dex/keeper/msg_server.go Outdated Show resolved Hide resolved
proto/neutron/dex/tx.proto Outdated Show resolved Hide resolved
@pr0n00gler
Copy link
Collaborator

there are a couple of conflicts 🙈

proto/neutron/dex/tx.proto Outdated Show resolved Hide resolved
swelf19
swelf19 previously approved these changes May 8, 2024
x/dex/utils/math.go Outdated Show resolved Hide resolved
x/dex/types/price.go Outdated Show resolved Hide resolved
x/dex/types/price_test.go Show resolved Hide resolved
x/dex/client/cli/tx_place_limit_order.go Outdated Show resolved Hide resolved
x/dex/types/message_place_limit_order_test.go Outdated Show resolved Hide resolved
x/dex/types/message_place_limit_order_test.go Outdated Show resolved Hide resolved
x/dex/types/message_place_limit_order_test.go Outdated Show resolved Hide resolved
wasmbinding/bindings/msg.go Outdated Show resolved Hide resolved
@swelf19 swelf19 dismissed their stale review May 8, 2024 17:49

set approve by mistake

@jcompagni10 jcompagni10 force-pushed the feat/add_price_to_lo branch from c0bcd99 to a0f03c2 Compare May 8, 2024 22:41
x/dex/utils/math.go Outdated Show resolved Hide resolved
x/dex/utils/math_test.go Outdated Show resolved Hide resolved
wasmbinding/message_plugin.go Outdated Show resolved Hide resolved
x/dex/keeper/msg_server.go Outdated Show resolved Hide resolved
x/dex/types/errors.go Outdated Show resolved Hide resolved
x/dex/types/price.go Outdated Show resolved Hide resolved
x/dex/types/price.go Show resolved Hide resolved
x/dex/utils/math_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@sotnikov-s sotnikov-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. please resolve conflicts and it seems to be good to go

@jcompagni10
Copy link
Contributor Author

jcompagni10 commented May 24, 2024

@pr0n00gler
Copy link
Collaborator

pr0n00gler commented May 27, 2024

Integration tests are not passing due to some linter error in dev-contracts, please fix them

Copy link
Contributor

@sotnikov-s sotnikov-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please attach a successful test run

@jcompagni10
Copy link
Contributor Author

@jcompagni10
Copy link
Contributor Author

@pr0n00gler pr0n00gler merged commit 4609520 into feat/sdk-50 May 31, 2024
9 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants