You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: We are using the tm2fab demo (yui-relayer-build, branch v0.2) to make transactions between tendermint and fabric with the yui-relayer. This appears successful on initial run, but when we try to make transactions after 10 minutes, we receive the following error.
fabric.SendMsgs.result: res=‘[]’ err=‘Failed to submit: Transaction processing for endorser [localhost:7051]: Chaincode status Code: (500) UNKNOWN. Description: failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: failed to verify header: invalid header: new header has a time from the future 2022-10-05 03:27:12.262279251 +0000 UTC (now: 2022-10-05 03:15:31 +0000 UTC; max clock drift: 10m0s)’
The time that the status currently declares as the current time is the initial run of make test in yui-relayer/tests/cases/tm2fab.
We produce the error as follows:
Build Relay
make yrly Build Tendermint docker image
cd tests/chains/tendermint/
make docker-images Build fabric docker image
cd tests/chains/fabric
make bin
make initial-data
make snapshot
make docker-images Run test
cd tests/cases/tm2fab/
make network
make test *****
After 10 minutes, we try to run <tm2fab/scripts/test-tx> and receive the aforementioned error, where the current time is not updated (still reflects the time where ***** was run), hence the new header is determined to be "in the future". We are unsure if the headers are updated, or if the dockers are running out of time synchronization.
Thank you for your help :)
The text was updated successfully, but these errors were encountered:
We have investigated and found that the problem is caused by the relayer module of fabric-ibc.
We have created the issue here, so please wait for the fix. hyperledger-labs/yui-fabric-ibc#47
OS: MacOS Monterey 12.3.1
Issue: We are using the tm2fab demo (yui-relayer-build, branch v0.2) to make transactions between tendermint and fabric with the yui-relayer. This appears successful on initial run, but when we try to make transactions after 10 minutes, we receive the following error.
fabric.SendMsgs.result: res=‘[]’ err=‘Failed to submit: Transaction processing for endorser [localhost:7051]: Chaincode status Code: (500) UNKNOWN. Description: failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: failed to verify header: invalid header: new header has a time from the future 2022-10-05 03:27:12.262279251 +0000 UTC (now: 2022-10-05 03:15:31 +0000 UTC; max clock drift: 10m0s)’
The time that the status currently declares as the current time is the initial run of make test in yui-relayer/tests/cases/tm2fab.
We produce the error as follows:
Build Relay
Build Tendermint docker image
Build fabric docker image
Run test
After 10 minutes, we try to run <tm2fab/scripts/test-tx> and receive the aforementioned error, where the current time is not updated (still reflects the time where ***** was run), hence the new header is determined to be "in the future". We are unsure if the headers are updated, or if the dockers are running out of time synchronization.
Thank you for your help :)
The text was updated successfully, but these errors were encountered: