Tags: lavanet/lava
Tags
feat: support multiple --use-static-spec sources with aggregation (#2225 ) Allow --use-static-spec flag to be specified multiple times, aggregating specs from local files, directories, GitHub, and GitLab repositories. When the same chain ID appears in multiple sources, the later source completely replaces the earlier spec (full replacement, not merge). Changes: - Change --use-static-spec from String to StringArray flag type - Add spec aggregation logic with last-wins override semantics - Support comma-separated local file paths (file1.json,file2.json) - Add helper functions for loading all specs from various sources - Add comprehensive tests for aggregation behavior - Remove unused GetSpecsFromPath function Multiple local files can be specified either as separate flags or comma-separated: --use-static-spec file1.json --use-static-spec file2.json --use-static-spec file1.json,file2.json Co-authored-by: Cursor <cursoragent@cursor.com>
fix(chainlib): include response error in ID mismatch logs (#2192) When a node returns an error (e.g., "Apikey is expired") with an empty/invalid JSON-RPC ID, the ID validation fails with a confusing parsing error. This adds the actual response error message to the log output, making the root cause immediately visible.
PreviousNext