Skip to content

Commit

Permalink
update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
rjnrohit committed Nov 22, 2023
1 parent 3653ebe commit 16a7d7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/devnet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ jobs:
with:
task-definition: task-definition.json
container-name: "devnet"
# image: shardlabs/starknet-devnet-rs:${{ inputs.version }}
image: shardlabs/starknet-devnet:${{ inputs.version }}
image: shardlabs/starknet-devnet-rs:${{ inputs.version }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
Expand Down
8 changes: 6 additions & 2 deletions plugin/src/features/Deployment/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
type CallDataObject,
type Contract
} from '../../utils/types/contracts'
import { getConstructor, getParameterType } from '../../utils/utils'
import { getConstructor, getParameterType, getShortenedHash } from '../../utils/utils'
import Container from '../../components/ui_components/Container'

import { type AccordianTabs } from '../Plugin'
Expand Down Expand Up @@ -127,7 +127,11 @@ const Deployment: React.FC<DeploymentProps> = ({ setActiveTab }) => {
await remixClient.call(
'notification' as any,
'toast',
`ℹ️ Contract with classHash: ${selectedContract.classHash} already has been declared, proceeding to deployment...`
`ℹ️ Contract with classHash: ${getShortenedHash(
selectedContract.classHash,
6,
4
)} already has been declared, proceeding to deployment...`
)
} catch (error) {
const declareResponse = await account.declare({
Expand Down

0 comments on commit 16a7d7c

Please sign in to comment.