Skip to content
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

chore: upgrade to fedimint 0.3 #18

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

harsh-ps-2003
Copy link
Contributor

Upgrading custom-module example to fedimint 0.3.0 while also fixing nix develop failing on MacOS.

On running cargo build it compiles successfully.

/// Migrates the database from version 0 to version 1 by
/// removing `DummyClientFundsKeyV0` and inserting `DummyClientFundsKeyV1`.
/// The new key/value pair has an `Amount` as the value.
pub async fn migrate_to_v1(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thought (no need to do it in this PR): we would probably be better of if the example module was fedimint-module-empty and not dummy module.

flakeboxLib = flakebox.lib.${system} { };
rustSrc = flakeboxLib.filterSubPaths {
root = builtins.path {
name = "fedimint-roastr";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: There's nothing about "roastr" around here. :)

check_forbidden_dependencies = builtins.readFile ./nix/check-forbidden-deps.sh;
};
lib = pkgs.lib;
flakeboxLib = flakebox.lib.${system} { };
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should probably keep the previous config passed to flakebox.lib.${system}

@dpc dpc merged commit fb494bf into fedimint:main Apr 24, 2024
6 of 13 checks passed
@dpc
Copy link
Collaborator

dpc commented Apr 24, 2024

Seems like the failing stuff was never working, so merging as is.

@harsh-ps-2003 harsh-ps-2003 deleted the fedimint-0.3 branch April 24, 2024 20:46
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.

2 participants