Skip to content

Gateway - Does not refresh connection after a config update on Fastify #428

@rapcmia

Description

@rapcmia

Describe the bug

When testing endpoints on fastify, it was then I realized that its does not refresh the gateway connection to ensure my changes on config works. I have to manually close and open gateway connection using gateway start --passphrase=a --dev again

Steps to reproduce

  1. Setup gateway and start it using gateway start --passphrase=a --dev
  2. On fastify dashboard https://localhost:15888/docs,
    • Execute GET /config/ and look for anything you want to update, e.g nodeURL
    • Execute POST /config/update to update gateway config
  3. Observe on gateway logs if changes are successful however does not refresh its connection to apply changes ❌
    Image
    - To test this, run any endpoints of your selected chain and results are same as default

Release version

v2.4.0 and dev-2.5.0

Type of installation

Source

Attach required files

No error logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions