这是indexloc提供的服务,不要输入任何密码
Skip to content

Feat / Add Spectrum and Ergo #454

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

Open
wants to merge 12 commits into
base: development
Choose a base branch
from

Conversation

Javadyakuza
Copy link

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:

- This commit have passed the "git pull --rebase upstream development" successfully
- This commit adds Ergo chain necessary files including routes, config and its main class
- This commit adds Spectrum dex necessary files including routes, config and its main class
- This commit contains the tests of ergo chain and spectrum dex with almost 100% test cov
- This commit adds the ergo chain and spectrum refs to global files and entry points

Tests performed by the developer:

We have test the Ergo chain and Spectrum dex functionality by running the amm_arb strategy using Spectrum and Kucoin

spectrum-test-result
ergo-test-result

Tips for QA testing:

To run the tests and view the results, update the package.json file with the following configurations:

For Ergo tests:

"test:unit": "GATEWAY_TEST_MODE=dev jest --runInBand ./test/chains/ergo",
"test:cov": "GATEWAY_TEST_MODE=dev jest --runInBand --coverage ./test/chains/ergo"

For Spectrum tests:

"test:unit": "GATEWAY_TEST_MODE=dev jest --runInBand ./test/connectors/spectrum",
"test:cov": "GATEWAY_TEST_MODE=dev jest --runInBand --coverage ./test/connectors/spectrum"

🧪 Running the Tests

  • To execute unit tests:

    pnpm test:unit
  • To view the test coverage:

    pnpm test:cov

Javadyakuza and others added 12 commits April 18, 2025 16:50
- This commit have passed the "git pull --rebase upstream development" successfully
- This commit adds Ergo chain necessary files including routes, config and its main class
- This commit adds Spectrum dex necessary files including routes, config and its main class
- This commit contains the tests of ergo chain and spectrum dex with almost 100% test cov
- This commit adds the ergo chain and spectrum refs to global files and entry points
@rapcmia rapcmia requested review from nikspz and fengtality May 27, 2025 10:31
@rapcmia rapcmia changed the title Add Spectrum and Ergo Feat / Add Spectrum and Ergo Jun 24, 2025
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.

2 participants