Skip to content

NeonTxSender raises "Operator has NO resources!" #629

@rozhkovdmitrii

Description

@rozhkovdmitrii

In the test_03_validate_execution_when_not_enough_sols_for_all_operator_accounts we suppose that NeonTxSender doesn't raise RuntimeError "Operator has NO resources!" anymore. That's why we suppressed catching for this exception during self.testee._validate_execution()

       with self.assertLogs('neon', level='ERROR') as logs:
            >>> # with self.assertRaises(RuntimeError): <<<
            self.testee._validate_execution()
            print('logs.output:', str(logs.output))
            self.assertRegex(str(logs.output), 'ERROR:neon.Proxy:Operator account [A-Za-z0-9]{40,}:[0-9]+ has NOT enough SOLs; balance = [0-9]+; min_operator_balance_to_err = 1049000000000000000000000000')

The issue is in that this call keeps raise this exception and we have to investigate the reason why and get rid of this properly.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions