Closed Hemanthghs closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
resolute | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Aug 28, 2024 7:04am |
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The changes across multiple files enhance the functionality of the blockchain contract management interface. New components are introduced for managing transaction statuses and address inputs, while existing components are updated to accept additional props, improving their interactivity. Refactoring has been done to streamline state management and user interactions, particularly in deploying contracts and handling funds.
Files | Change Summary |
---|---|
frontend/src/app/(routes)/cosmwasm/[network]/ChainContracts.tsx , PageContracts.tsx |
New transaction status components added; DeployContract updated to accept chainID prop. |
frontend/src/app/(routes)/cosmwasm/components/deploy-contract/AddAddresses.tsx , AddressInputField.tsx , CustomTextField.tsx |
New components introduced for managing address inputs and form handling with React Hook Form. |
frontend/src/app/(routes)/cosmwasm/components/deploy-contract/DeployContract.tsx , DeployContractTabs.tsx |
DeployContract modified to accept chainID and manage selected tabs; DeployContractTabs refactored for external state management. |
frontend/src/app/(routes)/cosmwasm/components/deploy-contract/InstantiateContract.tsx , UploadWasmFile.tsx |
New forms for instantiating contracts and uploading WASM files with improved validation and user interaction. |
frontend/src/app/(routes)/cosmwasm/components/single-contract/AmountInputField.tsx , Fund.tsx , SelectFunds.tsx |
Modifications to handle conditional rendering of delete actions based on fund availability. |
frontend/src/components/common/CustomButton.tsx |
CustomButton updated to include an optional form prop for enhanced versatility in form handling. |
frontend/src/utils/commonStyles.ts |
Addition of fontSize property to improve input component styling. |
sequenceDiagram
participant User
participant DeployContract
participant InstantiateContract
participant UploadWasmFile
User->>DeployContract: Select Chain ID
DeployContract->>InstantiateContract: Pass chainID
DeployContract->>UploadWasmFile: Pass chainID
InstantiateContract->>User: Input contract details
UploadWasmFile->>User: Input WASM file
User->>InstantiateContract: Submit contract
User->>UploadWasmFile: Submit file
π° In the fields where contracts grow,
New components dance, in a merry flow.
With tabs and forms, we hop and play,
Managing funds in a joyful way!
So gather 'round, letβs deploy with glee,
For blockchain magic awaits, you see! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor