Skip to content

Commit

Permalink
Try #3249:
Browse files Browse the repository at this point in the history
  • Loading branch information
iohk-bors[bot] authored Apr 29, 2022
2 parents 3e7eedf + d9619f1 commit 41efc89
Show file tree
Hide file tree
Showing 19 changed files with 18,647 additions and 20,119 deletions.
16 changes: 16 additions & 0 deletions lib/core-integration/src/Test/Integration/Framework/TestData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ module Test.Integration.Framework.TestData
, errMsg403CreatedWrongPolicyScriptTemplatePolicyId
, errMsg403AssetNameTooLong
, errMsg403MintOrBurnAssetQuantityOutOfBounds
, errMsg403InvalidValidityBounds
, errMsg403ValidityIntervalNotInsideScriptTimelock
) where

import Prelude
Expand Down Expand Up @@ -700,6 +702,20 @@ errMsg403MintOrBurnAssetQuantityOutOfBounds = mconcat
, "not exceed 9223372036854775807 (2^63 - 1)."
]

errMsg403InvalidValidityBounds :: String
errMsg403InvalidValidityBounds = mconcat
[ "It looks like I've created a transaction "
, "with wrong validity bounds. Please make sure before validity bound "
, "is preceding hereafter validity bound, and nonnegative times are used."
]

errMsg403ValidityIntervalNotInsideScriptTimelock :: String
errMsg403ValidityIntervalNotInsideScriptTimelock = mconcat
[ "It looks like I've created a transaction "
, "with validity interval that is not inside script's timelock interval."
, "Please make sure validity interval is subset of script's timelock interval."
]

--------------------------------------------------------------------------------
-- Transaction metadata
--------------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 41efc89

Please sign in to comment.