[devnet] Testing report Thread by Ivan

This will be my testing report thread, so I don’t spam the forum with new threads.

:white_check_mark: Fixed Borrow - Error Code: AccountOwnedByWrongProgram / 3007

Program log
  • Error Number: 3007. Error Message: The given account is owned by a different program than expected.
#1 Unknown program instruction
> Program log: Instruction: AdapterInvoke
> Program data: zDPY5r/AZEv8WcCkh7tR9FIBcA6nYTmqEaJviVLpAHVe0+jf2FJgxf9bYzpxagKJfKRLkDXb1iIcBAnYb4v8WRQ+PUUt02Mh
> Invoking Unknown (JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc) Program
  > Program log: Instruction: MarginBorrowOrder
  > Program log: AnchorError caused by account: market. Error Code: AccountOwnedByWrongProgram. Error Number: 3007. Error Message: The given account is owned by a different program than expected.
  > Program log: Left:
  > Program log: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
  > Program log: Right:
  > Program log: JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc
  > Program JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc  consumed 11190 of 339271 compute units
  > Program returned error: custom program error: 0xbbf
> Program JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ  consumed 71919 of 400000 compute units
#2 Unknown program instruction

:white_square_button: And I’m missing the “Transfer” function betweet the Accounts.

:white_check_mark: Can’t add devnet as a tag to this topic

:white_square_button: Beauty flaw: Request loan amount - not enough collateral

Summary

Fixed Borrow → Request Loan → Loan Amount: enter digit and the error msgbox
“Not enough collateral to submit this request”
appears under the button.

It could confuse new users and should be easy fix.

:white_square_button: BTC SWAP & Collateral deposit Error Code: InterestAccrualBehind / 141101

Program log
#1 Unknown program instruction
> Program log: Instruction: AdapterInvoke
> Program data: zDPY5r/AZEu8MDobumD58TDygTz9nTxLuuMOQSRmYAS6WFO2eXtByQR0JHDtm4zrvf78qFHttErSfqdxZLgAFbbXAP3grPPh
> Invoking Unknown (JPMAa5dnWLFRvUsumawFcGhnwikqZziLLfqn9SLNXPN) Program
  > Program log: Instruction: MarginSwap
  > Invoking Unknown (JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ) Program
    > Program log: Instruction: Withdraw
    > Invoking Token Program
      > Program log: Instruction: Transfer
      > Program Token Program  consumed 4645 of 509108 compute units
      > Program returned success
    > Invoking Token Program
      > Program log: Instruction: Burn
      > Program Token Program  consumed 4707 of 501604 compute units
      > Program returned success
    > Program data: wPHJ2UaWWvfEfzcbSG73JLZ0+pGMMQOF2oD9bkiUU5KWoO0O5cRrYLwwOhu6YPnxMPKBPP2dPEu64w5BJGZgBLpYU7Z5e0HJPbFr5pjjXtGA857wfb4l+b6vxS74bEd31u4MxUq9FB2R1KOZm9kfErlAaZeCz7zPa8hFy3kcGffuahsoxjNV1QBlzR0AAAAAzV7NHQAAAACEMdvICwAAAE/gKwAAAAAAit+0iFsGAAA4DA9QZwYAAPhZIsYLAAAAcjoLZAAAAAA=
    > Program JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ  consumed 68920 of 558816 compute units
    > Program returned success
  > Invoking Unknown (3xQ8SWv2GaFXXpHZNqkXsdxq5DZciHBz6ZFoPPfbFd7U) Program
    > Program log: Instruction: Swap
    > Invoking Token Program
      > Program log: Instruction: Transfer
      > Program Token Program  consumed 4645 of 464663 compute units
      > Program returned success
    > Invoking Token Program
      > Program log: Instruction: MintTo
      > Program Token Program  consumed 4492 of 431370 compute units
      > Program returned success
    > Invoking Token Program
      > Program log: Instruction: Transfer
      > Program Token Program  consumed 4645 of 423984 compute units
      > Program returned success
    > Program 3xQ8SWv2GaFXXpHZNqkXsdxq5DZciHBz6ZFoPPfbFd7U  consumed 64282 of 482740 compute units
    > Program returned success
  > Invoking Unknown (JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ) Program
    > Program log: Instruction: Deposit
    > Program log: interest accrual is too far behind
    > Program log: AnchorError occurred. Error Code: InterestAccrualBehind. Error Number: 141101. Error Message: Interest accrual is too far behind.
    > Program JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ  consumed 25427 of 411326 compute units
    > Program returned error: custom program error: 0x2272d
  > Program JPMAa5dnWLFRvUsumawFcGhnwikqZziLLfqn9SLNXPN  consumed 191312 of 577211 compute units
> Program JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ  consumed 214101 of 600000 compute units
#2 Unknown program instruction
#3 Unknown program instruction

:white_square_button: Absurdly high percentage crashes the app

  • 99.999% possible and at 999.999% the app is crashing

:white_square_button: Strange decimal behavior

GIF Clip

jet strange decimal behavior

:white_square_button: Account unhailty error (Risk Indicator 0 → 0.539)

Summary

  • AnchorError thrown in programs/margin/src/state/account.rs:357. Error Code: Unhealthy. Error Number: 141030. Error Message: the account is not healthy.
    Program Log:
Program log
#1 Unknown program instruction
> Program log: Instruction: AdapterInvoke
> Program data: zDPY5r/AZEu5mlyvg0lM7aNTzPKmVqSWFnQJc2X4TwHpXgu8WNP3Kf9bYzpxagKJfKRLkDXb1iIcBAnYb4v8WRQ+PUUt02Mh
> Invoking Unknown (JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc) Program
  > Program log: Instruction: MarginBorrowOrder
  > Program log: Order summary : OrderSummary { posted_order_id: None, total_base_qty: 90000006852, total_quote_qty: 89999999999, total_base_qty_posted: 0 }
  > Invoking System Program
    > Program returned success
  > Invoking Token Program
    > Program log: Instruction: Transfer
    > Program Token Program  consumed 4645 of 300357 compute units
    > Program returned success
  > Program data: UI9cmy3sV6yUO/jx7z+xs9HzJhkkpndg9OMtlgsf1jOEmXC3QpS/yrmaXK+DSUzto1PM8qZWpJYWdAlzZfhPAeleC7xY0/cpgslvZAdT3gyhU/GqMNfgznxJ7W2Lplk8s0ccxPZGpD1uH4qWSOyiM2TkBDTKPf1RAAAAAAAAAACVXC4+Bj5JLr7WOGKgaqA0dA3fONQ6qI6FHH/z8CiQkwSDC2QAAAAA/wNr9BQAAADEHmv0FAAAAAA=
  > Invoking Token Program
    > Program log: Instruction: MintTo
    > Program Token Program  consumed 4538 of 291466 compute units
    > Program returned success
  > Invoking Token Program
    > Program log: Instruction: MintTo
    > Program Token Program  consumed 4635 of 283784 compute units
    > Program returned success
  > Program data: YILM6qnb2OOVXC4+Bj5JLr7WOGKgaqA0dA3fONQ6qI6FHH/z8CiQk7maXK+DSUzto1PM8qZWpJYWdAlzZfhPAeleC7xY0/cpAfnIZvyrEeIIgpA1kLlAX/D6BH9zx1Ez3ULbvt5MK8G4bh+KlkjsojNk5AQ0yj39UQAAxB5r9BQAAAD/A2v0FAAAAAAAAAAAAAAAAAAAAAAAAAABAAA=
  > Program data: v4UBsHnYHXT5yGb8qxHiCIKQNZC5QF/w+gR/c8dRM91C277eTCvBuMQea/QUAAAAAQAAAAAAAAAAAQAAAAAAAAAA
  > Program JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc  consumed 68456 of 340340 compute units
  > Program return: JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc AQAAAH+FwaP1wThqRiGXj1ur9lZF2PPqctt1A2g+iH477qHVAQAAAALJmcw9S2efO6V84MI22QbQCK4yNDJGdTzEAmJnaY6Abw==
  > Program returned success
> Program data: mblBOgsd8Ah/hcGj9cE4akYhl49bq/ZWRdjz6nLbdQNoPoh+O+6h1cmZzD1LZ587pXzgwjbZBtAIrjI0MkZ1PMQCYmdpjoBv/1tjOnFqAol8pEuQNdvWIhwECdhvi/xZFD49RS3TYyHljn9nhzIDAAAAAAAAAAAAxB5r9BQAAACMggtkAAAAADDZ9QUAAAAAjIILZAAAAAD4////AQAAAAIAAAD6/+IEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
> Program data: mblBOgsd8Ajk40ID4JGay/nzrdclWrenxqwaoxYapKzHmUgKfMLWziXZGz2J0LZrPyHw4XEGAVYJXLo1dWE0HRSgZsuXk3EqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ0hd9BQAAACMggtkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAD6/18AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
> Program data: mblBOgsd8Aj7myDFXv1qGDbIhazTyNGdOMgUxNb7042jGky3NLF8RI3vZY3jmqCltAGfQKXh4C1KlQZN6XswDawZ5rx4mBPe/1tjOnFqAol8pEuQNdvWIhwECdhvi/xZFD49RS3TYyEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACMggtkAAAAADDZ9QUAAAAAjIILZAAAAAD4////AQAAAAMAAAD6/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
> Program data: uw+I5L3rfm0=
> Program log: account is unhealthy: K_e = 4999.8929157611, K_r = 7199.856548149
> Program log: AnchorError thrown in programs/margin/src/state/account.rs:357. Error Code: Unhealthy. Error Number: 141030. Error Message: the account is not healthy.
> Program JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ  consumed 170606 of 400000 compute units
> Program returned error: custom program error: 0x226e6
#2 Unknown program instruction

Or is it correct and im misunderstanding something?

:white_square_button: Lending repay Error Code: AccountNotInitialized / 3012.

Summary
  • Error Message: The program expected this account to be already initialized.

Program log
#1 Unknown program instruction
> Program log: Instruction: AdapterInvoke
> Program data: zDPY5r/AZEumOSIB2bbuHzfu8CDD618gLcFopzn8E355ereMX79sWAR0MaA6Eus84wvXx4a8hvkWrsa1CxtTUqMddqo1rSCG
> Invoking Unknown (JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ) Program
  > Program log: Instruction: Withdraw
  > Invoking Token Program
    > Program log: Instruction: Transfer
    > Program Token Program  consumed 4645 of 1140937 compute units
    > Program returned success
  > Invoking Token Program
    > Program log: Instruction: Burn
    > Program Token Program  consumed 4707 of 1133433 compute units
    > Program returned success
  > Program data: wPHJ2UaWWvfEfzcbSG73JLZ0+pGMMQOF2oD9bkiUU5KWoO0O5cRrYKY5IgHZtu4fN+7wIMPrXyAtwWinOfwTfnl6t4xfv2xYGNetppnRdTgTHRdGJZd9/fHZ5e/4jjaYSInL7+TVdi4fN/ccLPzJ0x6XPqzHl1vZJt3/jXbvNxwkFtggRBq5Lu9qFMACAAAA880TwAIAAACVEvvICwAAAIdAMgAAAAAAOtOji68GAABPZuxSuwYAAPhZIsYLAAAAPQMNZAAAAAA=
  > Program JPPooLEqRo3NCSx82EdE2VZY5vUaSsgskpZPBHNGVLZ  consumed 68568 of 1190295 compute units
  > Program returned success
> Program data: mblBOgsd8AjDLy717u0iReBYW8TPGOqAYO24/hy63BklM6F3RVrlYBjXraaZ0XU4Ex0XRiWXff3x2eXv+I42mEiJy+/k1XYuBHQxoDoS6zzjC9fHhryG+RauxrULG1NSox12qjWtIIa6SCIW0GMGAAAAAAAAAAAAMoou0CsAAAA9Aw1kAAAAAKVwsgUAAAAAPQMNZAAAAAD4////AQAAAAEAAAD6/18AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
> Program data: mblBOgsd8Ajk40ID4JGay/nzrdclWrenxqwaoxYapKzHmUgKfMLWzh839xws/MnTHpc+rMeXW9km3f+Ndu83HCQW2CBEGrkuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA72oUwAIAAAA9Aw1kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAD6/18AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
> Program data: uw+I5L3rfm0=
> Program JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ  consumed 106035 of 1200000 compute units
> Program returned success
#2 Unknown program instruction
> Program log: Instruction: AdapterInvoke
> Program data: zDPY5r/AZEumOSIB2bbuHzfu8CDD618gLcFopzn8E355ereMX79sWP9bYzpxagKJfKRLkDXb1iIcBAnYb4v8WRQ+PUUt02Mh
> Invoking Unknown (JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc) Program
  > Program log: Instruction: Repay
  > Program log: AnchorError caused by account: term_loan. Error Code: AccountNotInitialized. Error Number: 3012. Error Message: The program expected this account to be already initialized.
  > Program JBond79m9K6HqYwngCjiJHb311GTXggo46kGcT2GijUc  consumed 6905 of 1081423 compute units
  > Program returned error: custom program error: 0xbc4
> Program JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ  consumed 19447 of 1093965 compute units
#3 Unknown program instruction
#4 Unknown program instruction
#5 Unknown program instruction
#6 Unknown program instruction

:white_square_button: Borrow Request Cancel - WalletSignTransactionError: Transaction too large: 1291 > 1232

  • Can’t cancel open borrow request
  • Info Messagebox “There was an error cancelling your order. VIEW LOGS”
    Redirects to https://solscan.io/tx/undefined?cluster=devnet
Firefox Console

:white_square_button: UI - USDC not in the list

GIF Clip

UI - USDC not in the list

:white_square_button: Can’t repay borrowed USDC

GIF Clip

cant repay borrowed usdc

:white_square_button: Error fetching data at fixed lend/borrow

Msg Box

Error 502 Bad GW

:wastebasket: Settle pending settment - AccountNotInitialized: Error Number: 3012

  • Looks like my “old” account is bugged, can’t withdraw/lend/borrow
  • I think this isn’t a real bug for production then
Summary
  • I’m trying after weeks to settle pending settment.

Program log
#1 Unknown program instruction

> Program log: Instruction: AdapterInvoke

> Program log: AnchorError caused by account: adapter_config. Error Code: AccountNotInitialized. Error Number: 3012. Error Message: The program expected this account to be already initialized.

> Program [JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ](https://solscan.io/address/JPMRGNgRk3w2pzBM1RLNBnpGxQYsFQ3yXKpuk4tTXVZ?cluster=devnet) consumed 6355 of 400000 compute units

> Program returned error: custom program error: 0xbc4

#2 Unknown program instruction

Hi @ivan, thanks for trying out Jet’s fixed term application on devnet, and for your feedback!

Jet developers are looking into this issue now and it should be fixed soon.

The transfer function is disabled for now, so that is expected. You can still deposit to a second margin account by selecting that margin account and then using the deposit function. To “transfer” between accounts, you would have to withdraw from the first account, then select the second, and then click deposit while that second account is selected.

I also added “devnet” as a forum tag for the future, good idea!

1 Like

:white_square_button: Beauty flaw: Request loan amount - not enough collateral
:white_square_button: BTC SWAP Error Code: InterestAccrualBehind / 141101
:white_square_button: Absurdly high percentage crashes the app
:white_square_button: Strange decimal behavior
:white_square_button: Account unhailty error (Risk Indicator 0 → 0.539)
:white_square_button: Lending repay Error Code: AccountNotInitialized / 3012.
:white_square_button: Borrow Request Cancel - WalletSignTransactionError: Transaction too large: 1291 > 1232
:white_square_button: UI - USDC not in the list

Newly added


The functions now run smoothly!
I’ll take a closer look later and note every little thing I notice. :slight_smile:

1 Like

Thanks a lot Ivan!

By the way, there are some examples of each order type available now in the documentation:

In your case I am not sure you need it, but just so you know :slight_smile:

InterestAccrualBehind error is now at depositing too

:white_square_button: BTC SWAP & Collateral deposit Error Code: InterestAccrualBehind / 141101

And

:white_square_button: Error fetching data at fixed lend/borrow

Msg Box

Error 502 Bad GW

I can’t test anything in the current devnet state.
Old accounts with collateral get the following error:

AccountNotInitialized - 3012

Thanks ivan! cc @K-Jetta

Hi Ivan, thanks again for testing and checking in.

The InterestAccrualBehind error was fixed yesterday, as well as the error with fetching data. You should be good to go now.

As for the AccountNotInitialized error, I’ve run into this one a few times when testing the app. The devs recommended periodically creating new wallets to test the app with, since as the app is iterated on, those new changes can cause issues with older accounts.

If anything else comes up let us know.

1 Like