CodeChain-io / CodeChain-io/codechain

Add integration tests for invalid P2P sync messages

Open
#774 0 comments 0 reactions 0 assignees View on GitHub
test verification
Dominant language
Rust
Stars
256
Forks
50
PR merge metrics
No merged PRs in 30d

Description

* Block sync
- [ ] Invalid fields
- [x] Invalid parent
- [ ] Invalid timestamp
- [x] Invalid number
- [x] Invalid author
- [x] Invalid extradata
- [x] Invalid parcelroot
- [x] Invalid stateroot
- [x] Invalid invoiceroot
- [x] Invalid score
- [x] Invalid seal
- [ ] Invalid size
- [ ] Invalid status message scenario
- [ ] Mismatch between block header and body
- [ ] Invalid seal in pow consensus
---
* Parcel sync
- [x] Invalid fields
- [x] Invalid fee
- [x] Invalid nonce
- [x] Invalid networkid
- [x] Invalid signature
- [ ] Invalid size

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.