Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed May 13, 2024
1 parent e2de5d3 commit d58f50d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ may not be compatible.
a `TotalSupplyNotTrackableException` but returns a zero amount of
corresponding `FungibleAssetValue`. [[#3780]]
- (Libplanet.Action) Changed the precednce for the types of `Exception`s
that may be thrown by `IWorldState.MintAsset()` and
`IWorldState.BurnAsset()`.
that may be thrown by `IWorld.MintAsset()` and
`IWorld.BurnAsset()`.

### Backward-incompatible network protocol changes

Expand Down
4 changes: 1 addition & 3 deletions Libplanet.Action/State/IStateStoreExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
using Bencodex.Types;
using Libplanet.Common;
using Libplanet.Crypto;
using Libplanet.Store;
using Libplanet.Store.Trie;
using Libplanet.Types.Blocks;
Expand Down Expand Up @@ -157,7 +155,7 @@ internal static IWorld MigrateWorld(
}
}

// Migrate up to BlockMetadata.ValidatorSetAccountProtocolVersion
// Migrate up to BlockMetadata.CurrencyAccountProtocolVersion
// if conditions are met.
if (targetVersion >= BlockMetadata.CurrencyAccountProtocolVersion &&
world.Version < BlockMetadata.CurrencyAccountProtocolVersion)
Expand Down

0 comments on commit d58f50d

Please sign in to comment.