Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/workflows/pull-request-comments.yml

This file was deleted.

10 changes: 2 additions & 8 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ env:
CACHIX_COMPRESSION_LEVEL: 16
CACHIX_JOBS: 8
CACHIX_COMPRESSION_METHOD: zstd

CACHIX_NAME: composable

DOCKER_REGISTRY_NAME: composablefi
# weird, next is implicit dependency of docker action
DOCKER_USER_OPTION: '$UID:$GID'


jobs:
# this is not flaky!!!
deploy-docs:
name: "deploy-docs"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -55,7 +49,7 @@ jobs:
run: |
nix-channel --add https://nixos.org/channels/${{ env.NIXPKGS_CHANNEL }} nixpkgs
nix-channel --update
nix-env -iA nixpkgs.cachix nixpkgs.nodejs nixpkgs.git nixpkgs.git-lfs nixpkgs.tree nixpkgs.docker
nix-env -iA nixpkgs.cachix nixpkgs.nodejs nixpkgs.git nixpkgs.git-lfs
- uses: actions/checkout@v3
if: ${{ github.event_name == 'push' || (inputs.github_event_name == 'pull_request' && inputs.github_event_pull_request_head_repo_id == 383289760) }}
with:
Expand Down
6 changes: 3 additions & 3 deletions code/composable-nodes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
, subnix, devnetTools, cargoTools, ... }:

let

rustSrc = cargoTools.mkRustSrc ./.;
toDockerImage = { ... }@drv:
(pkgs.dockerTools.buildImage {
name = drv.name or drv.pname or "image";
Expand Down Expand Up @@ -35,7 +33,9 @@
CW_CVM_EXECUTOR_WASM_PATH = "${
self.inputs.cvm.packages."${system}".cw-cvm-executor
}/lib/cw_cvm_executor.wasm";
CW_20_BASE_WASM_PATH = self'.packages.cw20_base;
CW_20_BASE_WASM_PATH = "${
self.inputs.cosmos.packages.${system}.cw20-base
}/lib/cw20_base.wasm";
PICASSO_RUNTIME = "${picasso-runtime}/lib/runtime.optimized.wasm";
COMPOSABLE_RUNTIME =
"${composable-runtime}/lib/runtime.optimized.wasm";
Expand Down
2 changes: 1 addition & 1 deletion code/parachain/frame/cosmwasm/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Same as for [manual guide](../../../../../docs/docs/products/cosmwasm/deploy-and
### CW4 Stake

```shell
nix build .#cw4_stake
curl --location https://github.com/CosmWasm/cw-plus/releases/download/v1.1.0/cw4_stake.wasm > result
```

```shell
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/develop/composable-cosmos.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Composable Cosmos Mainnet

## Information
- Network information: https://github.com/notional-labs/composable-centauri
- Network information: https://github.com/ComposableFi/composable-cosmos
- Chain ID: centauri-1
- Genesis: https://github.com/notional-labs/composable-networks/blob/main/mainnet/genesis.json
- Binary: https://github.com/notional-labs/composable-centauri/releases/tag/v6.3.1
- Binary: https://github.com/ComposableFi/composable-cosmos/releases/tag/v6.3.1
- Current version: v6.3.1 (check the repository for the latest release)
- Public Notional endpoints:
- RPC: https://composable-rpc.polkachu.com/ (1) https://api-composable-ia.cosmosia.notional.ventures (2)
Expand All @@ -20,16 +20,16 @@ Quad core or larger amd64 CPU
```
## Binary

Mainnet launch version: v2.3.5, precompiled binary for linux-amd64 could be found here: https://github.com/notional-labs/composable-centauri/releases/tag/v2.3.5
Mainnet launch version: v2.3.5, precompiled binary for linux-amd64 could be found here: https://github.com/ComposableFi/composable-cosmos/releases/tag/v2.3.5

```
git clone https://github.com/notional-labs/composable-centauri
git clone https://github.com/ComposableFi/composable-cosmos
cd composable-centauri
git checkout v5.2.2
make install
```
:::note
Ensure you are running the latest release, head to the [repository](https://github.com/notional-labs/composable-centauri) for the Composable Cosmos chain for assurance.
Ensure you are running the latest release, head to the [repository](https://github.com/ComposableFi/composable-cosmos) for the Composable Cosmos chain for assurance.
:::

## Genesis
Expand Down
31 changes: 29 additions & 2 deletions docs/docs/nix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nix

Nix is a requirement to set up and start a local development environment with Composable's code. We recommend using the Zero-to-Nix installer. Refer to our docs for how to [install and configure Nix](./nix/install).
Nix is a requirement to set up and start a local development environment with Composable's code. We recommend using the Zero-to-Nix installer. Refer to our docs for how to [install and configure Nix](nix/install.md).

After configuration, familiarize yourself with the following commands:

Expand All @@ -10,4 +10,31 @@ After configuration, familiarize yourself with the following commands:

`nix run "composable#fmt"` format all files.

`nix build "composable#unit-tests"` check unit tests.
`nix build "composable#unit-tests"` check unit tests.


### Per commit examples


```shell
# run Composable node
nix run "github:ComposableFi/composable/<COMMIT>" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed
````

```shell
# run local Picasso DevNet (for CosmWasm development)
nix run "github:ComposableFi/composable/<COMMIT>#devnet-picasso" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed
```

```shell
# CosmWasm on Substrate CLI tool
nix run "github:ComposableFi/composable/<COMMIT>#ccw" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed
```

```shell
# run cross chain devnet with Dotsama and Cosmos nodes
nix run "github:ComposableFi/composable/<COMMIT>#devnet-xc-fresh" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed
# or same with docker
nix build "github:ComposableFi/composable/<COMMIT>#devnet-xc-image" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed \
&& docker load --input result && docker run -it --entrypoint bash devnet-xc:latest -c /bin/devnet-xc-fresh
```
Loading