Skip to content

#CU-NIX-31 subxt gen prove no need complex setup#2386

Merged
mergify[bot] merged 5 commits intomainfrom
dz/subxt/script-scale
Nov 30, 2022
Merged

#CU-NIX-31 subxt gen prove no need complex setup#2386
mergify[bot] merged 5 commits intomainfrom
dz/subxt/script-scale

Conversation

@dzmitry-lahoda
Copy link
Contributor

@dzmitry-lahoda dzmitry-lahoda commented Nov 22, 2022

Issue

Additional Changes

Checklist

  • Updated the rust/typescript docs.
  • Updated the docs/.

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda dzmitry-lahoda requested review from a team as code owners November 22, 2022 13:56
@vercel
Copy link

vercel bot commented Nov 22, 2022

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

Name Status Preview Updated
pablo-nightly ✅ Ready (Inspect) Visit Preview Nov 26, 2022 at 7:03PM (UTC)
picasso-nightly ✅ Ready (Inspect) Visit Preview Nov 26, 2022 at 7:03PM (UTC)

@github-actions
Copy link

github-actions bot commented Nov 22, 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/02257422800e704be658b08c89a60d8dd7dc81d4 --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/02257422800e704be658b08c89a60d8dd7dc81d4#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/02257422800e704be658b08c89a60d8dd7dc81d4#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 Author

@obsessed-cake would work on this to progress on client generation

@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 22, 2022 15:08 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 22, 2022 17:02 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 23, 2022 11:54 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 12:09 Inactive
@dzmitry-lahoda
Copy link
Contributor Author

@obsessed-cake please continue working on it.

  • merge this PR as your own
  • prove script can run in nix in docker as per next task
  • nixify script if docker stuff works - please use same ports our devnet uses, do not use new ports

@dzmitry-lahoda dzmitry-lahoda changed the title #CU-NIX-31 #draft #wip subxt gen #CU-NIX-31 #draft #wip subxt gen prove no need complex setup Nov 24, 2022
@obsessed-cake obsessed-cake changed the title #CU-NIX-31 #draft #wip subxt gen prove no need complex setup #CU-NIX-31 subxt gen prove no need complex setup Nov 25, 2022
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 25, 2022 17:09 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 25, 2022 17:09 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 26, 2022 18:58 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 26, 2022 19:03 Inactive
Copy link
Contributor

@andyjsbell andyjsbell left a comment

Choose a reason for hiding this comment

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

lgtm 👍

mergify bot added a commit that referenced this pull request Nov 30, 2022
@mergify mergify bot merged commit 0fd2f65 into main Nov 30, 2022
@mergify mergify bot deleted the dz/subxt/script-scale branch November 30, 2022 17:54
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.

4 participants