diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca8fa9ea..679dda241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -# [](https://github.com/dymensionxyz/dymint/compare/v1.1.0-rc02...v) (2024-04-30) +# [](https://github.com/dymensionxyz/dymint/compare/v1.1.0-rc02...v) (2024-05-01) ### Bug Fixes +* **celestia:** impl retry on submit ([#748](https://github.com/dymensionxyz/dymint/issues/748)) ([61630eb](https://github.com/dymensionxyz/dymint/commit/61630eb458197abe2440a81426210000dff25d40)) * **da:** fixed da path seperator and encoding issue ([#731](https://github.com/dymensionxyz/dymint/issues/731)) ([3a3b219](https://github.com/dymensionxyz/dymint/commit/3a3b21932750fee7eaaa9c186f78e36e3e597746)) * **DA:** use expo backoff in retries ([#739](https://github.com/dymensionxyz/dymint/issues/739)) ([848085f](https://github.com/dymensionxyz/dymint/commit/848085f70bcaae81fb80da3ab78c4d8b399e13b1)) * **p2p:** validate block before applying and not before caching in p2p gossiping ([#723](https://github.com/dymensionxyz/dymint/issues/723)) ([98371b5](https://github.com/dymensionxyz/dymint/commit/98371b5220613e70f3274fab5593e02ba532f7db)) diff --git a/rpc/json/handler.go b/rpc/json/handler.go index fb08a789f..164b1f329 100644 --- a/rpc/json/handler.go +++ b/rpc/json/handler.go @@ -13,9 +13,10 @@ import ( tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/dymensionxyz/dymint/types" "github.com/gorilla/rpc/v2" "github.com/gorilla/rpc/v2/json2" + + "github.com/dymensionxyz/dymint/types" ) type handler struct { @@ -70,6 +71,7 @@ func (h *handler) serveJSONRPCforWS(w http.ResponseWriter, r *http.Request, wsCo } methodSpec, ok := h.srv.methods[method] if !ok { + err := fmt.Errorf("method not found: %s", method) codecReq.WriteError(w, int(json2.E_NO_METHOD), err) return }