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

offchain worker settles CDP after emergency shutdown happened #128

Merged
merged 5 commits into from
Mar 2, 2020

Conversation

wangjj9219
Copy link
Member

related to #126

now, offchain woker in cdp module will automatically settle all collaterals type CDPs which have debit after after emergency shutdown happend.

@wangjj9219 wangjj9219 marked this pull request as ready for review March 2, 2020 05:57
@wangjj9219 wangjj9219 changed the title offchain worker settles CDP after emergency shutdown happend offchain worker settles CDP after emergency shutdown happened Mar 2, 2020
Copy link
Member

@xlc xlc left a comment

Choose a reason for hiding this comment

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

can you make normal case logging DEBUG level and error case WARN level?

modules/cdp_engine/src/lib.rs Outdated Show resolved Hide resolved
modules/cdp_engine/src/lib.rs Outdated Show resolved Hide resolved
@wangjj9219 wangjj9219 merged commit 309818b into master Mar 2, 2020
@wangjj9219 wangjj9219 deleted the update-offchain-worker branch March 2, 2020 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants