Malicious behavior miner #132
Draft
Annotations
1 error
|
Run wagoid/commitlint-github-action@v5
You have commit messages with errors
⧗ input: Update lookup.go
✖ type may not be empty [type-empty]
✖ invalid commit message, should be like "name: descriptions.", yours: "Update lookup.go" [function-rules/type-case]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: core/tracing: remove unnecessary 'copy' field skip in TestAllHooksCalled (#32622)
This test iterated over Hooks fields and skipped a field named copy. The
Hooks struct has no such field, making the condition dead code.
✖ header must not be longer than 80 characters, current length is 81 [header-max-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: p2p/discover: add waitForNodes
This improves the latency of lookups in small networks and test setups. When the local node table runs empty, the lookupIterator will trigger refresh to try and fill the table again.
The behaviour of lookup in case of an empty table is changed:
- Previously, lookup waited fixed 1 second before trying to continue the lookup
- Now, lookup on an empty table returns immediately, and a better wait implementation is part of the LookupIterator. It reinitialises the table, and continues the interator as soon as a node becomes available.
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: core/stateless: add vmwitnessstats cli flag to report leaf stats + log to console (#32619)
The format that is currently reported by the chain isn't very useful, as
it gives an average for ALL the nodes, and not only the leaves, which
skews the results.
Also, until now there was no way to activate the reporting of errors.
We also decided that metrics weren't the right tool to report this data,
so we decided to dump it to the console if the flag is enabled. A better
system should be built, but for now, printing to the logs does the job.
✖ header must not be longer than 80 characters, current length is 90 [header-max-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: beacon/config: fix LoadForks with non-string values (#32609)
Fixes a crash when loading the beacon chain config if new fields like
`BLOB_SCHEDULE: []` are present.
Previously, the config loader assumed all values were strings, causing
errors such as:
```
Fatal: Could not load beacon chain config '/network-configs/config.yaml': failed to parse beacon chain config file: yaml: unmarshal errors:
line 242: cannot unmarshal !!seq into string
```
This PR updates the parsing logic to handle non-string values correctly
and adds explicit validation for fork fields.
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: core/rawdb: fix bad blocks sorted failure message to map index→number correctly (#32627)
Fix the t.Fatalf format arguments in TestBadBlockStorage to match the
intended #index output. Previously, the left number used i+1 and the
right index used the block number, producing misleading diagnostics.
Correct mapping improves test failure clarity and debuggability.
✖ header must not be longer than 80 characters, current length is 88 [header-max-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: core/txpool/blobpool: introduce sidecar conversion for legacy blob transactions (#32656)
This pull request introduces a queue for legacy sidecar conversion to
handle transactions that persist after the Osaka fork. Simply dropping
these transactions would significantly harm the user experience.
To balance usability with system complexity, we have introduced a
convers
|
Loading