From 080d9f1bfa6d434a1457168537bc8e5461ab301b Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Wed, 20 Mar 2024 23:57:17 -0500 Subject: [PATCH 1/7] base --- .codespellrc | 5 +++++ .github/workflows/chores.yml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .codespellrc create mode 100644 .github/workflows/chores.yml diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..a6b4ca175 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,5 @@ +[codespell] +skip = *.pulsar.go,*.pb.go,*.pb.gw.go,*.json,*.git,*.bin,*.sum,*.mod,query_test.go +ignore-words-list = usera +count = +quiet-level = 3 \ No newline at end of file diff --git a/.github/workflows/chores.yml b/.github/workflows/chores.yml new file mode 100644 index 000000000..ef47e5f31 --- /dev/null +++ b/.github/workflows/chores.yml @@ -0,0 +1,35 @@ +name: chores + +on: + pull_request: + +jobs: + link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: gaurav-nelson/github-action-markdown-link-check@1.0.15 + + typos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run codespell + continue-on-error: true + run: | + # .codespellrc is used + sudo apt-get install codespell -y + codespell -w --config .codespellrc + exit $? + + pr-title-format: + name: Lint PR Title + permissions: + pull-requests: read + statuses: write + contents: read + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5.4.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From bd5f89472fdf1a1d65855b75dd15d6fbd2b0cd17 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Wed, 20 Mar 2024 23:57:38 -0500 Subject: [PATCH 2/7] lint links --- docs/CONTRIBUTING.md | 4 ++-- docs/ciTests.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 5763d3b79..4c29029c8 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -36,7 +36,7 @@ To get started, follow these steps: 3. Crate a new branch on your fork ```sh - git checkout -b name/broad-description-of-feature + git checkout -b name/broad-description-of-feature ``` 4. Make your changes and commit them with descriptive commit messages. @@ -74,7 +74,7 @@ We welcome bug reports, feature requests, and other contributions to our project ## Pull requests -In almost all cases, you should target branch `main` with your work. In the event it spans multiple releases, we will backport to the previous release branch as well. This can be found in our [READMEs maintained branches](./README.md#maintained-branches). +In almost all cases, you should target branch `main` with your work. In the event it spans multiple releases, we will backport to the previous release branch as well. This can be found in our [READMEs maintained branches](../README.md#maintained-branches). For internal branches, branch names should be prefixed with the author's name followed by a short description of the feature, eg. `name/feature-x`. diff --git a/docs/ciTests.md b/docs/ciTests.md index 2498223ba..3b740c569 100644 --- a/docs/ciTests.md +++ b/docs/ciTests.md @@ -58,7 +58,7 @@ It's important to realize the image will be named using the arg from the `-c` fl **Goal:** When a PR is created, have a GitHub workflow that: 1. Builds a Docker image with the latest code changes to the binary. -2. Synchronously spin up runners (one for each test), load Docker image, and run tests. +2. Synchronously spin up runners (one for each test), load Docker image, and run tests. We recommend having this workflow run only on PR's. @@ -115,7 +115,7 @@ jobs: strategy: matrix: # names of `make` commands to run tests - test: + test: - ictest-tkn-factory - ictest-packet-forward - ictest-paramauthority @@ -132,7 +132,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19 - + - name: checkout chain uses: actions/checkout@v3 @@ -224,7 +224,7 @@ The example below will spin up 9 runners, one for each test. strategy: matrix: # names of `make` commands to run tests - test: + test: - ictest-tkn-factory - ictest-packet-forward - ictest-paramauthority @@ -241,7 +241,7 @@ The example below will spin up 9 runners, one for each test. uses: actions/setup-go@v3 with: go-version: 1.19 - + - name: checkout chain uses: actions/checkout@v3 From c3800ee33f73164f5fc3107f22d18453d7cf7636 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Thu, 21 Mar 2024 00:00:20 -0500 Subject: [PATCH 3/7] first spell check --- .codespellrc | 2 +- chain/cosmos/08-wasm-types/module.go | 3 ++- chain/cosmos/chain_node.go | 2 +- chain/internal/tendermint/tendermint_node.go | 2 +- chain/penumbra/penumbra_chain.go | 2 +- contract/cosmwasm/rust_optimizer.go | 2 +- docs/CONTRIBUTING.md | 2 +- docs/conformance-tests-bin.md | 2 +- examples/ibc/wasm/wasm_ibc_test.go | 2 +- examples/ibc/wasm/wasm_icq_test.go | 2 +- internal/blockdb/tui/update_test.go | 4 ++-- internal/dockerutil/ports.go | 2 +- internal/dockerutil/setup.go | 2 +- local-interchain/cmd/local-ic/new_chain.go | 4 ++-- local-interchain/docs/WINDOWS.md | 2 +- 15 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.codespellrc b/.codespellrc index a6b4ca175..93178940e 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,5 +1,5 @@ [codespell] skip = *.pulsar.go,*.pb.go,*.pb.gw.go,*.json,*.git,*.bin,*.sum,*.mod,query_test.go -ignore-words-list = usera +ignore-words-list = usera pres crate count = quiet-level = 3 \ No newline at end of file diff --git a/chain/cosmos/08-wasm-types/module.go b/chain/cosmos/08-wasm-types/module.go index 85fa9f128..013890c0e 100644 --- a/chain/cosmos/08-wasm-types/module.go +++ b/chain/cosmos/08-wasm-types/module.go @@ -7,6 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" + //grpc "github.com/cosmos/gogoproto/grpc" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" @@ -38,7 +39,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { return nil } -// ValidateGenesis performs a no-op. Genesis is not supported for the tendermint light cilent. +// ValidateGenesis performs a no-op. Genesis is not supported for the tendermint light client. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { return nil } diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 0eee65f6f..3e4cc56e6 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -1044,7 +1044,7 @@ func (tn *ChainNode) StartContainer(ctx context.Context) error { if err != nil { return err } - // TODO: reenable this check, having trouble with it for some reason + // TODO: re-enable this check, having trouble with it for some reason if stat != nil && stat.SyncInfo.CatchingUp { return fmt.Errorf("still catching up: height(%d) catching-up(%t)", stat.SyncInfo.LatestBlockHeight, stat.SyncInfo.CatchingUp) diff --git a/chain/internal/tendermint/tendermint_node.go b/chain/internal/tendermint/tendermint_node.go index 59f0a8003..653876dd4 100644 --- a/chain/internal/tendermint/tendermint_node.go +++ b/chain/internal/tendermint/tendermint_node.go @@ -289,7 +289,7 @@ func (tn *TendermintNode) StartContainer(ctx context.Context) error { // tn.t.Log(err) return err } - // TODO: reenable this check, having trouble with it for some reason + // TODO: re-enable this check, having trouble with it for some reason if stat != nil && stat.SyncInfo.CatchingUp { return fmt.Errorf("still catching up: height(%d) catching-up(%t)", stat.SyncInfo.LatestBlockHeight, stat.SyncInfo.CatchingUp) diff --git a/chain/penumbra/penumbra_chain.go b/chain/penumbra/penumbra_chain.go index c156086d0..d412d0c94 100644 --- a/chain/penumbra/penumbra_chain.go +++ b/chain/penumbra/penumbra_chain.go @@ -164,7 +164,7 @@ func (c *PenumbraChain) RecoverKey(ctx context.Context, name, mnemonic string) e func (c *PenumbraChain) GetAddress(ctx context.Context, keyName string) ([]byte, error) { fn := c.getFullNode() if fn.PenumbraAppNode == nil { - return nil, fmt.Errorf("no penumbra app nodes configured to retreive an address from") + return nil, fmt.Errorf("no penumbra app nodes configured to retrieve an address from") } return fn.PenumbraAppNode.GetAddress(ctx, keyName) } diff --git a/contract/cosmwasm/rust_optimizer.go b/contract/cosmwasm/rust_optimizer.go index ae5e880ff..6a3962d05 100644 --- a/contract/cosmwasm/rust_optimizer.go +++ b/contract/cosmwasm/rust_optimizer.go @@ -53,7 +53,7 @@ func (c *Contract) Compile() *Contract { // Form the path to the artifacts directory, used for checksum.txt and package.wasm artifactsPath := filepath.Join(repoPathFull, "artifacts") - // Parse the checksums.txt for the crate/wasm binary name + // Parse the checksums.txt for the create/wasm binary name checksumsPath := filepath.Join(artifactsPath, "checksums.txt") checksumsBz, err := os.ReadFile(checksumsPath) if err != nil { diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 4c29029c8..1f665094c 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -33,7 +33,7 @@ To get started, follow these steps: git clone https://github.com//interchaintest.git ``` -3. Crate a new branch on your fork +3. Create a new branch on your fork ```sh git checkout -b name/broad-description-of-feature diff --git a/docs/conformance-tests-bin.md b/docs/conformance-tests-bin.md index 26d782f6d..8697dc1d4 100644 --- a/docs/conformance-tests-bin.md +++ b/docs/conformance-tests-bin.md @@ -40,7 +40,7 @@ By passing in a matrix file you can customize these aspects of the environment: **Pre-Configured Chains** `interchaintest` comes with [pre-configured chains](../configuredChains.yaml). -In the matrix file, if `Name` matches the name of any pre-configured chain, `interchaintest` will use standard settings UNLESS overriden in the matrix file. [example_matrix_custom.json](../cmd/interchaintest/example_matrix_custom.json) is an example of overriding all options. +In the matrix file, if `Name` matches the name of any pre-configured chain, `interchaintest` will use standard settings UNLESS overridden in the matrix file. [example_matrix_custom.json](../cmd/interchaintest/example_matrix_custom.json) is an example of overriding all options. **Custom Binaries** diff --git a/examples/ibc/wasm/wasm_ibc_test.go b/examples/ibc/wasm/wasm_ibc_test.go index 4416e6213..f8b344a44 100644 --- a/examples/ibc/wasm/wasm_ibc_test.go +++ b/examples/ibc/wasm/wasm_ibc_test.go @@ -102,7 +102,7 @@ func TestWasmIbc(t *testing.T) { func() { err := r.StopRelayer(ctx, eRep) if err != nil { - t.Logf("an error occured while stopping the relayer: %s", err) + t.Logf("an error occurred while stopping the relayer: %s", err) } }, ) diff --git a/examples/ibc/wasm/wasm_icq_test.go b/examples/ibc/wasm/wasm_icq_test.go index 1d954a36c..fa979f7fc 100644 --- a/examples/ibc/wasm/wasm_icq_test.go +++ b/examples/ibc/wasm/wasm_icq_test.go @@ -217,7 +217,7 @@ func TestInterchainQueriesWASM(t *testing.T) { func() { err := r.StopRelayer(ctx, eRep) if err != nil { - t.Logf("an error occured while stopping the relayer: %s", err) + t.Logf("an error occurred while stopping the relayer: %s", err) } }, ) diff --git a/internal/blockdb/tui/update_test.go b/internal/blockdb/tui/update_test.go index 4cff91cf6..2a6169b80 100644 --- a/internal/blockdb/tui/update_test.go +++ b/internal/blockdb/tui/update_test.go @@ -209,9 +209,9 @@ func TestModel_Update(t *testing.T) { update(runeKey('c')) - _, primative := model.mainContentView().GetFrontPage() + _, primitive := model.mainContentView().GetFrontPage() // TODO (nix - 6/22/22) Can't get text from a tview.Modal. We could use a tview.TextView but it does not render // properly with the nested flex views. - require.IsType(t, &tview.Modal{}, primative.(*tview.Flex).GetItem(1).(*tview.Flex).GetItem(1)) + require.IsType(t, &tview.Modal{}, primitive.(*tview.Flex).GetItem(1).(*tview.Flex).GetItem(1)) }) } diff --git a/internal/dockerutil/ports.go b/internal/dockerutil/ports.go index 7aedc13b5..8d8793ed0 100644 --- a/internal/dockerutil/ports.go +++ b/internal/dockerutil/ports.go @@ -37,7 +37,7 @@ func openListener(port int) (*net.TCPListener, error) { } // getPort generates a docker PortBinding by using the port provided. -// If port is set to 0, the next avaliable port will be used. +// If port is set to 0, the next available port will be used. // The listener will be closed in the case of an error, otherwise it will be left open. // This allows multiple getPort calls to find multiple available ports // before closing them so they are available for the PortBinding. diff --git a/internal/dockerutil/setup.go b/internal/dockerutil/setup.go index 517e1503b..94328135b 100644 --- a/internal/dockerutil/setup.go +++ b/internal/dockerutil/setup.go @@ -30,7 +30,7 @@ type DockerSetupTestingT interface { // CleanupLabel is a docker label key targeted by DockerSetup when it cleans up docker resources. // -// "interchaintest" is perhaps a better name. However, for backwards compatability we preserve the original name of "ibc-test" +// "interchaintest" is perhaps a better name. However, for backwards compatibility we preserve the original name of "ibc-test" // with the hyphen. Otherwise, we run the risk of causing "container already exists" errors because DockerSetup // is unable to clean old resources from docker engine. const CleanupLabel = "ibc-test" diff --git a/local-interchain/cmd/local-ic/new_chain.go b/local-interchain/cmd/local-ic/new_chain.go index 3cdee61a8..62c56132d 100644 --- a/local-interchain/cmd/local-ic/new_chain.go +++ b/local-interchain/cmd/local-ic/new_chain.go @@ -33,7 +33,7 @@ var newChainCmd = &cobra.Command{ name := strings.TrimSuffix(args[0], ".json") filePath := path.Join(GetDirectory(), "chains", fmt.Sprintf("%s.json", name)) - // while loop to allow for IBC conncetions to work as expected. Else set IBC as []string{} + // while loop to allow for IBC connections to work as expected. Else set IBC as []string{} text, _ := os.ReadFile(filePath) if len(text) > 0 { @@ -55,7 +55,7 @@ var newChainCmd = &cobra.Command{ ChainID: getOrDefault("chain_id", "local-1"), Binary: getOrDefault("App Binary", "junod"), Bech32Prefix: getOrDefault("Bech32 Prefix", "juno"), - GasPrices: getOrDefault("gas_prices (comma seperated)", "0ujuno,0other"), + GasPrices: getOrDefault("gas_prices (comma separated)", "0ujuno,0other"), GasAdjustment: getOrDefault("gas_adjustment", 2.5), // IBCPaths should be unique chain ids? diff --git a/local-interchain/docs/WINDOWS.md b/local-interchain/docs/WINDOWS.md index 743d70f85..b47ce9eaa 100644 --- a/local-interchain/docs/WINDOWS.md +++ b/local-interchain/docs/WINDOWS.md @@ -35,7 +35,7 @@ If your Windows system is missing Hyper-V, you can follow [this guide](https://w ## Environment Setup ### 1. Installing Docker -Make sure you have wsl installed, you can check by running **Windows PowerShell** as adminstrator and running `wsl --install` which would install wsl2 if missing. +Make sure you have wsl installed, you can check by running **Windows PowerShell** as administrator and running `wsl --install` which would install wsl2 if missing. For Win 10 and Win 11, follow [this guide](https://docs.docker.com/desktop/install/windows-install/) to setup and install Docker Desktop on your Windows system. From 33ca202c7b7ec4be581fc632b86767130d53f718 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Thu, 21 Mar 2024 00:01:36 -0500 Subject: [PATCH 4/7] next run through --- .codespellrc | 2 +- ibc/relayer.go | 2 +- local-interchain/rust/localic-std/src/transactions.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codespellrc b/.codespellrc index 93178940e..e393c29a7 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,5 +1,5 @@ [codespell] skip = *.pulsar.go,*.pb.go,*.pb.gw.go,*.json,*.git,*.bin,*.sum,*.mod,query_test.go -ignore-words-list = usera pres crate +ignore-words-list = usera,pres,crate count = quiet-level = 3 \ No newline at end of file diff --git a/ibc/relayer.go b/ibc/relayer.go index f37b448ef..5f49229c0 100644 --- a/ibc/relayer.go +++ b/ibc/relayer.go @@ -274,7 +274,7 @@ func (o Order) Validate() error { // CreateClientOptions contains the configuration for creating a client. -// a zero value is the same as not specifying the flag and will use the relayer defauls +// a zero value is the same as not specifying the flag and will use the relayer defaults type CreateClientOptions struct { TrustingPeriod string TrustingPeriodPercentage int64 // only available for Go Relayer diff --git a/local-interchain/rust/localic-std/src/transactions.rs b/local-interchain/rust/localic-std/src/transactions.rs index 3b0bd57e7..a137e5904 100644 --- a/local-interchain/rust/localic-std/src/transactions.rs +++ b/local-interchain/rust/localic-std/src/transactions.rs @@ -19,7 +19,7 @@ pub struct ChainRequestBuilder { impl ChainRequestBuilder { /// # Errors /// - /// Returns `Err` if the `api` or `chain_id` is empty. + /// Returns `Err` if the `api` or `chain_id` is empty. pub fn new( api: String, chain_id: String, @@ -373,7 +373,7 @@ fn set_missing_required_args(cmd: &str, required: Vec<&str>) -> String { for arg in required { let parsed_args: String = match arg.split_once('=') { Some((a, b)) => format!("{a} {b}"), - None => panic!("{arg} must have an '=' sign to be valie in the `required` argument"), + None => panic!("{arg} must have an '=' sign to be value in the `required` argument"), }; if !command.contains(arg) && !command.contains(parsed_args.as_str()) { From 2a08806e06b0cf355c484fbd75f245381623378d Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Thu, 21 Mar 2024 00:08:18 -0500 Subject: [PATCH 5/7] links --- README.md | 3 +-- local-interchain/docs/REST_API.md | 8 +++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bbdaaf18f..6ea2018e6 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,8 @@ Formerly known as `ibctest`. [![Go Reference](https://pkg.go.dev/badge/github.com/strangelove-ventures/interchaintest@main.svg)](https://pkg.go.dev/github.com/strangelove-ventures/interchaintest@main) -[![License: Apache-2.0](https://img.shields.io/github/license/strangelove-ventures/interchaintest.svg?style=flat-square)](https://github.com/strangelove-ventures/interchaintest/blob/main/create-test-readme/LICENSE) +[![License: Apache-2.0](https://img.shields.io/github/license/strangelove-ventures/interchaintest.svg?style=flat-square)](https://github.com/strangelove-ventures/interchaintest/blob/main/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/strangelove-ventures/interchaintest)](https://goreportcard.com/report/github.com/strangelove-ventures/interchaintest) -[![Conforms to README.lint](https://img.shields.io/badge/README.lint-conforming-brightgreen)](https://github.com/strangelove-ventures/readme-dot-lint) diff --git a/local-interchain/docs/REST_API.md b/local-interchain/docs/REST_API.md index a21755ff2..449873ffc 100644 --- a/local-interchain/docs/REST_API.md +++ b/local-interchain/docs/REST_API.md @@ -1,6 +1,6 @@ # Interacting with the chains -Since local-interchain exposes a REST API, you can interact with the chains using any language that supports HTTP requests. A default python client example can be found in the [scripts folder here](../scripts/). +Since local-interchain exposes a REST API, you can interact with the chains using any language that supports HTTP requests. A default python client example can be found in the [python folder](../python/) and [rust](../rust/README.md). # Contents @@ -88,6 +88,7 @@ The following examples use the [chains/base.json](../chains/base.json) chain exa ### Unix Curl Command + ```bash # Get the total supply curl -X POST -H "Content-Type: application/json" -d '{ @@ -107,7 +108,7 @@ curl -X POST -H "Content-Type: application/json" -d '{ }' http://127.0.0.1:8080/ -# Execute a Tx sending funds +# Execute a Tx sending funds # The key here 'acc0' was set by name in the genesis section of the chain's config. curl -X POST -H "Content-Type: application/json" -d '{ "chain_id": "localjuno-1", @@ -117,7 +118,7 @@ curl -X POST -H "Content-Type: application/json" -d '{ # Querying said Tx hash returned from above. -# NOTE: +# NOTE: # - the cmd does not require 'query' (or 'q') as it is added automatically. # - This Tx hash will not be available on your machine. curl -X POST -H "Content-Type: application/json" -d '{ @@ -165,3 +166,4 @@ print( # {'chain_id': 'localjuno-1', 'channel_id': 'channel-0', 'client_id': '07-tendermint-0', 'connection_hops': ['connection-0'], 'counterparty': {'chain_id': 'localjuno-2', 'channel_id': 'channel-0', 'client_id': '07-tendermint-0', 'connection_id': 'connection-0', 'port_id': 'transfer'}, 'ordering': 'ORDER_UNORDERED', 'port_id': 'transfer', 'state': 'STATE_OPEN', 'version': 'ics20-1'} ``` + \ No newline at end of file From 3a1808636a26aa5580d3378b70b67e5b8c83b655 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 25 Mar 2024 15:01:09 -0500 Subject: [PATCH 6/7] link fixes --- examples/cosmos/README.md | 2 +- examples/ibc/README.md | 4 ++-- local-interchain/docs/REST_API.md | 8 ++++---- local-interchain/docs/WINDOWS.md | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/cosmos/README.md b/examples/cosmos/README.md index cce1e3b0e..c5237733b 100644 --- a/examples/cosmos/README.md +++ b/examples/cosmos/README.md @@ -1,3 +1,3 @@ # More Examples -[State Sync](https://github.com/CosmosContracts/juno/blob/reece/add-state-sync-test/interchaintest/state_sync_test.go) +[State Sync](https://github.com/CosmosContracts/juno/blob/v21.0.0/interchaintest/state_sync_test.go) diff --git a/examples/ibc/README.md b/examples/ibc/README.md index 3c2e45380..4f439c177 100644 --- a/examples/ibc/README.md +++ b/examples/ibc/README.md @@ -11,8 +11,8 @@ Interchain Queries Packet Forward Middleware Test: -* [Noble](https://github.com/strangelove-ventures/noble/blob/main/interchaintest/packet_forward_test.go) -* [Juno](https://github.com/CosmosContracts/juno/blob/main/interchaintest/module_pfm_test.go) +* [Noble](https://github.com/noble-assets/noble/blob/v4.0.3/interchaintest/packet_forward_test.go) +* [Juno](https://github.com/CosmosContracts/juno/blob/v21.0.0/interchaintest/module_pfm_test.go) IBC Client Update diff --git a/local-interchain/docs/REST_API.md b/local-interchain/docs/REST_API.md index 449873ffc..d1a3a75e0 100644 --- a/local-interchain/docs/REST_API.md +++ b/local-interchain/docs/REST_API.md @@ -19,7 +19,7 @@ Since local-interchain exposes a REST API, you can interact with the chains usin - [Get Channels](#get-channels) - [Using Actions](#using-actions) - [Unix Curl Command](#unix-curl-command) - - [Python](#python) + - [Python](#python-client) --- @@ -27,7 +27,7 @@ Since local-interchain exposes a REST API, you can interact with the chains usin ## Defaults -By default, the API is served at . You can modify this before starting the binary with `--api-address` and `--api-port`. +By default, the API is served at . You can modify this before starting the binary with `--api-address` and `--api-port`. ## Environment Variables @@ -128,9 +128,9 @@ curl -X POST -H "Content-Type: application/json" -d '{ }' http://127.0.0.1:8080/ ``` -### Python +### Python Client -A full Python client can be found in the [scripts folder](../scripts/). This is just a snippet of code for example purposes. +A full Python client can be found in the [python folder](../python/). This is just a snippet of code for example purposes. ```python # local-ic start juno_ibc diff --git a/local-interchain/docs/WINDOWS.md b/local-interchain/docs/WINDOWS.md index b47ce9eaa..f981815db 100644 --- a/local-interchain/docs/WINDOWS.md +++ b/local-interchain/docs/WINDOWS.md @@ -83,7 +83,7 @@ GCC does not come with Windows, and the best compatible setup I've found was usi ![](https://i.imgur.com/EeZUeJU.png) 4. Choose installation folder and click Install. - + ![](https://i.imgur.com/D25unIm.png) 5. After installation, no need to run *Code::Blocks* and click Next then Finish. @@ -100,13 +100,13 @@ After finishing the steps above, open a new cmd or shell, and you will be able t 1. Start the docker daemon by running **Docker Desktop** on Win 10/11 or using [**Docker Quickstart Terminal**](https://github.com/microsoft/docker/blob/master/docs/installation/windows.md#using-the-docker-quickstart-terminal) if you have installed Docker Toolbox. 2. Clone the Local Interchain Repo. ```bash -git clone https://github.com/strangelove-ventures/interchaintest.git +git clone https://github.com/strangelove-ventures/interchaintest.git cd interchaintest/local-interchain ``` 3. Run `make install` 4. Run `local-ic start base.json` -Wait for it to set up and go to *https://127.0.0.1:8080/info*, you should see each local chain running in its own docker container `docker ps` +Wait for it to set up and go to *https://127.0.0.1:8080/info*, you should see each local chain running in its own docker container `docker ps` Now you are running a complete local wasm IBC-connected environment on a Windows operating system. From 53c69a77845f9a1e52786d9e097e519a3b5fd55c Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 25 Mar 2024 15:02:50 -0500 Subject: [PATCH 7/7] hacky fix --- local-interchain/docs/REST_API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-interchain/docs/REST_API.md b/local-interchain/docs/REST_API.md index d1a3a75e0..d5b185560 100644 --- a/local-interchain/docs/REST_API.md +++ b/local-interchain/docs/REST_API.md @@ -19,7 +19,7 @@ Since local-interchain exposes a REST API, you can interact with the chains usin - [Get Channels](#get-channels) - [Using Actions](#using-actions) - [Unix Curl Command](#unix-curl-command) - - [Python](#python-client) + - [Python](#python-client) ---