-
Notifications
You must be signed in to change notification settings - Fork 43
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
(Feature) Reorder contract executors: owners are first #239
Conversation
@vbaranov Input data:
As a result NW can't execute method |
Fixed 291089d |
e2e contract-executor-reorder
@dennis00010011b could you please resolve merging conflicts in e2e tests? |
@@ -113,6 +152,47 @@ class ChooseContractExecutor extends Component { | |||
}) | |||
} | |||
|
|||
getAllOwners = () => { | |||
this.props.showLoadingIndication() |
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.
May it be possible to add a catch
to the promise so you can call hideLoadingIndicator
if for any reason the Promise.all
fails?
or you can refactor to use async/await
s? whatever fits best.
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.
Thanks @fernandomg! Catch was added.
If an executed contract has
owner
orgetOwners
getters, and addresses from the resulted array are in the list of wallet accounts, they will be first in the list in the Choose contract executor screen.