Files
tycho-protocol-sdk/substreams/ethereum-ekubo-v2/integration_test.tycho.yaml
TAMARA LIPOWSKI 2c0c4d97fb refactor: Move module_name to integration test yaml
It's not good to keep this in the test_runner because then we have multiple points that we need to edit the test config, which can be hard to find.

We need this because the module name for uniswap_v2 is so far different from the rest of the protocols.
2025-09-23 00:42:23 -04:00

28 lines
1.2 KiB
YAML

substreams_yaml_path: ./substreams.yaml
protocol_system: "ekubo_v2"
module_name: "map_protocol_changes"
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