# EthAnchor Testnet isn't working or is it me?

**URL:** <https://forum.anchorprotocol.com/t/ethanchor-testnet-isnt-working-or-is-it-me/1391>\
**Category:** General\
**Created:** [October 23, 2021, 6:12am UTC](https://forum.anchorprotocol.com/t/ethanchor-testnet-isnt-working-or-is-it-me/1391 "2021-10-23T06:12:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnwateer](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bnwateer](https://forum.anchorprotocol.com/u/bnwateer)\
**Post date:** [October 23, 2021, 6:12am UTC](https://forum.anchorprotocol.com/t/ethanchor-testnet-isnt-working-or-is-it-me/1391/1 "2021-10-23T06:12:01Z")

</div>

Hey, I am using EthAnhor on Ropsten using wrapped UST but I am running into issues receiving the resulting aUST back.

Here’s a few snippets

```
// step 1:
// approve IERC0 first

// step 2:
function initiateSupply(
    uint256 amount
) external returns (address) {
    // transfer from user to contract
    IERC20(wrappedUST).transferFrom(msg.sender, address(this), amount);
    // approve contract transfer to routerv2
    IERC20(wrappedUST).approve(address(router), amount);
    address _operation = router.initDepositStable(
        amount
    );
    return _operation;
}
// step 3:
function finishSupply(
    address _operation
) external {
    router.finishDepositStable(_operation);
}

function initiateSupplyInFull(
    uint256 amount
) external {
    // transfer from user to contract
    IERC20(wrappedUST).transferFrom(msg.sender, address(this), amount);
    // approve contract transfer to routerv2
    IERC20(wrappedUST).approve(address(router), amount);
    address _operation = router.initDepositStable(
        amount
    );
    router.finishDepositStable(_operation);
}

```

The first way gives me: “Operation: not enough token”.

initiateSupplyInFull gives same error but no tx is made

```
// or with
// step 2:
function supply(
    uint256 amount
) external {
    router.depositStable(msg.sender, amount);
}

```

I assume this automatically would send back the aUST to the msg.sender designated in depositSupply but I don’t receive it.

If I manually attempt a finishDepositStable I get: “Router: invalid status for finish” (just a desp attempt)

I have noticed USDC works from checking other tx’s in testnet but I can’t get my hands on any

Is the code I’m using not correct

---

<div class="post-metadata">

**Author:** ![bnwateer](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bnwateer](https://forum.anchorprotocol.com/u/bnwateer)\
**Post date:** [January 7, 2022, 12:38am UTC](https://forum.anchorprotocol.com/t/ethanchor-testnet-isnt-working-or-is-it-me/1391/2 "2022-01-07T00:38:38Z")

</div>

Got an update (a long time ago) that the testnet was migrating on the terra side so for anyone testing, it works

---

<div class="post-metadata">

**Author:** ![bnwateer](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bnwateer](https://forum.anchorprotocol.com/u/bnwateer)\
**Post date:** [January 7, 2022, 12:49am UTC](https://forum.anchorprotocol.com/t/ethanchor-testnet-isnt-working-or-is-it-me/1391/4 "2022-01-07T00:49:00Z")

</div>

thank you there kind sir
