From d46aa3fa6fb0fbce2a31cb79fa5bfe042a2aadeb Mon Sep 17 00:00:00 2001 From: den <26140541+denishacquin@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:10:08 +0700 Subject: [PATCH 1/2] adapt endpoint for genlayer js rpc (#701) --- frontend/src/hooks/useGenlayer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/hooks/useGenlayer.ts b/frontend/src/hooks/useGenlayer.ts index 996ccf726..e9812c104 100644 --- a/frontend/src/hooks/useGenlayer.ts +++ b/frontend/src/hooks/useGenlayer.ts @@ -23,6 +23,7 @@ export function useGenlayer() { function initClient() { client = createClient({ chain: simulator, + endpoint: import.meta.env.VITE_JSON_RPC_SERVER_URL, account: createAccount(accountsStore.currentPrivateKey || undefined), }); } From e6ec066d92d4e5b19a07239433171d6ea01daa9c Mon Sep 17 00:00:00 2001 From: Edinaldo Pereira da Silva Junior <69252337+epsjunior@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:27:00 -0300 Subject: [PATCH 2/2] fix: adding Hardhat Dockerfile in GitHub Workflow (#693) --- .github/workflows/docker-build-and-push-all.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/docker-build-and-push-all.yml b/.github/workflows/docker-build-and-push-all.yml index 0ac527c84..790a3bf34 100644 --- a/.github/workflows/docker-build-and-push-all.yml +++ b/.github/workflows/docker-build-and-push-all.yml @@ -50,3 +50,13 @@ jobs: dockerhub_username: ${{ vars.DOCKERHUB_USERNAME }} secrets: dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} + + hardhat: + uses: ./.github/workflows/docker-build-and-push-image.yml + with: + docker_build_context: . + dockerfile: docker/Dockerfile.hardhat + dockerhub_repo: yeagerai/simulator-hardhat + dockerhub_username: ${{ vars.DOCKERHUB_USERNAME }} + secrets: + dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}