Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.2 #475

Merged
merged 9 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci_develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
echo NX_GRAPH_API_KEY_MAINNET=${{ secrets.NX_GRAPH_API_KEY_MAINNET }} >> .env
echo NX_WALLET_CONNECT_ID=${{ secrets.NX_WALLET_CONNECT_ID }} >> .env
echo NX_BASESCAN_KEY=${{ secrets.NX_BASESCAN_KEY }} >> .env
echo NX_BASE_ALCHEMY_KEY=${{ secrets.NX_BASE_ALCHEMY_KEY }} >> .env

- name: Install dependencies
run: yarn install
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
echo NX_GRAPH_API_KEY_MAINNET=${{ secrets.NX_GRAPH_API_KEY_MAINNET }} >> .env
echo NX_WALLET_CONNECT_ID=${{ secrets.NX_WALLET_CONNECT_ID }} >> .env
echo NX_BASESCAN_KEY=${{ secrets.NX_BASESCAN_KEY }} >> .env
echo NX_BASE_ALCHEMY_KEY=${{ secrets.NX_BASE_ALCHEMY_KEY }} >> .env

- name: Install dependencies
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion libs/abis/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/abis",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/connect-context/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/connect-context",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daohaus/connect",
"version": "0.4.1",
"version": "0.4.2",
"peerDependencies": {
"react-router-dom": "^6.4.3"
}
Expand Down
2 changes: 1 addition & 1 deletion libs/contract-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/contract-utils",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/data-fetch-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/data-fetch-utils",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/form-builder-base/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/form-builder-base",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/form-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/form-builder",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/keychain-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/keychain-utils",
"version": "0.4.1"
"version": "0.4.2"
}
4 changes: 1 addition & 3 deletions libs/keychain-utils/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ export const HAUS_RPC_DEFAULTS = {
'0xaa36a7': process.env['NX_RIVET_KEY']
? `https://${process.env['NX_RIVET_KEY']}.sepolia.rpc.rivet.cloud/`
: 'https://eth-sepolia.g.alchemy.com/v2/demo',
'0x2105': process.env['NX_BASE_ALCHEMY_KEY']
? `https://base.g.alchemy.com/v2/${process.env['NX_BASE_ALCHEMY_KEY']}`
: `https://base.llamarpc.com`,
'0x2105': `https://base.llamarpc.com`,
};
export const HAUS_RPC = {
'0x1': process.env['NX_MAINNET_RPC']
Expand Down
2 changes: 1 addition & 1 deletion libs/moloch-v3-data/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/moloch-v3-data",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/moloch-v3-fields/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/moloch-v3-fields",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/moloch-v3-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daohaus/moloch-v3-hooks",
"version": "0.4.1",
"version": "0.4.2",
"peerDependencies": {
"react-query": "^3.39.3"
}
Expand Down
2 changes: 1 addition & 1 deletion libs/moloch-v3-legos/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/moloch-v3-legos",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/moloch-v3-macro-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daohaus/moloch-v3-macro-ui",
"version": "0.4.1",
"version": "0.4.2",
"peerDependencies": {
"react-router-dom": "^6.4.3"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const MemberList = ({
hasNextPage,
orderMembers,
} = useDaoMembers();
console.log('members', members, hasNextPage);
const isMd = useBreakpoint(widthQuery.md);

const tableData = useMemo<MolochV3Members>(() => {
Expand Down
2 changes: 1 addition & 1 deletion libs/profile-data/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@daohaus/profile-data",
"version": "0.4.1",
"version": "0.4.2",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion libs/tx-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/tx-builder",
"version": "0.4.1"
"version": "0.4.2"
}
16 changes: 10 additions & 6 deletions libs/tx-builder/src/utils/deepDecoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,17 @@
const inputsWithValues = (inputs as any[]).map((input, index) => ({
name: input.name,
type: input.type,
value: Array.isArray(result.args?.[index])
? // eslint-disable-next-line @typescript-eslint/no-explicit-any
(result.args?.[index] as Array<any>).length
// eslint-disable-next-line @typescript-eslint/no-explicit-any
value:
(result.args?.[index] as any).constructor === {}.constructor

Check warning on line 162 in libs/tx-builder/src/utils/deepDecoding.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type

Check warning on line 162 in libs/tx-builder/src/utils/deepDecoding.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type
? JSON.stringify(result.args?.[index]) // struct as json object
: Array.isArray(result.args?.[index]) // array
? // eslint-disable-next-line @typescript-eslint/no-explicit-any
(result.args?.[index] as Array<any>).toString()
: '[]'
: result.args?.[index]?.toString() || '0x',
(result.args?.[index] as Array<any>).length
? // eslint-disable-next-line @typescript-eslint/no-explicit-any
(result.args?.[index] as Array<any>).toString()
: '[]'
: result.args?.[index]?.toString() || '0x',
}));

return {
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/ui",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/utils",
"version": "0.4.1"
"version": "0.4.2"
}
2 changes: 1 addition & 1 deletion libs/utils/src/constants/proposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const PROPOSAL_FILTERS: Record<string, string> = {
// Processing gas estimate buffer
export const GAS_BUFFER_MULTIPLIER = 2;
// Adding to the gas limit to account for cost of processProposal
export const PROCESS_PROPOSAL_GAS_LIMIT_ADDITION = 250000;
export const PROCESS_PROPOSAL_GAS_LIMIT_ADDITION = 400000;
// Adding to the gas limit to account for cost of each action
export const ACTION_GAS_LIMIT_ADDITION = 150000;

Expand Down
2 changes: 1 addition & 1 deletion libs/wizard-form-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@daohaus/wizard-form-builder",
"version": "0.1.1"
"version": "0.1.2"
}
Loading