Skip to content
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

Fogbugz 3469 - Generate a Unique Chain ID on each "init" #120

Merged
merged 4 commits into from
Jun 5, 2019

Conversation

mjk90
Copy link
Contributor

@mjk90 mjk90 commented Jun 5, 2019

Removed hard coded local chain ID from permission.js

@mjk90 mjk90 marked this pull request as ready for review June 5, 2019 06:43
@mjk90 mjk90 requested a review from varshajnagaraja June 5, 2019 06:44
@varshajnagaraja varshajnagaraja merged commit ba29890 into permissions-page Jun 5, 2019
@varshajnagaraja varshajnagaraja deleted the unique-chain-id branch June 5, 2019 07:35
varshajnagaraja added a commit that referenced this pull request Jun 10, 2019
* Split permissions in permission list UI, Refactor Edit account success flow

* Import keys flow refactored

* Permisiion list view logic refactored

* isDefaultEosio check change

* Checking keys deleted using updateAuth, showing 200 accounts maximum at a time

* Added front-end logic to initialize defaultId and fetched eosio account from local node MongoDB

* Updated default ID code

* Adjusted default ID initialization code to check if the current default ID belong to permission with valid private key

* Fixed typo

* Removing constraint to edit eosio keys

* Fixed problem with element not existing, it should be checked first

* Code clean up

* Properly updated _id when updating keys

* Code clean up, check for key pairs before assigning private keys

* Persist changed eosio public and private keys after resetting connection

* Added check to Import Account to prevent users importing the same private key to the same account/permission repeatedly

* Handle deleted keys

* Page should scroll to the top on submit

* Remove logs

* Allow to edit keys for any permission

* Make permission to be updated and the authorization permission as same

* Removed redundant code from permission.js

* Fogbugz 3469 - Generate a Unique Chain ID on each "init" (#120)

* Add link to smart contract name in Action history of Push action page (#116)

* Removed. hard coded local chain ID from permission.js

* remove chain id checking from reset all permissions function

* Added blockchaininfo fetchstart call to App.jsx to get chainId each time the page is reloaded. This is needed in permission page where chainId is used in an if statement.

* UI changes for Create/Edit/Import form

* Initialize default id refactored

* Refresh the permission list when endpoint changes/resets

* - Push action page - Added "Select Permission" message for cases where no default permission exists
- Push action page - Added default permission handling on page load and when user clicks "Clear"
- Deployment page - Added "Select Permission" message for cases where no default permission exists

* Added filter to push action permission dropdown to ignore permissions without private keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants