Skip to content

Commit cf3d9c9

Browse files
iohk-bors[bot]rvl
andauthored
Merge #1624 #1627
1624: Fix migration error on checkpoint table r=rvl a=rvl ### Issue Number Relates to #1577 / ADP-83 and #1621. ### Overview Fix migration error on checkpoint table found in nightly tests. SQLite doesn't support removing columns, so we put them back as "unused" fields (https://www.sqlite.org/lang_altertable.html#altertableishard). 1627: Bump version from 2020.4.28 to 2020.5.6 r=rvl a=rvl - Updates the cabal package versions from 2020.4.28 to 2020.5.6. - A few shell script tweaks to the release script. Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
3 parents 2d18950 + d2248ed + 6e47dd7 commit cf3d9c9

19 files changed

+53
-55
lines changed

lib/byron/cardano-wallet-byron.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-byron
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Wallet backend protocol-specific bits implemented using byron nodes
44
description: Please see README.md
55
homepage: https://github.com/input-output-hk/cardano-wallet

lib/cli/cardano-wallet-cli.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-cli
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Utilities for a building Command-Line Interfaces
44
homepage: https://github.com/input-output-hk/cardano-wallet
55
author: IOHK Engineering Team

lib/core-integration/cardano-wallet-core-integration.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-core-integration
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Core integration test library.
44
description: Shared core functionality for our integration test suites.
55
homepage: https://github.com/input-output-hk/cardano-wallet

lib/core/cardano-wallet-core.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-core
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: The Wallet Backend for a Cardano node.
44
description: Please see README.md
55
homepage: https://github.com/input-output-hk/cardano-wallet

lib/core/src/Cardano/Wallet/DB/Sqlite.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ mkCheckpointEntity wid wal =
748748
, checkpointEpochStability = coerce (bp ^. #getEpochStability)
749749
, checkpointActiveSlotCoeff =
750750
W.unActiveSlotCoefficient (bp ^. #getActiveSlotCoefficient)
751+
, checkpointFeePolicyUnused = ""
752+
, checkpointTxMaxSizeUnused = 0
751753
}
752754
utxo =
753755
[ UTxO wid sl (TxId input) ix addr coin
@@ -776,8 +778,10 @@ checkpointFromEntity cp utxo s =
776778
bh
777779
(BlockId genesisHash)
778780
genesisStart
781+
_feePolicyUnused
779782
slotLength
780783
epochLength
784+
_txMaxSizeUnused
781785
epochStability
782786
activeSlotCoeff
783787
) = cp

lib/core/src/Cardano/Wallet/DB/Sqlite/TH.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ Checkpoint
133133
checkpointBlockHeight Word32 sql=block_height
134134
checkpointGenesisHash BlockId sql=genesis_hash
135135
checkpointGenesisStart UTCTime sql=genesis_start
136+
checkpointFeePolicyUnused Text sql=fee_policy
136137
checkpointSlotLength Word64 sql=slot_length
137138
checkpointEpochLength Word32 sql=epoch_length
139+
checkpointTxMaxSizeUnused Word16 sql=tx_max_size
138140
checkpointEpochStability Word32 sql=epoch_stability
139141
checkpointActiveSlotCoeff Double sql=active_slot_coeff
140142

lib/jormungandr/cardano-wallet-jormungandr.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-jormungandr
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Wallet backend protocol-specific bits implemented using Jörmungandr
44
description: Please see README.md
55
homepage: https://github.com/input-output-hk/cardano-wallet

lib/launcher/cardano-wallet-launcher.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-launcher
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Utilities for a building commands launcher
44
homepage: https://github.com/input-output-hk/cardano-wallet
55
author: IOHK Engineering Team

lib/test-utils/cardano-wallet-test-utils.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cardano-wallet-test-utils
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Shared utilities for writing unit and property tests.
44
description: Shared utilities for writing unit and property tests.
55
homepage: https://github.com/input-output-hk/cardano-wallet

lib/text-class/text-class.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: text-class
2-
version: 2020.4.28
2+
version: 2020.5.6
33
synopsis: Extra helpers to convert data-types to and from Text
44
homepage: https://github.com/input-output-hk/cardano-wallet
55
author: IOHK Engineering Team

0 commit comments

Comments
 (0)