-
Notifications
You must be signed in to change notification settings - Fork 0
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
BEP126 #14
Conversation
Signed-off-by: yoshidan <[email protected]>
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]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@@ -0,0 +1,1078 @@ | |||
pragma solidity 0.6.4; |
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.
Please assign a license identifier:
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 All BNB Chain Developers
// Modified by Datachain, Inc. on 2023
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.
done
@@ -0,0 +1,86 @@ | |||
pragma solidity 0.6.4; |
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.
Same as ./BSCValidatorSet.template.
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.
done
|
||
func getVoteAttestationFromHeader(header *types.Header) (*VoteAttestation, error) { | ||
if len(header.Extra) <= extraVanity+extraSeal { | ||
return nil, nil |
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.
Could you add a comment explaining under what circumstances this occurs?
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.
I added link to bsc source.
func createMainnetProver() (*module.Prover, core.Chain, error) { | ||
chain, err := ethereum.NewChain(ethereum.ChainConfig{ | ||
EthChainId: 56, | ||
RpcAddr: "https://bsc-mainnet-rpc.allthatnode.com", |
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.
This doesn't seem to be an official RPC. Is there a particular reason for choosing this?
Additionally, what do you think about making it configurable from the outside?
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.
The official node was not able to obtain account proof.
2023/09/15 16:17:46 Failed to run command : failed to get account proof : height = 31757489, failed to get account proof limit exceeded
I made RPC address configurable now.
* update lcp 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]>
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]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
https://github.com/datachainlab/docs/issues/4187