-
Notifications
You must be signed in to change notification settings - Fork 12
Fix relayer to update each chain's light client successfully #231
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
Conversation
| } | ||
| Datagram::UpdateClient { | ||
| id, | ||
| header, |
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.
Make the UpdateClient function use the correnct method name in log
->
Make the UpdateClient function use the correct method name in log
| }); | ||
| this.faucetAddress = config.faucetAddress; | ||
| this.counterpartyIdentifiers = config.counterpartyIdentifiers; | ||
| } |
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.
If we send transactions without waiting for inclusion, Foundy can
create a block that has more than one transaction.
->
If we send transactions without waiting for inclusion, Foundry can
create a block that has more than one transaction.
|
Please check cancelled CI actions |
d60c20e to
7ad236d
Compare
|
@majecty Why do some of CI keep failing? |
We implement the light client only for dynamic validator. Because the static validator will be removed. Currently, the static validator is not removed yet. Only for this experimental branch, skip the verification of validator set.
In the IBC scenario, a chain can creates blocks faster than 1 block/sec. Since Foundry does not allow blocks with the same timestamp, we should make the chain slow. This commit should not be included in the master branch
* WAIT_1_SEC_BEFORE_CREATING_A_BLOCK It will make Tendermint spend more than a second to create a block. * BYPASS_VERIFICATION_IN_STATIC_VALIDATOR It will make the light client skip signature verification. Since we didn't make verification logic for the static validator set, we can't validate it now. The static validator set will be removed soon.
Relayer should run harder to update light clients if the chain creates block too fast. This commit will not affect consensus. This commit makes running the IBC scenario convenient.
Removing pending transactions helps to run chains with a reliable state
If we send transactions without waiting for inclusion, Foundry can create a block that has more than one transaction.
7ad236d to
8831e61
Compare
No description provided.