Open scherrey opened 1 month ago
i think maybe the bug is in your implementation of BalanceAdapter.from_tuple()
? https://github.com/adapter-fi/AdapterVault/commit/d7fbf6b28cb78895e8ddebbda5be06895b4381fc#diff-a9b84898eba76eb6d9fb13497ebefe93ee7ab2d201f54741dba470f64a257fa5R84 looks like it has a trailing comma which might be unintentional
self.adapter = Address(t[0]), # <- trailing comma
Vyper 0.3.10 and titanoboa @ git+https://github.com/vyperlang/titanoboa@a06e134b25c8206cb4d6d76521e6705111e92c68
In the unit test, test_allocate_balance_adapter_tx, the types that get returned back shift around unnaturally.
Also mypy complains about titanoboa.
test_yield_bearing_asset_funds_allocator.py
YieldBearingAssetFundsAllocator.vy
Execution of test run: