Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

solo.contracts.liquidatorProxyV1.options.address Returns null on test environment  #512

@oussaki

Description

@oussaki

Am trying to run the script in Ropsten network i have did some changes in .env.test file this way

`# Gas Management
GAS_STATION_URL=http://ethgasstation.info/json/ethgasAPI.json
GAS_PRICE_MULTIPLIER=2
GAS_PRICE_UPDATE_FREQUENCY_SEC=120
GAS_INITIAL_PRICE=30000000000
GAS_REQUEST_TIMEOUT_MS=10000
GAS_PRICE_ADDITION=1

Solo Liquidations

SOLO_LIQUIDATIONS_ENABLED=true
SOLO_EXPIRATIONS_ENABLED=true
SOLO_COLLATERAL_PREFERENCES=0,3,2
SOLO_OWED_PREFERENCES=0,3,2
SOLO_EXPIRED_ACCOUNT_DELAY_SECONDS=3600
SOLO_MIN_ACCOUNT_COLLATERALIZATION=0.5
SOLO_MIN_OVERHEAD_VALUE=100e36
SOLO_ACCOUNT_NUMBER=0
SOLO_LIQUIDATE_POLL_INTERVAL_MS=5000

ETHEREUM_NODE_URL=https://ropsten.infura.io/v3/xxb3e2b7xx30xxx891x125xxx3bf3xx
DYDX_URL=https://api.stage.dydx.exchange
WS_URL=wss://api.stage.dydx.exchange/v1/ws
NETWORK_ID=3
WALLET_ADDRESS=0x15DCc844101CF6507fB729Bf98b82f4726E7bC18
WALLET_PRIVATE_KEY=0xf984xxx297e8f22d4xxxxf8cccccccxaa37xxx749002e45fxxdcxxxd57
ACCOUNT_POLL_INTERVAL_MS=5000
MARKET_POLL_INTERVAL_MS=5000
LIQUIDATION_KEY_EXPIRATION_SEC=300`

But when i checked the logs solo.contracts.liquidatorProxyV1.options.address is always returning null in this case.

and the script crash right away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions