Closed Poafs1 closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
celatone-frontend-staging | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 28, 2024 9:08am |
[!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 recent changes primarily focus on enhancing the application's support for Ethereum Virtual Machine (EVM) functionality. This includes the introduction of new components for displaying EVM contract details, updates to configuration types, and the addition of hooks for interacting with EVM parameters and contract information. Additionally, several utility functions and validation schemas have been introduced or modified to accommodate these enhancements, contributing to a more robust framework for managing EVM-related data.
Files | Change Summary |
---|---|
CHANGELOG.md |
Added entry for improvements, including a new minievm branch and references to pull requests for existing functionality updates. |
package.json |
Updated @alleslabs/shared dependency version from 1.0.0-dev2 to 1.0.0-dev3 . |
src/config/chain/devChainConfigs.ts , src/lib/app-provider/contexts/default.ts |
Introduced new evm configuration option with enabled set to false in both files, enhancing control over EVM settings. |
src/lib/app-provider/env.ts |
Added new entries to CELATONE_QUERY_KEYS enum: EVM_PARAMS_LCD , EVM_CODES_BY_ADDRESS , EVM_CONTRACT_INFO_SEQUENCER . |
src/lib/app-provider/hooks/useConfig.ts |
Introduced new hook useEvmConfig for managing EVM-related configurations. |
src/lib/app-provider/hooks/useConvertHexAddress.ts |
Modified type imports and return types for address conversion functions to improve type safety with new address types. |
src/lib/app-provider/hooks/useGas.ts |
Added checks for fees.fee_tokens to improve error handling. |
src/lib/components/json/TextReadOnly.tsx |
Introduced new TextReadOnly component for displaying text in a read-only format using Ace Editor. |
src/lib/layout/network-menu/NetworkMenuBody.tsx , src/lib/layout/network-menu/hooks/useNetworkSelector.ts , src/lib/layout/network-menu/index.tsx |
Added support for filteredDevnetChains in the network menu components to handle development networks. |
src/lib/pages/custom-network/types.ts |
Updated to include new evm property in network configuration types, allowing for EVM integration. |
src/lib/pages/evm-contract-details/components/*.tsx |
Introduced components for displaying EVM contract details, including bytecode, overview, and top-level contract information. |
src/lib/pages/evm-contract-details/index.tsx |
Introduced main component for displaying EVM contract details, managing routing and data fetching using hooks. |
src/lib/services/evm/*.ts |
Introduced hooks and functions for interacting with EVM parameters and contract information, enhancing data fetching capabilities. |
src/lib/services/types/evm/*.ts |
Added Zod schemas for validating EVM-related data structures, improving type safety. |
src/lib/styles/globals.css , src/lib/styles/theme/components/button.ts |
Added new CSS rules and styling updates for components, enhancing visual presentation. |
src/lib/utils/address.ts , src/lib/utils/validate.ts |
Modified utility functions to handle Ethereum-style public keys and introduced is0x function for address validation. |
src/pages/[network]/evm-contracts/[contractAddress]/[tab].tsx , src/pages/[network]/evm-contracts/[contractAddress]/index.tsx |
Introduced new pages for displaying EVM contract details, facilitating easier integration into the application. |
sequenceDiagram
participant User
participant App
participant EvmContractDetails
participant EvmService
User->>App: Requests EVM contract details
App->>EvmContractDetails: Fetch contract details
EvmContractDetails->>EvmService: Get contract info
EvmService-->>EvmContractDetails: Return contract data
EvmContractDetails-->>App: Send contract details
App-->>User: Display contract details
🐰 In the land of code so bright,
Changes hop with pure delight.
EVM contracts now take the stage,
With details clear on every page.
A sprinkle of style, a dash of flair,
Our app's new look is beyond compare! 🌟
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?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Style
Tests