Skip to content

Conversation

@ALiberalVoluntarist
Copy link
Collaborator

Description of Changes

Added

  • Introduced SyncHttpClient for synchronous HTTP operations
  • Extended ARC broadcaster with synchronous methods: sync_broadcast, check_transaction_status, and categorize_transaction_status
  • Updated ARC configuration to include optional SyncHttpClient support
  • Added examples, tests, and utilities for synchronous transactions

Changed

  • Updated SyncHttpClient to inherit from HttpClient for consistency
  • Refactored fetch into higher-level HTTP methods: get and post
  • Simplified ARC broadcaster by using get and post methods for sync operations
  • Enhanced error handling and response processing in ARC transactions
  • Updated tests and examples to align with refactored SyncHttpClient

Testing Procedure

Describe the tests you've added or any testing steps you've taken.

  • [x ] I have added new unit tests
  • [x ] All tests pass locally
  • [ x] I have tested manually in my local environment

Checklist:

  • [ x] I have performed a self-review of my own code
  • [ x] I have made corresponding changes to the documentation
  • [x ] My changes generate no new warnings
  • [x ] I have updated CHANGELOG.md with my changes
  • [x ] I have run the linter

- Introduced `SyncHttpClient` for synchronous HTTP operations.
- Extended ARC broadcaster with synchronous methods: `sync_broadcast` and `check_transaction_status`.
- Updated ARC configuration to include optional `SyncHttpClient`.
- Added examples, tests, and utilities for synchronous transactions.
- Updated `SyncHttpClient` to inherit from `HttpClient` for consistency.
- Refactored `fetch` into higher-level HTTP methods: `get` and `post`.
- Simplified ARC broadcaster by using `get` and `post` methods for sync operations.
- Enhanced error handling and response processing in ARC transactions.
- Updated tests and examples to align with refactored `SyncHttpClient`.
- Added core libraries: `pycryptodomex`, `coincurve`, `aiohttp`, `requests`, `pytest`, and `setuptools` to support project functionality and testing.
- Removed unused and outdated commented test cases.
- Simplified file content for better readability and maintenance.
Copy link
Collaborator

@voyager1708 voyager1708 left a comment

Choose a reason for hiding this comment

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

OK

@voyager1708 voyager1708 merged commit 4d84ff2 into master Jul 1, 2025
4 checks passed
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.

3 participants