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

add queryUniv3TicksSuperCompactWithBoundaries #2

Open
wants to merge 2 commits into
base: linea
Choose a base branch
from

Conversation

LuZHANG1109
Copy link

[PASS] test_queryUniv3TicksSuperCompact2() (gas: 3330906)
Logs:
  0xfffffffffffffffffffffffffffece88fffffffffffffffffffff865eb951192fffffffffffffffffffffffffffeb33000000000000000000000079a146aee6e

Traces:
  [3330906] UniV3QuoteTest::test_queryUniv3TicksSuperCompact2()
    ├─ [0] VM::envString("ETH_RPC_URL") [staticcall]
    │   └─ ← [Return] <env var value>
    ├─ [0] VM::createSelectFork("https://eth.llamarpc.com")
    │   └─ ← [Return] 0
    ├─ [3171099] → new QueryData@0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f
    │   └─ ← [Return] 15838 bytes of code
    ├─ [93677] QueryData::queryUniv3TicksSuperCompact2(0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A, 250, -90000 [-9e4], -70000 [-7e4]) [staticcall]
    │   ├─ [279] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::tickSpacing() [staticcall]
    │   │   └─ ← [Return] 200
    │   ├─ [2525] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::tickBitmap(-2) [staticcall]
    │   │   └─ ← [Return] 2658455991647202998262950387741884416 [2.658e36]
    │   ├─ [9199] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::ticks(-78200 [-7.82e4]) [staticcall]
    │   │   └─ ← [Return] 8358348910190 [8.358e12], -8358348910190 [-8.358e12], 0, 0, -42185340 [-4.218e7], 183752478137306770270222288013154834186240 [1.837e41], 540, true
    │   ├─ [2525] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::tickBitmap(-1) [staticcall]
    │   │   └─ ← [Return] 0
    │   ├─ [525] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::tickBitmap(-2) [staticcall]
    │   │   └─ ← [Return] 2658455991647202998262950387741884416 [2.658e36]
    │   ├─ [9199] 0xB4Ca200Cf037A4FD9dfd7B4b710A17912F86f21A::ticks(-85200 [-8.52e4]) [staticcall]
    │   │   └─ ← [Return] 8358348910190 [8.358e12], 8358348910190 [8.358e12], 0, 0, 0, 0, 1727169623 [1.727e9], true
    │   └─ ← [Return] 0xfffffffffffffffffffffffffffece88fffffffffffffffffffff865eb951192fffffffffffffffffffffffffffeb33000000000000000000000079a146aee6e
    ├─ [0] console::logBytes(0xfffffffffffffffffffffffffffece88fffffffffffffffffffff865eb951192fffffffffffffffffffffffffffeb33000000000000000000000079a146aee6e) [staticcall]
    │   └─ ← [Stop] 
    └─ ← [Stop] 

Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 11.93s (11.93s CPU time)

@LuZHANG1109 LuZHANG1109 self-assigned this Sep 25, 2024
@bixia
Copy link
Collaborator

bixia commented Sep 25, 2024

we may deploy and test it online to check weather it works

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.

2 participants