Closed tjayrush closed 4 months ago
This is a slightly breaking change in that people who were relying on the value
field to be in Ether when the --ether
flag is provided will break, but it's justified since they should have been using the ether
field instead.
In the current code, when we do
chifra transactions 1001001.0 --ether
we get an incorrect result. (Same for other command that export transactions includingblocks
andexport
).We always get both the
value
and theether
field in all exports of a transaction (even if--ether
is not provided), but when it is provided we get an incorrect result.Without the
--ether
flag, we get Ether in theether
field and Wei in thevalue
field.With the
--ether
flag, we get Ether in both fields.This is incorrect and will be fixed in version 3.0.0.