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

feat: massive cleanup of autonomi API repo structure #2647

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

grumbach
Copy link
Member

  • The 4 datatypes are now easy to find
  • Error types are where they should be
  • The high level data types are in they separate module

autonomi/src/client/datatypes/scratchpad.rs Fixed Show fixed Hide fixed
let lock_guard = wallet.lock().await;
debug!("Locked wallet");

// TODO: the error might contain some succeeded quote payments as well. These should be returned on err, so that they can be skipped when retrying.

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
debug!("Locked wallet");

// TODO: the error might contain some succeeded quote payments as well. These should be returned on err, so that they can be skipped when retrying.
// TODO: retry when it fails?

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@b-zee
Copy link
Contributor

b-zee commented Jan 21, 2025

Perhaps rename /datatypes/ to /data_types/.

let scratch = Scratchpad::new(client_pk, content_type);
let vault_xor = scratch.address().xorname();

// TODO: define default size of Scratchpad

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@grumbach grumbach enabled auto-merge January 21, 2025 07:39
@grumbach grumbach added this pull request to the merge queue Jan 21, 2025
Merged via the queue into maidsafe:main with commit fe73ccd Jan 21, 2025
25 checks passed
@grumbach grumbach deleted the cleanup_autonomi_api branch January 21, 2025 08:50
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