Closed okhaimie-dev closed 5 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
mancala | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 6:35am |
mancala-pkco | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 6:35am |
This pull request includes significant updates to the configuration and dependencies of a Dojo application, transitioning its setup to the Sepolia network. Key modifications include changes to the dojoConfig.ts
file, which updates API endpoints and credentials, as well as version upgrades for several dependencies in package.json
. The App.tsx
file has been altered to utilize a new connector and streamline options, while various components and configuration files have been adjusted for readability and functionality. Additionally, a new manifest file for the Sepolia environment has been introduced, detailing the structure of the Mancala game.
File | Change Summary |
---|---|
client/dojoConfig.ts | Updated import from manifest_dev.json to manifest_sepolia.json , changed rpcUrl , toriiUrl , masterAddress , and masterPrivateKey to reflect new Sepolia network settings. |
client/package.json | Upgraded versions of dependencies: @cartridge/connector , @cartridge/controller , @starknet-react/chains , and @starknet-react/core . |
client/src/App.tsx | Replaced CartridgeConnector with ControllerConnector , simplified options object, and added autoConnect property to StarknetConfig . |
client/src/components/profile/user-section.tsx | Improved readability of the UserSection component, commented out useEffect hook, and reformatted rendering of username and social media links. |
client/src/dojo/createSystemCalls.ts | Added getEvents calls in create_game and create_private_game functions after awaiting transaction hash. |
client/src/hooks/useControllerData.ts | Changed import path for ControllerConnector and commented out logic for setting icon state. |
client/src/lib/config.ts | Updated GRAPHQL_ENDPOINT to new Sepolia URL. |
client/src/lib/constants.ts | Modified SLOT_RPC_URL and ACTION_ADDRESS , and removed duplicate entries in player_stats and duels_stats arrays. |
client/src/main.tsx | Commented out <React.StrictMode> wrapper around <ErrorBoundary> and <Suspense> . |
contracts/.tool-versions | Updated dojo dependency version from 1.0.0 to 1.0.1 . |
contracts/Scarb.toml | Incremented package version from 0.2.0 to 0.2.1 and updated dojo and dojo_cairo_test dependencies to version v1.0.1 . |
contracts/dojo_sepolia.toml | Updated world_address field with a new address. |
contracts/manifest_sepolia.json | Introduced a new manifest defining the structure of the Mancala game, including world object, entry points, interfaces, events, and contract details. |
client/dojoConfig.ts
for configuration settings, including rpcUrl
and toriiUrl
, related to the Sepolia network.client/dojoConfig.ts
to point to a different environment, reflecting changes for the Sepolia network.client/dojoConfig.ts
to update the rpcUrl
, aligning with the Sepolia network changes.client/dojoConfig.ts
that specifically update rpcUrl
and toriiUrl
for the Sepolia network.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
Release Notes
New Features
Improvements
UserSection
component for better readability and formatting.Bug Fixes
UserSection
component.Dependency Updates