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

Feat/approve tokens changes #6005

Merged
merged 21 commits into from
Jan 17, 2023
Merged

Conversation

Faouzijedidi1
Copy link
Contributor

@Faouzijedidi1 Faouzijedidi1 commented Jan 11, 2023

Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Tests performed by the developer:

Tips for QA testing:

@Faouzijedidi1 Faouzijedidi1 changed the base branch from master to development January 11, 2023 15:34
setup.py Outdated Show resolved Hide resolved
Copy link
Contributor

@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

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

check those observations!

hummingbot/core/gateway/__init__.py Outdated Show resolved Hide resolved
hummingbot/client/ui/completer.py Outdated Show resolved Hide resolved
hummingbot/client/command/gateway_command.py Outdated Show resolved Hide resolved
@Faouzijedidi1 Faouzijedidi1 marked this pull request as ready for review January 12, 2023 21:15
Copy link
Contributor

@rapcmia rapcmia left a comment

Choose a reason for hiding this comment

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

LGTM

  • Installation source/docker, ok
  • Setup simple pancakeswap-bsc on source
  • Test with tokens that needs to be approved
    • Confirmed tokens needs to be enabled on connector
    • Run gateway approve-token [connector] [token]
      • Displayed Token XXXX approval tx is pending
      • Displayed Token XXXX is approved for spending for xxxx for wallet xxxx on both log and output panel
    • Successfully approved and amm-arb worked ok
  • Test docker with pangolin-avalanche
    • same test done with source, all ok
  • Displayed help on gateway approve-token -h
  • Test invalid tokens, getting expected error for unsupported tokens
  • Execute gateway approve-token while AMM-arb is running, successfully reproduce Tokens [token] is not approved for spending. Please use manual approval.

Copy link
Contributor

@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

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

LGTM!

@cardosofede cardosofede merged commit 63f6d23 into development Jan 17, 2023
@cardosofede cardosofede deleted the feat/approve_tokens_changes branch January 17, 2023 20:33
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

5 participants