CodeChain-io / CodeChain-io/codechain
Add integration tests for invalid P2P sync messages
Open
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
Assessment
This issue has not been assessed yet.