Skip to content

Ci Test: Ensure All RPC,GRPC,API, Websocket functions as expected #241

@hard-nett

Description

@hard-nett

To ensure liveliness of all endpoints are available after major codebase upgrades, we can have test coverage of these possible by making use of various methods to test go-bitsong.

Test Implementations

  • GRPC - cw-orchestrator tests + tonic (use GRPC to pass msgs)
  • RPC - Bash scripting , Interchaintest
  • API - Node/Javascript/Python
  • Websocket - Node/Javascript/Python

Major Focal Points


Testing Resources

LocalBitsong

Local bitsong deploys instances of bitsong for testing different scenarios on a local computer environment. #253 adds initial implementation, and we can build from here via reference to Osmosis' implementation

InterchainTest

Interchaintest is go scripts to deploy bitsong networks, via Docker images, for tests various scenarios. There are a number of existing templates and examples of ICT compatible with Bitsong, so these are able to be implemented

Cw-Orchestrator

Cw-Orchestrator is a rust scripting library, that makes writing interfaces for contracts and networks reusable for live, testnet, local, and simulation environments. #249 brought test for ibc-callbacks. These test require the use of Starship, a kubernetes container deployment system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions