-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add typescript and configure support for GUI #978
Conversation
82b0334
to
6ea65de
Compare
f1392c4
to
cb68634
Compare
6ea65de
to
d2fe40d
Compare
Could we maybe add a single type annotation to our JS to see this working? |
@j16r this file doesn't deal with any types but I converted it to I'm working on getting it working for truffle but it seems a little more complicated so want to create a separate PR. |
d2fe40d
to
4efbeca
Compare
@@ -13,7 +13,7 @@ class App extends PureComponent { | |||
} | |||
} | |||
|
|||
render () { | |||
render (): JSX.Element { |
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.
@j16r return type
Awesome! 🥇 |
## Motivation Plugins need to refresh HomeChain config regularly to know which oracles support which chains and the latest F for each chain. ## Solution * Add HomeChainConfigPoller which polls chain configs and maps them to internal configs * Commit plugin uses HomeChainConfigPoller to access required data
[#163414230]