{"id":14669308,"url":"https://github.com/ComposableFi/emulated-light-client","last_synced_at":"2025-09-08T23:31:21.028Z","repository":{"id":204165095,"uuid":"672911057","full_name":"ComposableFi/emulated-light-client","owner":"ComposableFi","description":"run a chain inside a chain","archived":false,"fork":false,"pushed_at":"2024-04-12T18:42:45.000Z","size":1518,"stargazers_count":10,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T05:11:35.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComposableFi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-31T12:51:25.000Z","updated_at":"2024-04-16T11:49:53.950Z","dependencies_parsed_at":null,"dependency_job_id":"ded1cdcb-9915-4f09-aef7-5236b0c3c82f","html_url":"https://github.com/ComposableFi/emulated-light-client","commit_stats":null,"previous_names":["composablefi/emulated-light-client"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ComposableFi/emulated-light-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComposableFi%2Femulated-light-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComposableFi%2Femulated-light-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComposableFi%2Femulated-light-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComposableFi%2Femulated-light-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComposableFi","download_url":"https://codeload.github.com/ComposableFi/emulated-light-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComposableFi%2Femulated-light-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231182,"owners_count":25245675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-12T02:01:20.662Z","updated_at":"2025-09-08T23:31:20.432Z","avatar_url":"https://github.com/ComposableFi.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Emulated Light Client\n\nThis is our attempt to build a bridge between Solana and Cosmos using IBC\n\n## Instructions to test solana program\n\n1. Run anchor test with `mocks` feature. Since we cannot pass features to anchor test command, we need to build it.\n```\nanchor build -- --features mocks\n```\n\n2. Now while running the tests, we need to provide a flag to skip build since they are already set. Not providing the flag to skip build would make the program to be built again but without any features ( which we dont want for testing ).\n```\nanchor test --skip-build\n```\n\n### Note:\n- If you want to deploy the program with `mocks` feature, you need to build the program with the mocks feature and then deploy.\n```\nanchor build -- --features mocks\nanchor deploy\n```\n- If you want to retain the local state once the tests are run, you would have to run a local validator. A local validator should run in the background and while running the test `skip-local-validator` flag has to be passed so that the program doesnt spin up its only validator.\nBelow is the command to run local validator ( run it in a seperate terminal).\n```\nsolana-test-validator -r\n```\nAnd pass the flag to skip local validator while running the tests.\n```\nanchor test --skip-local-validator --skip-build\n```\nThe `skip-build` has to be passed if you are running tests with `mocks` feature. So remember to build it with the command above before you run the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FComposableFi%2Femulated-light-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FComposableFi%2Femulated-light-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FComposableFi%2Femulated-light-client/lists"}