Radix node 1.1.0 break down

# 2022-06-02T02:16:56,753 [WARN/SimpleAppendLog/SyncRunner tv...wf5txkpe7] (SimpleAppendLog.java:108) - Expected position to be 14093117827 but is 14093173666. Resetting position to 14093117827
com.radixdlt.ledger.CommittedBadTxnException: epoch=7914 version=79185846
	at com.radixdlt.statecomputer.RadixEngineStateComputer.commitInternal(RadixEngineStateComputer.java:393)
	at com.radixdlt.statecomputer.RadixEngineStateComputer.commit(RadixEngineStateComputer.java:434)
	at com.radixdlt.ledger.StateComputerLedger.commit(StateComputerLedger.java:325)
	at com.radixdlt.ledger.StateComputerLedger.lambda$syncEventProcessor$4(StateComputerLedger.java:292)
	at com.radixdlt.DispatcherModule.lambda$syncUpdateEventDispatcher$12(DispatcherModule.java:419)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at com.radixdlt.DispatcherModule.lambda$syncUpdateEventDispatcher$13(DispatcherModule.java:419)
	at com.radixdlt.SyncServiceModule.lambda$verifiedSyncResponseHandler$1(SyncServiceModule.java:162)
	at com.radixdlt.sync.LocalSyncService.processSyncResponse(LocalSyncService.java:455)
	at com.radixdlt.sync.LocalSyncService.lambda$new$7(LocalSyncService.java:207)
	at com.radixdlt.sync.LocalSyncService$Handler.handle(LocalSyncService.java:656)
	at com.radixdlt.sync.LocalSyncService.processRemoteEvent(LocalSyncService.java:622)
	at com.radixdlt.sync.LocalSyncService.lambda$syncResponseEventProcessor$44(LocalSyncService.java:585)
	at com.radixdlt.epochs.EpochsLocalSyncService.processSyncResponse(EpochsLocalSyncService.java:194)
	at com.radixdlt.environment.RemoteEventProcessor.process(RemoteEventProcessor.java:79)
	at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
	at io.reactivex.rxjava3.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
	at io.reactivex.rxjava3.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
	at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:322)
	at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:287)
	at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:248)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.radixdlt.engine.RadixEngineException: index=322 batchSize=1000 txnId=630fba0936abe551e54b7692effb22a85170753f5e9da9e698523beafc1258bf txn_size=455 txn=0d0001071f8635a1b91f271ba019fc1299c4ad0a4f88a8724fbc7627b4369bfe8a7812b60000000101002100000000000000000000000000000000000000000000000000013321d124d5200002004506000403d091f2d44cf2c430d7c073df4f63a8f31ae9a115b010a476e1be1d09217c316c010000000000000000000000000000000000000000000000007f5c7f33896e600000074568d5d59ded8371f69045151cc163fd5e1a96c174b830bd918f54ee0748458f0000000102005f0600040391085395b8645240567b02d64362d2a5b5afe2b34e56b6f1f9aa7d5667085dfc037a367e3820c2b0a64ce196b25a71a42e6d518a434bdbc18ba5aa0000000000000000000000000000000000000000000000003782dace9d900000000c0065000073656e642032302032332034343434203233323320666f7220312078726420746f2074647831717370617079306a3633783039337073366c71383868363076773530787868663579326d71793979776d736d75386766793937727a6d717177336e70790b016cfc6cae882659110855be5ae76996c6c9d9759dc3f969b448455991860552fccf49ac528eee6b57b73c2a9355f80916668ebe91fb0f67ebaa727185cbf51b77
	at com.radixdlt.engine.RadixEngine.executeInternal(RadixEngine.java:366)
	at com.radixdlt.engine.RadixEngine.lambda$execute$1(RadixEngine.java:338)
	at com.radixdlt.store.berkeley.BerkeleyLedgerEntryStore.transaction(BerkeleyLedgerEntryStore.java:232)
	at com.radixdlt.engine.RadixEngine.execute(RadixEngine.java:337)
	at com.radixdlt.engine.RadixEngine.execute(RadixEngine.java:315)
	at com.radixdlt.statecomputer.RadixEngineStateComputer.commitInternal(RadixEngineStateComputer.java:390)
	... 26 more
Caused by: com.radixdlt.constraintmachine.exceptions.ConstraintMachineException: index=3 reducerState=TokenHoldingBucket{tokens=Tokens{resource=01 amount=9177350000000000000}}
0: HEADER true
1: DOWN 1f8635a1b91f271ba019fc1299c4ad0a4f88a8724fbc7627b4369bfe8a7812b600000001
2: SYSCALL CallData{data=00000000000000000000000000000000000000000000000000013321d124d52000}
<<<<Issue here>>>> 3: UP UpSubstate{data=06000403d091f2d44cf2c430d7c073df4f63a8f31ae9a115b010a476e1be1d09217c316c010000000000000000000000000000000000000000000000007f5c7f33896e6000}
4: END null
5: DOWN 4568d5d59ded8371f69045151cc163fd5e1a96c174b830bd918f54ee0748458f00000001
6: UP UpSubstate{data=0600040391085395b8645240567b02d64362d2a5b5afe2b34e56b6f1f9aa7d5667085dfc037a367e3820c2b0a64ce196b25a71a42e6d518a434bdbc18ba5aa0000000000000000000000000000000000000000000000003782dace9d900000}
7: END null
8: MSG 000073656e642032302032332034343434203233323320666f7220312078726420746f2074647831717370617079306a3633783039337073366c71383868363076773530787868663579326d71793979776d736d75386766793937727a6d717177336e7079
9: SIG 6cfc6cae882659110855be5ae76996c6c9d9759dc3f969b448455991860552fccf49ac528eee6b57b73c2a9355f80916668ebe91fb0f67ebaa727185cbf51b77

	at com.radixdlt.constraintmachine.ConstraintMachine.statefulVerify(ConstraintMachine.java:526)
	at com.radixdlt.constraintmachine.ConstraintMachine.verify(ConstraintMachine.java:552)
	at com.radixdlt.engine.RadixEngine.verify(RadixEngine.java:303)
	at com.radixdlt.engine.RadixEngine.executeInternal(RadixEngine.java:364)
	... 31 more
Caused by: com.radixdlt.constraintmachine.exceptions.MeterException: com.radixdlt.constraintmachine.exceptions.DefaultedSystemLoanException: Reserve fee deposit 86450000000000000 not enough to cover basic txn fee of 91000000000000000
	at com.radixdlt.constraintmachine.ConstraintMachine.callProcedure(ConstraintMachine.java:344)
	at com.radixdlt.constraintmachine.ConstraintMachine.statefulVerify(ConstraintMachine.java:500)
	... 34 more
Caused by: com.radixdlt.constraintmachine.exceptions.DefaultedSystemLoanException: Reserve fee deposit 86450000000000000 not enough to cover basic txn fee of 91000000000000000
	at com.radixdlt.constraintmachine.ExecutionContext.payOffLoan(ExecutionContext.java:189)
	at com.radixdlt.constraintmachine.meter.TxnSizeFeeMeter.onUserProcedure(TxnSizeFeeMeter.java:112)
	at com.radixdlt.constraintmachine.meter.Meters$1.onUserProcedure(Meters.java:87)
	at com.radixdlt.constraintmachine.meter.Meters$1.onUserProcedure(Meters.java:88)
	at com.radixdlt.constraintmachine.ConstraintMachine.callProcedure(ConstraintMachine.java:339)
	... 35 more

Are you trying to register a node? You don’t have enough XRD in the node wallet to broadcast a transaction.
See here how to fund your node: Registering a Validator Node using the RadixNode CLI :: Radix Documentation

You can find your node’s wallet address by running radixnode api core key-list, it’s the address entry in account_entity_identifier.

You need approximately a total of 30 XRD to register your node.

1 Like

I just run an RPC node to broadcast tx, offline sign tx, and only run an RPC node also need some XRD?

I think it might be a corrupted ledger DB - happened to me when the server was forcefully rebooted.
Try:

  1. stop the node
  2. delete everything from your ledger DB dir
  3. start the node again and resync

Let me know if you need more details.
Also, note that there are public Gateway APIs you can try to get started without running your own node, you can find them here: RadixScan

1 Like