-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2E test for tokens only namespaces #919
Conversation
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
moving code for adding namespaces to config, resetting ff, etc. into a common package Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Codecov Report
@@ Coverage Diff @@
## main #919 +/- ##
==========================================
- Coverage 99.97% 99.95% -0.02%
==========================================
Files 299 299
Lines 19475 19481 +6
==========================================
+ Hits 19470 19473 +3
- Misses 4 6 +2
- Partials 1 2 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
502894a
to
cfd2018
Compare
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
2a71a09
to
4ac033b
Compare
Adding the |
suite.connector = stack.TokenProviders[0] | ||
suite.db = stack.Database | ||
account := stackState.Accounts[0].(map[string]interface{}) | ||
suite.key = account["address"].(string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to extract this rather than just using the default key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking through the code, is there any better way to get the defaultkey
? I don't see it used anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to just leave key
blank and asset manager will always use the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few more questions/comments, but putting an approval on this to merge after you go through them.
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
4ac033b
to
dbca11b
Compare
- updating all references of `namespace` to now be `namespaces` Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
tokens
pluginkeynormalization
config undernamespaces.predefined[].assets.manager.keynormalization