Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Quai client tests #96

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

didaunesp
Copy link

No description provided.

@didaunesp didaunesp self-assigned this Feb 16, 2024
@didaunesp didaunesp changed the title Go quai libp2p Quai client tests Feb 21, 2024
@didaunesp didaunesp force-pushed the go-quai-libp2p branch 7 times, most recently from bba3476 to 8db167d Compare February 26, 2024 16:06
@@ -428,7 +428,8 @@ func (progpow *Progpow) verifySeal(header *types.Header) (common.Hash, error) {
if progpow.fakeFail == header.NumberU64(nodeCtx) {
return common.Hash{}, errInvalidPoW
}
return common.Hash{}, nil
//if hash is empty here, it fails because of div / 0 on poem.go: IntrinsicLogS()
return common.HexToHash("0xf5d8c9fb1a61e47c6dd4b5d0a1a0d6c0f7bce9cfae0e2a9d8a9c8d6d6f8f4f7"), nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this hash?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a random hash.
The hash just cant be zero because it leads to a div / 0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants