Skip to content

Conversation

dzmitry-lahoda
Copy link
Contributor

Signed-off-by: Dzmitry Lahoda dzmitry@lahoda.pro

Description

  • encoding of XCM examples I use often

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda dzmitry-lahoda requested review from a team as code owners October 18, 2022 06:31
@github-actions
Copy link

github-actions bot commented Oct 18, 2022

Nix commands for this PR

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

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

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

Are you on macOS, or do you not have Nix installed? No worries, you can also run these commands in Docker like this:

(you only need to run the first command once on your machine)

docker volume create nix

docker run --privileged --rm -v nix:/nix  -v /var/run/docker.sock:/var/run/docker.sock -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/composable/a75541755f335df2f001f08adb15709982b8f425#devnet-up -L --option cores 8 --extra-experimental-features nix-command --extra-experimental-features flakes"

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

@aeryz aeryz left a comment

Choose a reason for hiding this comment

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

I like how links to examples directly take you to the exact place and run the extrinsic. Well done!

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda
Copy link
Contributor Author

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 18, 2022

refresh

✅ Pull request refreshed

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda dzmitry-lahoda requested a review from a team as a code owner October 18, 2022 15:39
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Base: 21.40% // Head: 21.40% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (4891f84) compared to base (1749af3).
Patch has no changes to coverable lines.

❗ Current head 4891f84 differs from pull request most recent head a755417. Consider uploading reports for the commit a755417 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2008      +/-   ##
==========================================
- Coverage   21.40%   21.40%   -0.01%     
==========================================
  Files         419      419              
  Lines      153158   153158              
==========================================
- Hits        32789    32788       -1     
- Misses     120369   120370       +1     
Impacted Files Coverage Δ
code/utils/price-feed/src/backend.rs 51.04% <0.00%> (-0.70%) ⬇️
code/parachain/frame/airdrop/src/lib.rs 55.02% <0.00%> (-0.17%) ⬇️
code/parachain/frame/account-proxy/src/lib.rs 97.79% <0.00%> (+0.31%) ⬆️
...chain/frame/composable-traits/src/lending/tests.rs 99.43% <0.00%> (+0.56%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dzmitry-lahoda
Copy link
Contributor Author

dzmitry-lahoda commented Oct 20, 2022

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 20, 2022

refresh

✅ Pull request refreshed

@dzmitry-lahoda
Copy link
Contributor Author

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 20, 2022

refresh

✅ Pull request refreshed

@dzmitry-lahoda
Copy link
Contributor Author

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Oct 20, 2022

refresh

✅ Pull request refreshed

mergify bot added a commit that referenced this pull request Oct 20, 2022
@mergify mergify bot merged commit 09f1419 into main Oct 20, 2022
@mergify mergify bot deleted the dz/xcmp-examples branch October 20, 2022 19:57
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.

6 participants