Skip to content

Commit

Permalink
Merge pull request #144 from bitauth/2025
Browse files Browse the repository at this point in the history
Revise BCH VMs and VMB tests, rewrite VMB test tooling for performance
  • Loading branch information
bitjson authored Sep 27, 2024
2 parents b1851d4 + 9c35e3e commit 546ae14
Show file tree
Hide file tree
Showing 1,843 changed files with 278,220 additions and 52,949 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-brooms-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bitauth/libauth': minor
---

Add combinatorial VMB test sets for arithmetic, hashing, and signature checking
5 changes: 5 additions & 0 deletions .changeset/twelve-suns-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bitauth/libauth': patch
---

Refactor BCH VMs for correctness and clarity
5 changes: 5 additions & 0 deletions .changeset/two-peas-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bitauth/libauth': minor
---

Rewrite VMB test tooling for parallel and incremental generation, benchmarking
4 changes: 3 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
"TOALTSTACK",
"tprv",
"tpub",
"trxhzt",
"tsdoc",
"txid",
"TXINPUTCOUNT",
Expand Down Expand Up @@ -221,7 +222,8 @@
"tsconfig.json",
"node_modules/**",
"src/**/*.base64.ts",
"src/**/script_tests.json"
"src/**/script_tests.json",
"src/lib/vmb-tests/generated"
],
"patterns": [
{
Expand Down
16 changes: 16 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@
"functional/immutable-data": "off",
"functional/no-return-void": "off"
}
},
{
"files": ["src/lib/vmb-tests/sources/**.ts"],
"rules": {
"import/no-default-export": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-magic-numbers": "off",
"@typescript-eslint/no-restricted-imports": [
"error",
{
"patterns": [
{ "allowTypeImports": true, "group": ["../../lib.js"] }
]
}
]
}
}
]
}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ report.*.json
scratch
gitignore.*
*.cpuprofile
.aidigestignore
codebase.md
src/lib/vmb-tests/export
src/lib/vmb-tests/generated/.vmb-*
src/lib/vmb-tests/generated/**/*bench.csv
src/lib/vmb-tests/generated/bch_chip_*
src/lib/vmb-tests/generated/bch_2026_*

src/lib/bin/**/*.html
src/lib/bin/**/*.js
Expand Down
1,149 changes: 871 additions & 278 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 546ae14

Please sign in to comment.