-
Notifications
You must be signed in to change notification settings - Fork 217
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
stack.yaml: Bump cardano-node to 1.28.0 tag #2778
Conversation
0cd24a2
to
f4a2720
Compare
@rvl If you want to keep the 18.4 resolver I think either you our some guidance is needed here. I tried to bump haskell.nix, but don't think it worked:
I could try switching to an older LTS if you want though. |
Actually, CI pushed 1749f8d, but there are now some of these errors in buildkite:
Some of the other errors I should probably be able to figure out… |
Yeah there were evaluation errors because some necessary packages were removed from the snapshot:
Fixed now. |
82346ea
to
da4dbb4
Compare
cda903c
to
ab7c1fb
Compare
ab7c1fb
to
c55b1ff
Compare
73bc7b8
to
d7120d0
Compare
bors r+ |
2778: stack.yaml: Bump cardano-node to 1.28.0 tag r=Anviking a=rvl ### Issue Number ADP-1025 ### Overview - [x] Bump stack.yaml resolver to input-output-hk/cardano-haskell#50 - [x] Update cabal.project - [x] Fix type errors resulting from LTS-18.4 bump. - [ ] Does ` nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"` still work? ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
Build failed: #expected |
bors r+ |
2778: stack.yaml: Bump cardano-node to 1.28.0 tag r=Anviking a=rvl ### Issue Number ADP-1025 ### Overview - [x] Bump stack.yaml resolver to input-output-hk/cardano-haskell#50 - [x] Update cabal.project - [x] Fix type errors resulting from LTS-18.4 bump. - [x] Does ` nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"` still work? ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
Build failed: |
7f059ee
to
b77c054
Compare
bors r+ |
2778: stack.yaml: Bump cardano-node to 1.28.0 tag r=Anviking a=rvl ### Issue Number ADP-1025 ### Overview - [x] Bump stack.yaml resolver to input-output-hk/cardano-haskell#50 - [x] Update cabal.project - [x] Fix type errors resulting from LTS-18.4 bump. - [x] Does ` nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"` still work? ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
Build failed:
#expected |
For some reason, the executables have gained a dependency on |
It still says "cached failure" on the windows builds 🤔 Shouldn't it have re-run? |
Replace deleteCascadeWhere with deleteCascade deleteCascadeWhere is deprecated with the suggestion: > You can now set cascade behavior directly on entities in the quasiquoter. https://hackage.haskell.org/package/persistent-2.13.0.2/docs/Database-Persist-Class-DeleteCascade.html We do have OnDeleteCascade in our TH files. So it sounds like this should still cascade correctly. I also tested manually on alonzo testnet, with a custom wallet build for access to W.deleteWallet (normally the entire db is deleted, but this function is not called) 1. Restore wallet with funds 2. Inspect sqlite DB manually 3. W.deleteWallet 4. Inspect sqlite DB manually The results were: In step 2 there were several checkpoints. In step 4 they were gone. W.deleteWallet does not directly delete anything from the checkpoints table. So it seems to work.
The stack build wants Typeable on the NetworkDiscriminant type variable.
The failure were most definitely just caused by some underlying generator being changed from the dependency bumps.
This is rather messy. gcc puts it's libraries into a architecture specific subdirectory which makes this rather fragile. On top of that the library we depend on brings in more dependencies. We have a slightly similar situation with remote-iserv, which we can find in the remote-iserv.postInstall of the haskell.nix overlays/windows.nix. The solution there is to just take the glob all approach and find all .dlls and copy them, not the prettiest but a workable for a tool like remote-iserv. In this case we might want to do something smarter akin to the following pseudo code: candidatePackage = [ pkgs.libsodium-vrf pkgs.buildPackages.gcc.cc ... ] knownDlls = concat [ find pkg -name "*.dll" | pkg <- candidatePackage ] projectDlls = <paths to all already pacakged dlls and exes> for dll in projectDlls; do for dep in $(strings dll | grep ".dll"); do match = grep "$dep\$" knownDlls if match; then ln -s $match $out/bin fi done done
a6feacf
to
9a4fded
Compare
bors r+ |
2778: stack.yaml: Bump cardano-node to 1.28.0 tag r=rvl a=rvl ### Issue Number ADP-1025 ### Overview - [x] Bump stack.yaml resolver to input-output-hk/cardano-haskell#50 - [x] Update cabal.project - [x] Fix type errors resulting from LTS-18.4 bump. - [x] Does ` nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"` still work? ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Moritz Angermann <[email protected]>
Build failed:
These should be fixed with 50b4589. They don't appear in the non-bors buildkite build. Is the cache simply messed up, or something? |
Also, seems like we still have
So my 9a4fded didn't work But, ah, I might just have gotten the component name wrong? |
This should hopefully ensure Moritz's fix also applies to the cardano-launcher:unit failure. > 002a:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\nix\\store\\51vhwb1fdckhx4xiammryf97ip8m3h9d-cardano-wallet-launcher-test-unit-x86_64-w64-mingw32-2021.6.11\\bin\\unit.exe") not found > 002a:err:module:attach_dlls Importing dlls for L"Z:\\nix\\store\\51vhwb1fdckhx4xiammryf97ip8m3h9d-cardano-wallet-launcher-test-unit-x86_64-w64-mingw32-2021.6.11\\bin\\unit.exe" failed, status c0000135 > builder for '/nix/store/7ssdwhn0gani60q7pwkw13aavbm4ygw1-cardano-wallet-launcher-test-unit-x86_64-w64-mingw32-2021.6.11-check-x86_64-w64-mingw32.drv' failed with exit code 53
9a4fded
to
3fa661f
Compare
bors try |
tryBuild succeeded: |
0dff297
to
3fa661f
Compare
bors r+ |
2778: stack.yaml: Bump cardano-node to 1.28.0 tag r=rvl a=rvl ### Issue Number ADP-1025 ### Overview - [x] Bump stack.yaml resolver to input-output-hk/cardano-haskell#50 - [x] Update cabal.project - [x] Fix type errors resulting from LTS-18.4 bump. - [x] Does ` nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"` still work? ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Moritz Angermann <[email protected]>
Build failed:
|
2763: Basic Alonzo support r=Anviking a=Anviking # Issue Number ADP-1025 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] Ensure the wallet can run in Alonzo - [x] Get all integration tests green - [x] Fix warnings - [x] Cleanup - <s>[ ]Test that addresses don't affect the min ada value</s> Existing integration tests should be enough - [x] <s>Does it still work on testnet? -> The ledger function in question cannot know the current network, so would be highly surprising if it didn't work on testnet </s> - [x] Update MinUTxOValue properties to generate both ShelleyMA and Alonzo cases - [ ] Go through everything from start to finish - [x] Run integration tests on both Mary and alonzo - [x] Check that the Mary era is actually picked up, and it's not just running Alonzo twice - <s>[ ] Using cardano-node 1.28.0 tag</s> -> #2778 - <s>[x] Cabal build also works</s> -> #2776 # Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2763) - [Cabal Nightly build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Falonzo) (use environment variable `step=cabal` when creating a new build) Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
Issue Number
ADP-1025
Overview
nix-shell nix/cabal-shell.nix --run "scripts/buildkite/cabal-ci.sh build"
still work?Comments