Skip to content

Commit

Permalink
fix: stop raising during proxy detection (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored Feb 17, 2025
1 parent 5d971c9 commit 309d01a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/py/apepay/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ def normalize_address(cls, value: Any) -> AddressType:

@property
def contract(self) -> ContractInstance:
return MANIFEST.StreamManager.at(self.address)
return self.chain_manager.contracts.instance_at(
self.address,
contract_type=MANIFEST.StreamManager.contract_type,
detect_proxy=False,
)

def __repr__(self) -> str:
return f"<apepay_sdk.StreamManager address={self.address}>"
Expand Down

0 comments on commit 309d01a

Please sign in to comment.