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

chore: some changes and TODO requests #51

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

chore: some changes and TODO requests #51

wants to merge 3 commits into from

Conversation

DedicatedDev
Copy link
Contributor

  • optimize code
  • added update requests as TODO:

@DedicatedDev DedicatedDev requested review from amityadav0 and liangping and removed request for amityadav0 September 18, 2023 16:51
contracts/ics101/src/contract.rs Outdated Show resolved Hide resolved
contracts/ics101/src/contract.rs Outdated Show resolved Hide resolved
@@ -77,11 +78,38 @@ pub fn execute_make_swap(
))));
}

// TODO: I guess we have add order here with status - Initial.
// This optimistic operation will update user's experiences in frontend code.
// When success update status as a Sync. when failed, we can remove that pool with refund logic.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we don't need to remove it, we can add a status Failed.

@DedicatedDev DedicatedDev marked this pull request as ready for review September 20, 2023 13:56
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