Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Replicate getLimits call in rust that hangs. #111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tamaralipows
Copy link

@tamaralipows tamaralipows commented Nov 14, 2024

Traces:
  [35870] BalancerV2SwapAdapterTest::testGetLimits()
    ├─ [26532] BalancerV2SwapAdapter::getLimits(0x9232a548dd9e81bac65500b5e0d918f8ba93675c000200000000000000000423, WETH: [0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], 0xfd0205066521550D7d7AB19DA8F72bb004b4C341)
    │   ├─ [2927] IVault::getPool(0x9232a548dd9e81bac65500b5e0d918f8ba93675c000200000000000000000423) [staticcall]
    │   │   └─ ← [Return] 0x9232a548DD9E81BaC65500b5e0d918F8Ba93675C, 2
    │   ├─ [271] 0x9232a548DD9E81BaC65500b5e0d918F8Ba93675C::getBptIndex() [staticcall]
    │   │   └─ ← [Revert] EvmError: Revert
    │   ├─ [271] 0x9232a548DD9E81BaC65500b5e0d918F8Ba93675C::getActualSupply() [staticcall]
    │   │   └─ ← [Revert] EvmError: Revert
    │   ├─ [269] 0x9232a548DD9E81BaC65500b5e0d918F8Ba93675C::getVirtualSupply() [staticcall]
    │   │   └─ ← [Revert] EvmError: Revert
    │   ├─ [13081] IVault::getPoolTokens(0x9232a548dd9e81bac65500b5e0d918f8ba93675c000200000000000000000423) [staticcall]
    │   │   └─ ← [Return] [0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xfd0205066521550D7d7AB19DA8F72bb004b4C341], [237686920387949633593 [2.376e20], 130506897225056594977070079 [1.305e26]], 21186975 [2.118e7]
    │   └─ ← [Return] [71306076116384890077 [7.13e19], 39152069167516978493121023 [3.915e25]]
    ├─ [0] console::log(true) [staticcall]
    │   └─ ← [Stop] 
    ├─ [0] console::logBytes(0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000003dd92126e9c163cdd0000000000000000000000000000000000000000002062c5ec24c7e9c0e1e1ff) [staticcall]
    │   └─ ← [Stop] 
    └─ ← [Return] 

Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 456.65ms (1.24ms CPU time)

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.

1 participant