-
Notifications
You must be signed in to change notification settings - Fork 57
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
Docs and nodejs #2582
Docs and nodejs #2582
Conversation
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.
devskim found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
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.
Excellent PR with many good contributions like docs and tests. Some doubts though about client mode. Left some comments. Noted CI has many failures
ant-bootstrap/tests/cache_tests.rs
Outdated
tokio::fs::write(&cache_path, "invalid json content").await?; | ||
|
||
// Create a new cache store - it should handle the corruption gracefully |
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.
I find these comments to be very helpful when reading tests. Any specific reason to remove those?
ant-local-testnet-action
Outdated
@@ -0,0 +1 @@ | |||
Subproject commit 600912168508b206c51f974440d2316b06618a98 |
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.
What is this file needed for?
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.
This seemed to be a ci file, but I had a git issue so could not tell, so I left it in place in case it was used
autonomi/src/client/data/public.rs
Outdated
header.kind | ||
); | ||
Err(NetworkError::RecordKindMismatch(RecordKind::Chunk).into()) | ||
ClientMode::ReadOnly => Err(PutError::NoWallet), |
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.
What does the mode protect us against? I'm wondering if it would be simpler without them?
autonomi/src/client/mod.rs
Outdated
} | ||
|
||
/// Check if the client has write access (i.e. has a wallet) | ||
pub fn check_write_access(&self) -> Result<(), PutError> { |
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.
I feel like all this complexity can be removed if we get rid of the mode
ant-local-testnet-action
Outdated
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.
Why is this a git submodule?
395a13a
to
f92438c
Compare
Node.js Integration, Documentation Enhancement, and AttoTokens Fix
Overview
This PR introduces comprehensive documentation, Node.js integration capabilities, and fixes a critical issue with AttoTokens parsing. The changes aim to improve developer experience, expand platform accessibility, and enhance system reliability.
Key Changes
Documentation Enhancements
Node.js Integration
Bug Fixes
Infrastructure Improvements
.gitignore
to handle Node.js and documentation artifactsTesting
Impact
These changes significantly improve the project's accessibility and reliability:
Breaking Changes
None. All changes are backward compatible.
Future Work
Checklist