Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Fix/32 codehash #43

Merged
merged 11 commits into from
Jul 12, 2021
Merged

Fix/32 codehash #43

merged 11 commits into from
Jul 12, 2021

Conversation

sirius651
Copy link
Contributor

Fix some issues in #32

  • change the balance input component format for Endowment (UNIT) and Max gas allowed so that it matches the style of ones in the Transfer modal. The input box should allow the users to choose a different token metric or use decimal strings

  • allow the user to upload the metadata.json file instead of pasting the full JSON string when adding a contract code hash and switch the location for the bundle name and code hash input box

@sirius651 sirius651 requested a review from hoonsubin July 5, 2021 08:19
src/components/dapps/ModalCreateDapps.vue Show resolved Hide resolved
src/components/dapps/ModalCreateDapps.vue Outdated Show resolved Hide resolved
src/helper/plasmUtils.ts Outdated Show resolved Hide resolved
@sirius651 sirius651 requested a review from hoonsubin July 6, 2021 03:26
Copy link
Contributor

@hoonsubin hoonsubin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be an inconsistency issue with handling token balance inputs. Especially when I try to change the input value or the input unit.

src/components/dapps/ModalCreateDapps.vue Show resolved Hide resolved
src/components/dapps/ModalCreateDapps.vue Outdated Show resolved Hide resolved
src/components/dapps/ModalCreateDapps.vue Outdated Show resolved Hide resolved
src/components/dapps/ModalCreateDapps.vue Show resolved Hide resolved
sirius651 and others added 5 commits July 7, 2021 01:16
* Resolve not render contracts properly

* Fix issue which signer is not changed

* Add contract items

* bind data on render list

* fix lint

* Feature/contract info (#28)

* set icon based on alerttype

* Add abi hooks for contract

* deplying ing...

* Add accountsigner

* get successful to deploying contracts

* set loading while deploying contract

* Add store module for contract

* Finished add contract from existing hash

* fix linting

* change npm module version

* resolve contract-util issue

* remove rpc

* update pull request actions (#25)

* update pull request actions

* change step names

* add engine config to package.json

* remove metadata test josn

* fix file upload issue

* refactors

* working well before refactor

* get rid of api store things

* remove boilerplate apipromise on hook

* Update plasm-types version > 1.5.4-2

* refactor params helper

* Feature/switch mode (#26)

* edit tailwind.config

* implement switching modes locally

* tweak styles

* use vuex to store theme

* working on contract-info ui

* implemnt contract info ui

* modifty modal and message to include msgs docs

* implement tooltip for contract messages

* modify message type in modal

* move message into contract-info

* add forget btn on code hashes

* bind with confirm-removal-modal && refactors

Co-authored-by: Will Park <korea651@hanmail.net>
Co-authored-by: Hoon Kim <mail@hoonkim.me>
Co-authored-by: Hoon Kim <40356749+hoonsubin@users.noreply.github.com>

* add helper in param, add index field to MessageType

* implement constructor selector UI

* rename params to paramsgen

* use paramsGen in modal, add navigations, improve UX

* fix styles

* add balance component

* use balance component in formatbalance

* add inputBalance component

* use inputbalance in modaltransfer

* fix modal ui, log params

* add input for number and boolean

* add deploy workflow (#41)

* add public path config (#42)

* modify inputbalance compoennt

* twak inputbalance ui

* made inputbalance to emit new event

* implment param gen for primitive types

* made ParamGeneator take params and index

Co-authored-by: Will Park <korea651@hanmail.net>
Co-authored-by: Hoon Kim <mail@hoonkim.me>
Co-authored-by: Hoon Kim <40356749+hoonsubin@users.noreply.github.com>
@sirius651 sirius651 mentioned this pull request Jul 9, 2021
@sirius651
Copy link
Contributor Author

Fixed above drop zone issue and created new issue regarding endowment estimation - #45
just let me know other issues you found in this pr

@sirius651
Copy link
Contributor Author

also, it includes adding shiden network

@sirius651 sirius651 requested a review from hoonsubin July 9, 2021 08:09
Copy link
Contributor

@hoonsubin hoonsubin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, I am still seeing the same issue regarding the contract deployment. As you mentioned, I think moving that to a separate issue better and skip that for this PR.
However, there are issues with Shiden network type registry that prevents it from displaying account balance data. After we can fix the balance display issue, I think we can call it done for now (unless there are other improvements we can make quickly).

src/config/chainEndpoints.ts Show resolved Hide resolved
src/hooks/useChainMetadata.ts Show resolved Hide resolved
@sirius651 sirius651 requested a review from hoonsubin July 12, 2021 06:31
src/helper/units.ts Show resolved Hide resolved
Copy link
Contributor

@hoonsubin hoonsubin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The issue regarding the contract deployment should be fixed as a separate ticket

@hoonsubin hoonsubin merged commit 55a1948 into main Jul 12, 2021
@hoonsubin hoonsubin deleted the fix/32-codehash branch July 12, 2021 09:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants