github iron-fish/ironfish v2.2.0

latest releases: v2.9.0, v2.8.1, v2.8.0...
7 months ago

What Changed

Asset values are now displayed differently in the CLI. Previously, they all used the same 8 decimal places as IRON. Now, by default, an asset will be shown with no decimal places. A verified asset can have a custom number of decimal places. For an asset to be verified, it can be added to these lists for mainnet or testnet respectively: https://github.com/iron-fish/verified-assets. Feel free to open a PR to add an asset. A node can load a verified assets list from other sources using the assetVerificationApi config variable.

For example, minting 1 Coolcoin previous to this release would have minted 1.00000000 Coolcoin, which was really 100,000,000 Coolcoin in the minor denomination. After this update, you will see that larger value, unless the asset is added to the verified assets list with a custom decimal place.

Note that this does NOT affect the actual value of the asset. This only changes how it is displayed. The node uses all values in their minor denomination (no decimal places), so 1 IRON is always treated as 100000000 ORE (the minor denomination), etc.

RPC Breaking Changes 🛠

  • Add new verified asset metadata fields to RpcAsset by @mat-if in #4878

Other Changes

  • Replace uses of request<T>(...) in tests with the appropriate method from RpcClient by @andiflabs in #4837
  • Add "cargo vet" for supply chain verification by @andiflabs in #4842
  • Clarify when users are entering iron denominations by @NullSoldier in #4843
  • chore: remove repetitive words by @battmdpkq in #4845
  • Change return type of serializeHeader to Buffer by @wincss in #4850
  • Adds a transaction timer class to reuse by @patnir in #4852
  • adds memos to 'wallet:transactions' output by @hughy in #4856
  • Moves responsibility of logging estimate out of the timer by @patnir in #4857
  • Move fetchNotes to utils by @patnir in #4858
  • Rahul/ifl 2399 move spendposttime to utils by @patnir in #4859
  • adds memoHex to RpcWalletNote by @hughy in #4860
  • fixes createSigningPackage checksum verification by @hughy in #4861
  • allows deploying Docker images for staging branch by @hughy in #4864
  • Pool: always send out a new block template by @mat-if in #4868
  • fix: delete of account via RPC throws while node account rescan is active by @jowparks in #4867
  • Add FishHash mainnet checkpoint by @danield9tqh in #4866
  • Add autocomplete for SDK by @danield9tqh in #4869
  • continue to process messages when exceptions occur by @patnir in #4870
  • chore: standalone naming by @jowparks in #4874
  • add additional fields to asset verification code by @mat-if in #4851
  • Fix Buffer memo in mempool tests by @danield9tqh in #4875
  • Rahul/ifl 2455 refactor explicitly call benchmark spend post time by @patnir in #4872
  • Update autocomplete version to use correct version of Oclif by @danield9tqh in #4876
  • fix: adjust GHA runner apple binary to publish arm64 by @jowparks in #4881
  • removes migration logic from before network reset by @hughy in #4873
  • fix: add dispatch param by @jowparks in #4882
  • Cleanup more uses of request() in tests by @andiflabs in #4886
  • Add new currency render function by @mat-if in #4879
  • Render question mark for unknown assets by @danield9tqh in #4888
  • lazy deserialization in levelup db iter methods by @hughy in #4877
  • removes unused walletDb method by @hughy in #4865
  • Update ironfish-frost to the latest version by @andiflabs in #4887
  • Use new render function in the CLI by @mat-if in #4880
  • Parse values in the proper denomination for CLI commands by @mat-if in #4884
  • Implement wallet/multisig/dkg/round1 RPC by @andiflabs in #4885
  • Rahul/ifl 1881 adds transaction progress bar to wallet send by @patnir in #4854
  • automatically add identity for secretName to round1 participants by @hughy in #4891
  • implement dkg/round2 RPC by @hughy in #4889
  • add dkg round1 cli command by @hughy in #4890
  • add DKG round2 CLI command by @hughy in #4893
  • Avoid an infinite loop in SaplingKey::generate_key by @andiflabs in #4895
  • Simplify the code for split_spender_key by @andiflabs in #4897
  • Fix an issue with the mint command where the id was not properly being passed by @mat-if in #4892

New Contributors

Full Changelog: v2.1.0...v2.2.0

Don't miss a new ironfish release

NewReleases is sending notifications on new releases.