-
Notifications
You must be signed in to change notification settings - Fork 66
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
Improve RuntimeTrait DX #2625
Improve RuntimeTrait DX #2625
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
Nix commands for this PRNOTE: 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:
Run the Composable node alone:nix run "github:ComposableFi/composable/23da39d46f00b54778f2bd6a5abb47bca8027eb5#composable-node" -L Spin up a local devnet:nix run "github:ComposableFi/composable/23da39d46f00b54778f2bd6a5abb47bca8027eb5#devnet" -L --option sandbox relaxed --show-trace Spin up a local XCVM devnet:nix run "github:ComposableFi/composable/23da39d46f00b54778f2bd6a5abb47bca8027eb5#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/23da39d46f00b54778f2bd6a5abb47bca8027eb5#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes" NOTE: You can swap 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. |
6ec28b8
to
3180f8c
Compare
8848b91
to
23da39d
Compare
mergify refresh |
2 similar comments
mergify refresh |
mergify refresh |
Improves the DX of
RuntimeTrait
. Thewhere
bounds no longer need to be duplicated at the use site whenRuntimeTrait
is used as a constraint.(the branch was supposed to be called
ben/runtime-trait-improvements
, not reward, it's been a long day)