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

Dz/xcmp/traps rebased #2775

Merged
merged 9 commits into from
Dec 22, 2022
Merged

Dz/xcmp/traps rebased #2775

merged 9 commits into from
Dec 22, 2022

Conversation

vimukthi-git
Copy link
Contributor

@vimukthi-git vimukthi-git commented Dec 22, 2022

Rebasing #2430 for release v2

@github-actions
Copy link

github-actions bot commented Dec 22, 2022

Visit the preview URL for this PR (updated for commit 9ba6beb):

https://composable-docs--false-bvmz1swb.web.app

(expires Thu, 29 Dec 2022 12:59:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 9f02f9c6590528fd01c58c1497c91fed08e5194c

@github-actions
Copy link

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/ae1e31ace3d16fc8262528d7159721c2d3db0c40 --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/ae1e31ace3d16fc8262528d7159721c2d3db0c40#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/ae1e31ace3d16fc8262528d7159721c2d3db0c40#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.

@github-actions
Copy link

github-actions bot commented Dec 22, 2022

@github-actions
Copy link

github-actions bot commented Dec 22, 2022

@github-actions
Copy link

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/54a64ca87d51c08583332f5e06ab45fb18cbc9cb --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/54a64ca87d51c08583332f5e06ab45fb18cbc9cb#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/54a64ca87d51c08583332f5e06ab45fb18cbc9cb#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.

dzmitry-lahoda and others added 9 commits December 22, 2022 13:54
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Co-authored-by: obsessed-cake <116171426+obsessed-cake@users.noreply.github.com>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Co-authored-by: obsessed-cake <116171426+obsessed-cake@users.noreply.github.com>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Co-authored-by: obsessed-cake <116171426+obsessed-cake@users.noreply.github.com>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@github-actions
Copy link

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/9ba6beb18035c5d91f3c0dd95c270c13a9517404 --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/9ba6beb18035c5d91f3c0dd95c270c13a9517404#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/9ba6beb18035c5d91f3c0dd95c270c13a9517404#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.

Copy link
Contributor

@Dominique-Roth Dominique-Roth left a comment

Choose a reason for hiding this comment

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

2 minor issues.
Still need to test functionality.

docs/docs/internal/xcmp/xcm-examples.md Show resolved Hide resolved
docs/docs/internal/xcmp/xcm-examples.md Show resolved Hide resolved
Copy link
Contributor

@Martin-Kiss Martin-Kiss left a comment

Choose a reason for hiding this comment

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

Other than the issues already raised by @Dom-Roth LGTM

@KaiserKarel KaiserKarel merged commit 1ddb7da into main Dec 22, 2022
@KaiserKarel KaiserKarel deleted the dz/xcmp/traps-rebased branch January 31, 2023 18:01
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.

None yet

5 participants