Skip to content

Conversation

@majecty
Copy link
Contributor

@majecty majecty commented Mar 4, 2020

No description provided.

@majecty majecty requested a review from junha1 March 4, 2020 08:56
@majecty majecty added experiment Experimental features ics Interchain standard labels Mar 4, 2020
}
Datagram::UpdateClient {
id,
header,
Copy link
Contributor

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;
}
Copy link
Contributor

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.

@junha1
Copy link
Contributor

junha1 commented Mar 5, 2020

Please check cancelled CI actions

@majecty majecty force-pushed the f/ics-update-client branch from d60c20e to 7ad236d Compare March 5, 2020 04:32
@junha1
Copy link
Contributor

junha1 commented Mar 5, 2020

@majecty Why do some of CI keep failing?

majecty added 10 commits March 5, 2020 14:05
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.
@majecty majecty force-pushed the f/ics-update-client branch from 7ad236d to 8831e61 Compare March 5, 2020 05:08
@majecty majecty merged commit 9520a0f into CodeChain-io:ics-poc Mar 5, 2020
@majecty majecty deleted the f/ics-update-client branch March 5, 2020 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experiment Experimental features ics Interchain standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants