-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEP466 #80
base: main
Are you sure you want to change the base?
BEP466 #80
Conversation
Signed-off-by: Naohiro Yoshida <[email protected]>
19afe90
to
cd3ca85
Compare
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
8fa06ff
to
e1a5feb
Compare
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@@ -489,6 +431,11 @@ impl TryFrom<RawETHHeader> for ETHHeader { | |||
None | |||
}; | |||
|
|||
#[allow(clippy::absurd_extreme_comparisons)] | |||
if PASCAL_TIMESTAMP > 0 && timestamp >= PASCAL_TIMESTAMP && requests_hash.is_none() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When PASCAL_TIMESTAMP
is 0
, it's interpreted as not being Pascal, rather than indicating it's already activated.
It would be helpful to have explanatory comments near where users specify this value, to prevent misunderstandings since this behavior differs from flag management in geth and bsc.
bnb-chain/bsc#2777
It's going to be Prague fork, not Pascal.
https://github.com/bnb-chain/bsc/blob/2df94c370cfa143982ae651d5b619af641b92295/params/config.go#L160