Skip to content

Commit

Permalink
Merge pull request #932 from tablelandnetwork/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderpick authored Oct 24, 2023
2 parents 6d0d7b2 + 71af0ad commit f9f934d
Show file tree
Hide file tree
Showing 74 changed files with 1,028 additions and 452 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Setup Node Environment ⬢
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Install
run: npm install
- name: Build
Expand Down Expand Up @@ -90,10 +90,12 @@ jobs:
- name: Setup Node Environment ⬢
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Test Voting
run: npm run test-voting
48 changes: 47 additions & 1 deletion garage/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion garage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"typescript": "^5.1.3",
"vite": "^4.3.2",
"vite-plugin-ejs": "^1.6.4",
"vite-plugin-svgr": "^2.4.0"
"vite-plugin-svgr": "^2.4.0",
"vite-tsconfig-paths": "^4.2.1"
}
}
24 changes: 24 additions & 0 deletions garage/src/abis/VotingRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,28 @@ export const abi = [
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "role",
type: "bytes32",
},
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "hasRole",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
] as const;
2 changes: 1 addition & 1 deletion garage/src/components/AboutPilotsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Text,
VStack,
} from "@chakra-ui/react";
import garage from "../assets/garage.jpg";
import garage from "~/assets/garage.jpg";

interface ModalProps {
isOpen: boolean;
Expand Down
2 changes: 1 addition & 1 deletion garage/src/components/ChainAwareButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import { Button } from "@chakra-ui/react";
import { Chain, useNetwork } from "wagmi";
import { useChainModal } from "@rainbow-me/rainbowkit";
import { mainChain } from "../env";
import { mainChain } from "~/env";

export const ChainAwareButton = (
props: { expectedChain?: Chain } & React.ComponentProps<typeof Button>
Expand Down
Loading

0 comments on commit f9f934d

Please sign in to comment.