ignite / cli

Ignite is a CLI tool and hub designed for constructing Proof of Stake Blockchains rooted in Cosmos-SDK
https://ignite.com
Other
1.26k stars 549 forks source link

Swagger API "Not Implemented" Error for Scaffolded Message #4218

Closed BlackPanthar closed 4 months ago

BlackPanthar commented 4 months ago

Describe the bug Tell us what you were doing and provide a clear and concise description of issue you encountered. I scaffolded a fresh chain using Ignite CLI and followed to the letter the exact steps on the Ignite CLI documentation to create a Blog chain. The CLI message works perfectly but on opening the swagger localhost:1317 url, and function testing the message, it gives 'Not Implemented' error and just does not work, while the same scaffolded and implemented (directly from documentation) message works perfectly from the CLI

To reproduce Steps to reproduce the behavior:

  1. Tried the same steps several times

What version are you using?

Provide the output of the ignite version command. Ignite CLI version: v28.4.0 Ignite CLI build date: 2024-05-15T13:42:13Z Ignite CLI source hash: 83ee9ba5f81f2d2104ed91808f2cb72719a23e41 Ignite CLI config version: v1 Cosmos SDK version: v0.50.6 Your OS: darwin Your arch: arm64 Your Node.js version: v21.2.0 Your go version: go version go1.22.4 darwin/arm64

julienrbrt commented 4 months ago

Hi!

Make sure to clean the cache if you cannot see any endpoint in swagger. Additionally, to can try queries in swagger directly but not messages. Messages need to be signed and broadcast to the node and cannot be directly executed.