Skip to content

Conversation

@faheelsattar
Copy link

Closes #20

@faheelsattar faheelsattar requested a review from ylembachar March 25, 2025 13:10
@faheelsattar faheelsattar self-assigned this Mar 25, 2025
Copy link
Collaborator

@ylembachar ylembachar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me if you could additionally add the following:

  • a docker compose service that runs this test specifically
  • README instructions to run the test
  • Instead of printing the statistics, could you please log them to an external file, such as the blame file in the gnosis continuous test?
  • The test stops if there is an error from the API (such as the keyper not being reachable) and this is not reflected in the results, if you can add this fix as well. We should see the number of successful attempts, the number of failures and the errors corresponding to these failures.
  • Add the possibility to run the test for different configs in parallel (i.e for both chiado and mainnet in parallel).

waitDuration := time.Until(decryptTime.Add(2 * time.Second))

time.Sleep(waitDuration)
seconds, err := strconv.Atoi(os.Getenv("DEC_KEY_WAIT_INTERVAL"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please update this to be in ms? Thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in accordance with gnosis chain timestamps, so not sure what is the reason for us to change it to ms.

@blockchainluffy
Copy link
Contributor

blockchainluffy commented Jun 16, 2025

@ylembachar added the additional functionalities mentioned above. For Add the possibility to run the test for different configs in parallel (i.e for both chiado and mainnet in parallel). - This can be achieved by running two docker containers in parallel with different configurations, not making the tests more specific to any network.

@blockchainluffy blockchainluffy requested review from konradkonrad and ylembachar and removed request for ylembachar June 23, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shutter API Continuous Test

4 participants