fix: small fix and refactor after testing EkuboV2 (#188)
* fix: add `balance_owner` attribute for ekubo_v2 components * refactor: rename `ekubo` into `ekubo-v2` * refactor: freeze `substreams-helper` version in ekubo V2 module * docs: improve integration test comment * docs: add TODO to remove `balance_owner` in favor of `AccountBalances` --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
24
substreams/ethereum-ekubo-v2/integration_test.tycho.yaml
Normal file
24
substreams/ethereum-ekubo-v2/integration_test.tycho.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
adapter_contract: "EkuboSwapAdapter"
|
||||
adapter_build_signature: "constructor(address)"
|
||||
adapter_build_args: "0x16e186ecdc94083fff53ef2a41d46b92a54f61e2"
|
||||
skip_balance_check: true # Fails because the pool id is not the owner of the tokens. Needs to be address in the testing framework.
|
||||
protocol_type_names:
|
||||
- "ekubo_v2_pool"
|
||||
tests:
|
||||
- name: test_pool_creation
|
||||
start_block: 22048334
|
||||
stop_block: 22048335
|
||||
expected_components:
|
||||
- id: "0x3565d037d3f435ba5dc6381a9f4dc03d3db8d96c0100f7271b4bbeba3b6b2c14"
|
||||
tokens:
|
||||
- "0x0000000000000000000000000000000000000000"
|
||||
- "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
|
||||
static_attributes:
|
||||
token0: "0x0000000000000000000000000000000000000000"
|
||||
token1: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
|
||||
fee: "0x0000000000000000"
|
||||
tick_spacing: "0x00000000"
|
||||
extension_id: "0x00000000"
|
||||
extension: "0x514d5de68852628af2f1236f780866989660ada6"
|
||||
creation_tx: "0x7c2e697e73dc1f114a5473d1015c411f10585b2b671bee0bd6d5706895e16b27"
|
||||
skip_simulation: true # Native implementation
|
||||
Reference in New Issue
Block a user