-
Notifications
You must be signed in to change notification settings - Fork 75
[cu-33e4tdu] Attempt#2 Change order of execution of lock #2020
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
Conversation
Nix commands for this PRMake 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/6d01ce17156b23a04ebf738473040d30528ef440#composable-node" -L Spin up a local devnet:nix run "github:ComposableFi/composable/6d01ce17156b23a04ebf738473040d30528ef440#devnet" -L --option sandbox relaxed --show-trace Spin up a local XCVM devnet:nix run "github:ComposableFi/composable/6d01ce17156b23a04ebf738473040d30528ef440#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/6d01ce17156b23a04ebf738473040d30528ef440#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. |
Codecov ReportBase: 21.40% // Head: 21.40% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2020 +/- ##
==========================================
- Coverage 21.40% 21.40% -0.01%
==========================================
Files 419 419
Lines 153158 153159 +1
==========================================
Hits 32789 32789
- Misses 120369 120370 +1
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
9bfa0f2
to
6d01ce1
Compare
From ClickUp
We either need this Tx to be |
@PoisonPhang As explained on slack, Locks have scopes, initially we had the scope as |
Re tested the behavior of this ticket: https://app.clickup.com/t/33e4tdu using the current branch locally. All the issues were fixed and this PR can now be merged. |
@Mergifyio refresh |
✅ Pull request refreshed |
Description
Changing order of locking to be after the balance has been updated with the new lock amount.