Thanks for posting this question. The reason this is happening is because the js SDK fee is specified in micro algos per byte of the size of the transaction. In the first case the calculation is below the minimum transaction fee. I will try to get this documented on the website. Also I will log an issue to just set a total fee.
how do I calculate the total amount of fee before I send a tx? So I know the total I will spend. Is there a thing like estimateGas ?
How do I know what fee I should specify? Is there a priority for tx fee? The higher the better? what are the boundaries?
Last committed block: 261423
Time since last block: 0.1s
Sync Time: 4.3s
Last consensus protocol: https://github.com/algorandfoundation/specs/tree/5615adc36bad610c7f165fa2967f4ecfa75125f0
Next consensus protocol: https://github.com/algorandfoundation/specs/tree/5615adc36bad610c7f165fa2967f4ecfa75125f0
Round for next consensus protocol: 261424
Next consensus protocol supported: true
Genesis ID: testnet-v1.0
Genesis hash: SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=
Your node was catching up. He heavily parallelize catchup to do it as fast as possible. Once you catch up, your CPU will drop to single digits. The current round is > 450,000 so you’ll have to let it run a little longer. You can run ./carpenter -d <datadir> to watch it make progress.