Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce substrate fork to allow pooling wasm strategy #3125

Merged

Conversation

hussein-aitlahcen
Copy link
Contributor

This PR reintroduce Composable substratre fork with paritytech/substrate#13298 cherry-picked back to 0.9.33.
It also fixes crane command for built artifacts (shrinked to minimum requirement, namely composable binary only).

@hussein-aitlahcen hussein-aitlahcen marked this pull request as ready for review February 6, 2023 13:35
@hussein-aitlahcen hussein-aitlahcen requested review from a team February 6, 2023 13:35
@hussein-aitlahcen hussein-aitlahcen requested a review from a team as a code owner February 6, 2023 13:35
Copy link
Contributor

@vimukthi-git vimukthi-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Nix commands for this PR

NOTE: You can also run our Nix commands in Docker. See the bottom of this comment.

Make sure you have setup the Composable community cache:

(you only need to run it once on your machine)

nix-shell -p cachix --command "cachix use composable-community"

Show all possible apps, shells and packages:

nix flake show "github:ComposableFi/composable/c5640af3fd44b0b8d8e1cc7c09b486e2c255df17 --allow-import-from-derivation

Run the Composable node alone:

nix run "github:ComposableFi/composable/c5640af3fd44b0b8d8e1cc7c09b486e2c255df17#composable-node" -L

Spin up a local devnet:

nix run "github:ComposableFi/composable/c5640af3fd44b0b8d8e1cc7c09b486e2c255df17#devnet" -L --option sandbox relaxed --show-trace

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/c5640af3fd44b0b8d8e1cc7c09b486e2c255df17#devnet-xcvm" -L

View the docs:

nix run ".#docs-server"

Run this without Nix in Docker.

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/c5640af3fd44b0b8d8e1cc7c09b486e2c255df17#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"

NOTE: You can swap devnet-dali in the command above with any Nix package
For more info on how to use Nix, check out our Nix docs
Note that the initial build may take about one hour if it has not been cached by our CI yet. Once it is cached, builds should take about one minute. We currently do not provide build caches for ARM machines such as M1 Macs, but building on ARM is supported.

g-la-d-os added a commit that referenced this pull request Feb 7, 2023
@g-la-d-os g-la-d-os merged commit f553088 into ComposableFi:main Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants