From 12109485e3a525e60e162bcbb4eaa0bc3cfbe3e5 Mon Sep 17 00:00:00 2001 From: Szabo Gergely Date: Thu, 7 Nov 2024 15:08:10 +0100 Subject: [PATCH] Address PR comments --- plutus-ledger-api/src/aux.rs | 2 +- plutus-ledger-api/tests/display.proptest-regressions | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 plutus-ledger-api/tests/display.proptest-regressions diff --git a/plutus-ledger-api/src/aux.rs b/plutus-ledger-api/src/aux.rs index a432982..7c854bd 100644 --- a/plutus-ledger-api/src/aux.rs +++ b/plutus-ledger-api/src/aux.rs @@ -81,7 +81,7 @@ pub(crate) fn guard_bytes( } /// Nom parser for BigInt -/// Expects an arbitrary length integer, optionally signed +/// Expects an arbitrary length decimal integer, optionally signed pub(crate) fn big_int(i: &str) -> IResult<&str, BigInt, VerboseError<&str>> { map_res( recognize(tuple((opt(alt((char('-'), char('+')))), many1(digit1)))), diff --git a/plutus-ledger-api/tests/display.proptest-regressions b/plutus-ledger-api/tests/display.proptest-regressions deleted file mode 100644 index 8a57c05..0000000 --- a/plutus-ledger-api/tests/display.proptest-regressions +++ /dev/null @@ -1,7 +0,0 @@ -# Seeds for failure cases proptest has generated in the past. It is -# automatically read and these particular cases re-run before any -# novel cases are generated. -# -# It is recommended to check this file in to source control so that -# everyone who runs the test benefits from these saved cases. -cc 73e529160154e82412cbfecc3b5a54e6a585c636492eb877021b4c25b26db267 # shrinks to val = Value({NativeToken(MintingPolicyHash(ScriptHash(00000000000000000000000000000000000000000000000000000000))): {TokenName(0000000000000000000000000000000000000000000000000000000000000000): 0, TokenName(0000000000000000000000000000000000000000000000000000000000000001): 0, TokenName(0000000000000000000000000000000000000000000000000000000000000002): 0, TokenName(00000000000000000d8229a17eadcd1469253bcf6608a65f314403f587053ff7): 2532403571, TokenName(a1dec97f4b53d0132fe7d16be928c0c0a5011a72c0f9e9a60bb9f132daa07ac2): 3411616235}, NativeToken(MintingPolicyHash(ScriptHash(14feaea1bd1512f19932541c80e80b812cdc077b9aef3029def6a5ff))): {TokenName(1ecc82a9216cd1427121349b5938c84bfef7be11e2e21a6b340efb53bdb45300): 157640827, TokenName(455e7a15711940029516f9c067cb1265a8936e7259cda7eaf31a9762631bd2b9): 1600413667, TokenName(4a15e3aad05949bdc39b8be95c34ef1e62df160ba30d2db99cdb6e4972d8a795): 1073007635, TokenName(bdf633bf616fb212d576c9c20452aafd0aebd75bc3f2777cdbea01390f901edb): 3043700082, TokenName(e55bff3749413a05be28429b438571ac00d22e168b503ecf1013810b211dcf45): 1834019470}, NativeToken(MintingPolicyHash(ScriptHash(1d89f770dd9bd49da8231bb541ecd05d0e3dd236feec524913a555a2))): {TokenName(09e255fc19f1e0df017e7b3f1fb0ac82b01c153ae99797032d8a3e5f59e3cb8b): 4022630384, TokenName(49d5d8a619f37f4f248cfc841048b888a1acda182c755d41c73de2e77ebc5a83): 3987855178, TokenName(9bc27e3f4f41169d57f3a20e1c05a439eb3de67ad6c3ec8abee445cf38f481e5): 3154222365, TokenName(b0a06e6ed40fce0fe5a010bfa90418ddfbd1946112f9aacead0c5c9c3930d56a): 4232555145, TokenName(f81c9b9e7c9d7cf2f2064c7ffa45bec406ff8e64c73af32f895227af0c9c3119): 630069146}, NativeToken(MintingPolicyHash(ScriptHash(1e2f1b28fac0aaa1c3441067c84b627029f457162b09180012130a7e))): {TokenName(252cf7e62a173276b0d3456692f5e8e99ae54add9f431fa6389a4267d7f343ff): 2154752195, TokenName(3d0e87e8d9abb3699a52dcde08a9ae7d0db5d9930a129e93e8a575f410b2c109): 3258224356, TokenName(ca1b2950c30003112df27daf27cb6d2626d7a3703c8aaf9e46387c837f797604): 2836533300, TokenName(d6673a538989a4c2724b8f8209bf598d9b9df7fa975b8e759956a7b783a611c3): 3731206483, TokenName(d68f5b751be1db24cfeb351249099a927ce5fb7f788e028643e19035a2432011): 3732451668}, NativeToken(MintingPolicyHash(ScriptHash(879ffd1e552ce28c55918753e93d727a05aceb6536ab96c56158ec62))): {TokenName(51079e8bfb848c45ba01fa809249a5d9a778dbd8c9460e09ac0a9e1e34b19229): 1211516382, TokenName(8322395ec5772b6951c777489b83f17127f211fa21ceb932548fa2a0cb24dc81): 1518100146, TokenName(94aaf59094956df10dc8e263ee1124bd0b05434029523936dc73a5d553ae3bed): 2119556654, TokenName(b926a6a398efef951640205e5db37df783caa5fde6d5e2c8609db8245dec4efe): 1265886353, TokenName(ca2424736877c1299a8af23e22b86d89ca356ea88b0ea54a1168ac5d06fef7ff): 566447027}})