Investigate and fix metering integration test balance problem
This line appears to be causing the problem
transferBalanceToAnotherAccount(daoNode, daoHoldingAccount, daoNode.party, daoSmokeTestFund, guardianNotaryX500Name)
I will add some extra logging and diagnostic - the original test was tested to run several times and didn't break, so either we've changed the test or have some other issue lurking.
Full Error is here
io.cordite.metering.MeteringIntegrationTest > single end to end test - dont care about initial state FAILED
java.lang.RuntimeException: java.lang.RuntimeException: could not find enough tokens to meet 210.00 Descriptor(symbol=XTS, exponent=2, issuerName=OU=Cordite Foundation, O=Cordite Committee, L=London, C=GB) from notary OU=Cordite Foundation, O=Cordite Guardian Notary, L=London, C=GB
at io.cordite.metering.NetworkRefresh$Companion.runWithRefresh(MeteringIntegrationTest.kt:650)
at io.cordite.metering.MeteringIntegrationTest.transferBalanceToAnotherAccount(MeteringIntegrationTest.kt:491)
at io.cordite.metering.MeteringIntegrationTest.createAndLoadAccountsForMeteringFundsII(MeteringIntegrationTest.kt:403)
at io.cordite.metering.MeteringIntegrationTest.access$createAndLoadAccountsForMeteringFundsII(MeteringIntegrationTest.kt:70)
at io.cordite.metering.MeteringIntegrationTest$runEndToEndTest$3.invoke(MeteringIntegrationTest.kt:196)
at io.cordite.metering.MeteringIntegrationTest$runEndToEndTest$3.invoke(MeteringIntegrationTest.kt:70)
at io.cordite.test.utils.SimpleStopWatch$Companion.elapse(SimpleStopWatch.kt:35)
at io.cordite.test.utils.SimpleStopWatch$Companion.elapse(SimpleStopWatch.kt:28)
at io.cordite.test.utils.SimpleStopWatch.elapseAndRecord(SimpleStopWatch.kt:41)
at io.cordite.metering.MeteringIntegrationTest.runEndToEndTest(MeteringIntegrationTest.kt:196)
at io.cordite.metering.MeteringIntegrationTest.single end to end test - dont care about initial state(MeteringIntegrationTest.kt:154)
Caused by:
java.lang.RuntimeException: could not find enough tokens to meet 210.00 Descriptor(symbol=XTS, exponent=2, issuerName=OU=Cordite Foundation, O=Cordite Committee, L=London, C=GB) from notary OU=Cordite Foundation, O=Cordite Guardian Notary, L=London, C=GB