Update docs

This commit is contained in:
github-actions
2025-04-22 16:39:54 +00:00
parent 0dda004024
commit da7fd0d3e5
230 changed files with 11375 additions and 1714 deletions

View File

@ -5,6 +5,8 @@ set -euo pipefail
export COVERAGE=true
export FOUNDRY_FUZZ_RUNS=10
. scripts/set-max-old-space-size.sh
# Hardhat coverage
hardhat coverage
@ -12,7 +14,11 @@ if [ "${CI:-"false"}" == "true" ]; then
# Foundry coverage
forge coverage --report lcov --ir-minimum
# Remove zero hits
sed -i '/,0/d' lcov.info
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' '/,0/d' lcov.info
else
sed -i '/,0/d' lcov.info
fi
fi
# Reports are then uploaded to Codecov automatically by workflow, and merged.

View File

@ -31,7 +31,7 @@ for (const artifact of artifacts) {
}
/// graphlib.alg.findCycles will not find minimal cycles.
/// We are only interested int cycles of lengths 2 (needs proof)
/// We are only interested in cycles of lengths 2 (needs proof)
graph.nodes().forEach((x, i, nodes) =>
nodes
.slice(i + 1)

View File

@ -31,7 +31,7 @@ for (const artifact of artifacts) {
const minVersion = semver.minVersion(pragma[source]);
// loop over all imports in source
for (const { absolutePath } of findAll('ImportDirective', solcOutput.sources[source].ast)) {
// So files that only import without declaring anything cause issues, because they don't shop in in "pragma"
// So files that only import without declaring anything cause issues, because they don't shop in "pragma"
if (!pragma[absolutePath]) continue;
// Check that the minVersion for source satisfies the requirements of the imported files
if (!semver.satisfies(minVersion, pragma[absolutePath])) {