Skip to content

[CU-34ag8fu] integrate fork-off-substrate into mono repo#2628

Merged
mergify[bot] merged 9 commits intomainfrom
andres/fork-off
Dec 13, 2022
Merged

[CU-34ag8fu] integrate fork-off-substrate into mono repo#2628
mergify[bot] merged 9 commits intomainfrom
andres/fork-off

Conversation

@andresmechali
Copy link
Contributor

@itsbobbyzz
Copy link

@vercel
Copy link

vercel bot commented Dec 8, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated
pablo-nightly ⬜️ Ignored (Inspect) Dec 13, 2022 at 0:13AM (UTC)
picasso-nightly ⬜️ Ignored (Inspect) Dec 13, 2022 at 0:13AM (UTC)

@github-actions
Copy link

github-actions bot commented Dec 8, 2022

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

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/ca6bf4d38f672977033690907cd2ab1039299640#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/ca6bf4d38f672977033690907cd2ab1039299640#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
Copy link
Contributor

may you demo us how it works? because Vim asked couple of times to prove modification works on fork. i proved other means via tests, but having a way to migrate on real chaindata may suit sometimes :)

@andresmechali andresmechali marked this pull request as ready for review December 9, 2022 14:31
@andresmechali andresmechali requested a review from a team as a code owner December 9, 2022 14:31
@andresmechali andresmechali requested a review from a team December 9, 2022 14:31
@andresmechali andresmechali requested a review from a team as a code owner December 9, 2022 14:31
@andresmechali andresmechali requested a review from a team December 9, 2022 14:31
@andresmechali andresmechali requested a review from a team as a code owner December 9, 2022 14:31
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, verified that this works

@andresmechali andresmechali changed the title [CU-34ag8fu] wip: integrate fork-off-substrate-fork into Mono repo [CU-34ag8fu] integrate fork-off-substrate into mono repo Dec 13, 2022
mergify bot added a commit that referenced this pull request Dec 13, 2022
@mergify mergify bot merged commit a91fb41 into main Dec 13, 2022
@mergify mergify bot deleted the andres/fork-off branch December 13, 2022 13:50
@dzmitry-lahoda
Copy link
Contributor

chopstick does fork and makes it easier and faster AcalaNetwork/chopsticks#27

@dzmitry-lahoda
Copy link
Contributor

zombienet can do it too using input from non forked fork of substrate

@dzmitry-lahoda
Copy link
Contributor

i predit we produced throw away code which may not be used for next release. AcalaNetwork/chopsticks#27 easier to run and check

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