Repository navigation
v1.2.1 - The (un)necessary refactor
🔧 Refactor
• Removed unnecessary current block fetching from get_wallet_blocks() method
• Simplified get_wallet_blocks() to return only transaction block numbers
• Cleaned up method logic by removing redundant fetch_block("now") call
📝 Changes
• Updated version from 1.2 to 1.2.1 in setup.py
• Streamlined get_wallet_blocks() implementation for better performance
• Updated corresponding unit tests to reflect the refactored behavior
🧪 Testing
• Updated test expectations to match new get_wallet_blocks() behavior
• Removed mock dependencies for fetch_block in related tests
• Minor code formatting improvements
This patch release refactors the get_wallet_blocks() method to be more focused and efficient by removing the automatic inclusion of the current block number, providing cleaner and more predictable results for block analysis workflows.
Full Changelog: v1.2...v1.2.1