Skip to content

Commit

Permalink
Move unchecked classes into a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Dec 10, 2024
1 parent 3bcbd6b commit 487d309
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rerun-diffs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
[ -z "${CHAINWEB_DB_DIR}" ] &&
echo "CHAINWEB_DB_DIR must be set to the mainnet db directory" && exit 1

# do not even re-run discreps in these classes. maybe they're too large, maybe they're intentional semantic divergences
unchecked_classes="gas-exceeded keyset-failure no-such-member loaded-module-hash minimum-precision lago-finance expected-bool-got-unit capability-already-installed output-differs-int-double cap-is-not-managed kadena-mining-club cannot-find-module no-pact-exec-in-cr interface-loaded keyset-defined desugar-syntax-failure invalid-call-to-if db-internal-error b64-diffs invalid-def-in-term-var marmalade-mints marmalade-v2 too-many-arguments read-keyset-error read-function-failures interface-impl-errors list-commas interface-as-mod-ref nft-mint-mystery module-admin sort-object-divergence incompatible-types"
# do not even re-run discreps in these classes.
# maybe they're too large, maybe they're intentional semantic divergences
unchecked_classes=$(cat unchecked-diff-classes)
# this builds a find-invocation that ignores those classes
prune_stmt=$(for cls in $unchecked_classes; do echo -n "-not ( -path old-diffs/$cls -prune ) "; done)

cabal build chainweb-node
Expand Down
32 changes: 32 additions & 0 deletions unchecked-diff-classes
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
gas-exceeded
keyset-failure
no-such-member
loaded-module-hash
minimum-precision
lago-finance
expected-bool-got-unit
capability-already-installed
output-differs-int-double
cap-is-not-managed
kadena-mining-club
cannot-find-module
no-pact-exec-in-cr
interface-loaded
keyset-defined
desugar-syntax-failure
invalid-call-to-if
db-internal-error
b64-diffs
invalid-def-in-term-var
marmalade-mints
marmalade-v2
too-many-arguments
read-keyset-error
read-function-failures
interface-impl-errors
list-commas
interface-as-mod-ref
nft-mint-mystery
module-admin
sort-object-divergence
incompatible-types

0 comments on commit 487d309

Please sign in to comment.