-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve auto-utils&consensus #109
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
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.
One small nit
User description
Improve auto-utils&consensus
PR Type
Enhancement, Tests
Description
account
function to retrieve account data with error handling.account
function.CHAIN_TYPES
into the API creation process for better network configuration.Changes walkthrough 📝
1 files
account.test.ts
Add tests for balance functions in account module
packages/auto-consensus/test/account.test.ts
12 files
account.ts
Implement account data retrieval function with error handling
packages/auto-consensus/src/account.ts
account
function to query account data.balances.ts
Refactor balance retrieval to utilize account function
packages/auto-consensus/src/balances.ts
account
function.index.ts
Export account module in index
packages/auto-consensus/src/index.ts
account
module.info.ts
Enhance RPC and query functions with generics and new utilities
packages/auto-consensus/src/info.ts
account.ts
Define types for account data structures
packages/auto-consensus/src/types/account.ts
balance.ts
Define types for balance data structures
packages/auto-consensus/src/types/balance.ts
block.ts
Define types for block data structures
packages/auto-consensus/src/types/block.ts
index.ts
Export balance types in index
packages/auto-consensus/src/types/index.ts
parse.ts
Add parseBalance utility function with error handling
packages/auto-consensus/src/utils/parse.ts
parseBalance
utility function.query.ts
Refactor query method path to use API instance directly
packages/auto-consensus/src/utils/query.ts
api.ts
Integrate CHAIN_TYPES into API creation process
packages/auto-utils/src/api.ts
CHAIN_TYPES
into API creation.network.ts
Define CHAIN_TYPES for network configurations
packages/auto-utils/src/types/network.ts
CHAIN_TYPES
definition for network types.