Closed bryanchriswhite closed 1 month ago
If these secrets were true positive and are still valid, we highly recommend you to revoke them. Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately. Find here more information about risks.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
The image is going to be pushed after the next commit. You can use make trigger_ci
to push an empty commit. If you also want to run an E2E test, please add devnet-test-e2e
label.
The CI will now also run the e2e tests on devnet, which increases the time it takes to complete all CI checks. If you just created a pull request, you might need to push another commit to produce a container image DevNet can utilize to spin up infrastructure. You can use make trigger_ci
to push an empty commit.
@bryanchriswhite I saw this is blocked due to e2e test failing on CI. Looking at the output of the test, it seems like the reason is the accounts were not fully initialized due to send transactions not working correctly. It appears we've recently introduced some fees. Here's the error:
raw_log: ‘insufficient fees; got: required: 2000upokt: insufficient fee’
I'll see how to address that, and I'll probably end up pushing a fix in your PR.
We started having this issue because the minimum-gas-prices
was set to "0.01upokt"
(I put it there while changing this config on TestNet).
On LocalNet, we have this set to 0upokt
. Originally, I started fixing the tests to account for the new fee, but it would take more time than I originally thought, so I just rolled back that configuration on DevNets keeping it on TestNet.
E2E tests mostly pass. There's this e2e test error though, which seems to be related to that PR:
@bryanchriswhite is this error expected?
Thanks for investigating and for the context @okdas!
E2E tests mostly pass. There's this e2e test error though, which seems to be related to that PR:
@bryanchriswhite is this error expected?
This is not expected; however, it makes sense if the DevNet state is not reset between E2E test runs and a previous run failed after altering DevNet state. The test attempts to reset all module params to their default values after each scenario but depending on how the test fails, it seems, this may not happen as expected. :thinking:
It might be better to add the "unauthorized" key to the config.yaml instead of adding it to the keyring during the test. I've noticed this also seems to cause errors locally when running make acc_initialize_pubkeys
after running E2E tests; although, I don't think it actually causes any functional issue.
After re-building and -running CI, it's passing. :+1: Thanks!
It might be better to add the "unauthorized" key to the config.yaml instead of adding it to the keyring during the test.
Done in 6c6ec62b4aa3c18488c28b62a69d004361585f80.
:rotating_light: DO NOT delete this branch until #538 has changed its base branch off of this branch! :rotating_light:
Summary
This is the first step towards the objective outlined in #517: introduce the
NumBlocksPerSession
parameter to thesession
module.(This PR is dependent on the param related E2E tests added in #486)
Next steps:
SessionQueryClient
&SupplierClient
.RelayMiner
to query dependent params on demand (naive implementation).sessionkeeper.NumBlocksPerSession
placeholder constant (depends on 1 & 2).session
module (scaffoldMsgUpdateParam
).RelayMiner
&SessionQueryClient
to react to param updates.Issue
517
Type of change
Select one or more:
Testing
Documentation changes (only if making doc changes)
make docusaurus_start
; only needed if you make doc changesLocal Testing (only if making code changes)
make go_develop_and_test
make test_e2e
PR Testing (only if making code changes)
devnet-test-e2e
label to the PR.make trigger_ci
if you want to re-trigger tests without any code changesSanity Checklist