-
Notifications
You must be signed in to change notification settings - Fork 15
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 code for proposals and gateways #21
Conversation
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.
@bassjobsen please provide consistent identation. asch-js
uses TABS
as identation.
Thanks 👍
@a1300 please give an example of file and line number with wrong ident, because of for me it seems that the indetation is the same as the original files? |
@bassjobsen github doesn't render the whitespace in code, but I saw that it was off, because github is using another tabspace width. If you install this browser extension: render-whitespace-on-github you can also view it in the browser. Your https://github.com/AschPlatform/asch-js/blob/603b62ad0d8747ec5cc0a5b429755c0bd3b61cf7/lib/transactions/gateway.js file: Your https://github.com/AschPlatform/asch-js/blob/603b62ad0d8747ec5cc0a5b429755c0bd3b61cf7/lib/transactions/proposal.js file: Please only use P.S: I configured Visual Studio Code to render whitespace: |
@bassjobsen I reviewed your pull request. I have only very small change proposals:
|
@a1300 About the renaming of the function And finally about the harded |
@bassjobsen regarding the renaming: Normally I would also think that the file is called I like that you structured the code like the asch-core repo 👍 Regarding the https://github.com/AschPlatform/asch/blob/develop/src/contract/proposal.js const VALID_TOPICS = [
'gateway_register',
'gateway_init',
'gateway_update_member',
'gateway_revoke',
] I only told you about the hard coded |
No description provided.