atomicals / atomicals-electrumx

Electrumx Atomicals Indexer Server
MIT License
187 stars 55 forks source link

Fix blockchain.atomicals.transaction bug #187

Closed shadowv0vshadow closed 6 months ago

shadowv0vshadow commented 6 months ago
WARNING:SessionManager:Request <Request POST /proxy/blockchain.atomicals.transaction > has failed with exception: TypeError("AtomicalsTransferBlueprintBuilder.__init__() missing 1 required positional argument: 'is_custom_coloring_activated'")
WARNING:SessionManager:Traceback (most recent call last):
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_middleware.py", line 61, in middleware_handler
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_middleware.py", line 115, in middleware_handler
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_session.py", line 1792, in atomicals_transaction
    return await self.session_mgr.get_transaction_detail(txid)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/session.py", line 1058, in get_transaction_detail
    blueprint_builder = AtomicalsTransferBlueprintBuilder(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AtomicalsTransferBlueprintBuilder.__init__() missing 1 required positional argument: 'is_custom_coloring_activated'
WARNING:SessionManager:Traceback (most recent call last):
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_middleware.py", line 61, in middleware_handler
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_middleware.py", line 115, in middleware_handler
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/http_session.py", line 1792, in atomicals_transaction
    return await self.session_mgr.get_transaction_detail(txid)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/skywalker/atomicals-electrumx/electrumx/server/session.py", line 1174, in get_transaction_detail
    "value": output_ft.satvalue
             ^^^^^^^^^^^^^^^^^^
AttributeError: 'AtomicalColoredOutputFt' object has no attribute 'satvalue'