ChainSafe / chainbridge-celo

GNU Lesser General Public License v3.0
3 stars 2 forks source link

P1sar/feature/ci cd/research #93

Closed P1sar closed 3 years ago

P1sar commented 3 years ago

Description

Related Issue Or Context

How Has This Been Tested? Testing details.

Types of changes

Checklist:

github-actions[bot] commented 3 years ago

Go Test coverage is 48.1 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 48.1 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.9 %\ :sparkles: :sparkles: :sparkles:

P1sar commented 3 years ago

Having issues running locally:

~/dev/chainbridge-celo p1sar/feature/ci-cd/research ❯ ./build/chainbridge-celo --config ./e2e/cfg/config-celo-int-tst.json --testkey alice --fresh --leveldb ./lvldb
{"level":"info","url":"ws://0.0.0.0:8545","time":"2021-02-16T08:14:50-05:00","message":"Connecting to ethereum chain..."}
{"level":"debug","id":1,"time":"2021-02-16T08:14:50-05:00","message":"Registering new chain in router"}
{"level":"debug","time":"2021-02-16T08:14:50-05:00","message":"Starting listener..."}
{"level":"debug","time":"2021-02-16T08:14:50-05:00","message":"Chain started!"}
{"level":"info","url":"ws://0.0.0.0:8547","time":"2021-02-16T08:14:50-05:00","message":"Connecting to ethereum chain..."}
{"level":"info","time":"2021-02-16T08:14:50-05:00","message":"Syncing validators from zero block"}
{"level":"info","time":"2021-02-16T08:14:50-05:00","message":"Polling Blocks..."}
{"level":"debug","block":"0","time":"2021-02-16T08:14:50-05:00","message":"New validators data"}
{"level":"debug","id":1,"time":"2021-02-16T08:14:50-05:00","message":"Registering new chain in router"}
{"level":"debug","time":"2021-02-16T08:14:50-05:00","message":"Starting listener..."}
{"level":"debug","time":"2021-02-16T08:14:50-05:00","message":"Chain started!"}
{"level":"info","time":"2021-02-16T08:14:50-05:00","message":"Polling Blocks..."}
{"level":"info","time":"2021-02-16T08:14:50-05:00","message":"Syncing validators from zero block"}
{"level":"debug","block":"0","time":"2021-02-16T08:14:50-05:00","message":"New validators data"}
{"level":"info","dest":1,"nonce":1,"resourceID":"000000000000000000000021605F71845F372A9ED84253D2D024B7B10999F405","time":"2021-02-16T08:15:15-05:00","message":"Handling fungible deposit event"}
{"level":"trace","src":1,"dest":1,"nonce":1,"rId":"\u0026000000000000000000000021605f71845f372a9ed84253d2d024b7b10999f405","time":"2021-02-16T08:15:15-05:00","message":"Routing message"}
{"level":"info","type":"FungibleTransfer","src":1,"dst":1,"nonce":1,"rId":"&000000000000000000000021605f71845f372a9ed84253d2d024b7b10999f405","time":"2021-02-16T08:15:15-05:00","message":"Attempting to resolve message"}
{"level":"info","src":1,"nonce":1,"time":"2021-02-16T08:15:15-05:00","message":"Creating erc20 proposal"}
{"level":"info","src":1,"nonce":1,"time":"2021-02-16T08:15:15-05:00","message":"Watching for finalization event"}
{"level":"trace","block":600,"src":1,"nonce":1,"time":"2021-02-16T08:15:15-05:00","message":"No finalization event found in current block"}
{"level":"trace","target":601,"current":600,"time":"2021-02-16T08:15:15-05:00","message":"Block not ready, waiting"}
{"level":"info","tx":"0x637d0fb9df1c642177370cfd247313d137a327c57d2188ea32920f006d843ba5","src":1,"depositNonce":1,"time":"2021-02-16T08:15:15-05:00","message":"Submitted proposal vote"}
{"level":"trace","src":1,"nonce":1,"status":1,"time":"2021-02-16T08:15:20-05:00","message":"Ignoring event"}
{"level":"info","source":1,"dest":1,"nonce":1,"tx":"0x64a29e15725ddf871e1bc76137ae7c6572596f8465262517ab49435cc2714ecc","time":"2021-02-16T08:15:20-05:00","message":"Submitted proposal execution"}
{"level":"error","block":"612","error":"math/big: cannot unmarshal \"\\\"0x01\\\"\" into a *big.Int","time":"2021-02-16T08:15:40-05:00","message":"Failed to get events for block"}
{"level":"error","block":"612","error":"math/big: cannot unmarshal \"\\\"0x01\\\"\" into a *big.Int","time":"2021-02-16T08:15:40-05:00","message":"Failed to get events for block"}
{"level":"error","block":"612","error":"math/big: cannot unmarshal \"\\\"0x01\\\"\" into a *big.Int","time":"2021-02-16T08:15:40-05:00","message":"Failed to get events for block"}
{"level":"error","block":"612","error":"math/big: cannot unmarshal \"\\\"0x01\\\"\" into a *big.Int","time":"2021-02-16T08:15:40-05:00","message":"Failed to get events for block"}
{"level":"error","block":"612","error":"math/big: cannot unmarshal \"\\\"0x01\\\"\" into a *big.Int","time":"2021-02-16T08:15:40-05:00","message":"Failed to get events for block"}
{"level":"error","time":"2021-02-16T08:15:40-05:00","message":"Polling failed, retries exceeded"}
{"level":"error","error":"listener block polling failed","time":"2021-02-16T08:15:40-05:00","message":"failed to listen and serve"}
{"level":"error","error":"listener block polling failed","time":"2021-02-16T08:15:40-05:00","message":"Start failed"}

I investigate this error, and it does happens from time to time on celoClient.BlockByNumber method inside celo library. Maybe we need to create issue on celo side?

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles:

github-actions[bot] commented 3 years ago

Go Test coverage is 58.8 %\ :sparkles: :sparkles: :sparkles: