near / mpc

42 stars 16 forks source link

Test resharing when rpc is congested #667

Closed ailisp closed 4 months ago

ailisp commented 4 months ago

Address #643.

Make each node -> RPC with different configurable network problem. (Previously was every node -> same toxiproxy -> lake RPC)

When latency is very high (10s) for a single node but the other node doesn't have latency to RPC, the resharing will fail. Will investigate more on this case.

ailisp commented 4 months ago

Another thing I've observed while doing contract init (the nodes doing initial key generation), if some node joined network a bit later, e.g. the node started a bit late, then all nodes will be stuck at generating status. Not sure if this is similar to the 10s issue mentioned in description.

Good observation, will try to test and fix this case as well

ailisp commented 4 months ago

@volovyks resharing is more important than contract initialization as it's not a one time event. I'll ensure two cases you mentioned are working or fix it

github-actions[bot] commented 4 months ago

Terraform Feature Environment Destroy (dev-667)

Terraform Initialization ⚙️success

Terraform Destroy success

Show Destroy Plan ``` No changes. No objects need to be destroyed. Either you have not created any objects yet or the existing objects were already deleted outside of Terraform. Destroy complete! Resources: 0 destroyed. ```

Pusher: @ailisp, Action: pull_request, Working Directory: `, Workflow:Terraform Feature Env (Destroy)`