Skip to content

Commit

Permalink
fix: s3 revert on opti (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Nov 22, 2023
1 parent ef560d4 commit 5e14dc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ async def get_assets_metadata(vault_v2: list) -> dict:


async def get_assets_dynamic(registry_adapter: Contract, addresses: list) -> list:
data = await asyncio.gather(*[registry_adapter.assetsDynamic.coroutine([address]) for address in addresses])
return [asset for address_data in data for asset in address_data]
return await asyncio.gather(*[registry_adapter.assetDynamic.coroutine(address) for address in addresses])


async def get_registry_adapter():
Expand Down

0 comments on commit 5e14dc1

Please sign in to comment.