Skip to content

[R4R] Dropfillorder bug fix#495

Merged
cryptom-dev merged 5 commits intodevelopfrom
dropfillorder
Mar 20, 2019
Merged

[R4R] Dropfillorder bug fix#495
cryptom-dev merged 5 commits intodevelopfrom
dropfillorder

Conversation

@cryptom-dev
Copy link
Contributor

@cryptom-dev cryptom-dev commented Mar 12, 2019

Should be merged after

#502

Description

Fully fill order might not be correctly removed in orderbook when two continuous orders fully filled.
Caused by slice deletion nest.

Rationale

tell us why we need these changes...

Example

N/A

Changes

fix nest deletion bug
make expire logic more defensive

Preflight checks

  • build passed (make build)
  • tests passed (make test)
  • integration tests passed (make integration_test)
  • manual transaction test passed (cli invoke)

Already reviewed by

...

Related issues

... reference related issue #'s here ...

@cryptom-dev cryptom-dev added the bug Something isn't working label Mar 12, 2019
@cryptom-dev cryptom-dev self-assigned this Mar 12, 2019
@cryptom-dev cryptom-dev changed the title Dropfillorder bug fix [WIP] Dropfillorder bug fix Mar 12, 2019
return nil
}

//!!!!!!!!!!!!!!!!!!!! DELETE BEFORE MERGE
Copy link
Contributor Author

@cryptom-dev cryptom-dev Mar 12, 2019

Choose a reason for hiding this comment

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

my fault forgot delete :(

@darren-liu
Copy link
Contributor

I am pretty much ok with the change. We need to upgrade QA first and went through a breathe block to ensure this would not any problem, as we clean up potentially many orders in the memory.

@cryptom-dev
Copy link
Contributor Author

I am pretty much ok with the change. We need to upgrade QA first and went through a breathe block to ensure this would not any problem, as we clean up potentially many orders in the memory.

deployed to QA, new drop logic will take effect after height 195000

@cryptom-dev cryptom-dev changed the title [WIP] Dropfillorder bug fix [R4R] Dropfillorder bug fix Mar 19, 2019
@cryptom-dev cryptom-dev changed the base branch from develop to master March 19, 2019 02:53
@rickyyangz rickyyangz changed the base branch from master to develop March 19, 2019 07:19
rickyyangz
rickyyangz previously approved these changes Mar 20, 2019
# Conflicts:
#	Gopkg.lock
#	Gopkg.toml
#	common/upgrade/upgrade.go
#	plugins/dex/matcheng/engine.go
@cryptom-dev cryptom-dev changed the base branch from develop to master March 20, 2019 07:00
@cryptom-dev cryptom-dev changed the base branch from master to develop March 20, 2019 07:00
@cryptom-dev cryptom-dev merged commit bd7fe45 into develop Mar 20, 2019
@unclezoro unclezoro deleted the dropfillorder branch May 10, 2022 06:09
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 this pull request may close these issues.

3 participants