I am currently writing integration tests for my contracts using redspot, I can't seem to run all my integration tests at once, I can only run integration test by using the keyword it.only. Anytime I try running all tests, only the first test works fine and then i get this error when the next integration test tries to run.

     Error: the object {
  "error": {
    "message": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low"
  "from": "5F2DEdhqyaDvPpasrhSLv8KxjdnVG1MZTAkHPA5doArnvQj4"
  "txHash": "0xd6f1a3d8fdf7bc94a162a5d777ccf91863dbc8a8bbfcad7ee343016423adbea8"
} was thrown, throw an Error :)

enter image description here

  • Sounds like you're emptying the account after the first test or the account is empty. How much funds does 5F2DEdhqyaDvPpasrhSLv8KxjdnVG1MZTAkHPA5doArnvQj4 have? Maybe you should send some more from Alice etc.
    – forgetso
    Jun 7, 2022 at 13:08

1 Answer 1


The problem was with the setup, we resolved that via chatting in the OpenBrush channel.

The problem was that only Alice's account from Redspot has many tokens. Other accounts had only several units.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.