-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: implement auto refund #40
Conversation
add handle error native receive
…test-reply-native-receive
dang/add test auto refund
dang/Add query lists
feat: change type sudo msg to enum
dang/add test query
feat: tmp add ClockEndBlock for execute msg
dang/add refund attributes
@@ -170,6 +174,9 @@ pub fn execute( | |||
ExecuteMsg::WithdrawAsset { coin, receiver } => { | |||
execute_withdraw_asset(deps, info, coin, receiver) | |||
} | |||
// TODO: this msg for test only | |||
// need to remove after testing is done | |||
ExecuteMsg::ClockEndBlock { hash } => handle_clock_end_block_sudo(deps, hash), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anh check lại cái này nha, có cần remove không ạ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chỗ này thì anh có trao đổi với Đức rùi, ý kiến của Đức là mình refund thẳng thông qua contract state, nên tx này không ảnh hưởng gì, user gọi vào cũng không sao. Hiện tại mình sẽ để tx như vậy để chủ động refund. Chắc là anh sẽ remove TODO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.