Skip to content

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 fengtality and nikspz May 27, 2025 10:31
@rapcmia rapcmia changed the title Add Spectrum and Ergo Feat / Add Spectrum and Ergo Jun 24, 2025
@fengtality
Copy link
Contributor

this PR needs to be updated to the new Gateway architecture

@fengtality fengtality closed this Oct 28, 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.

3 participants