Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into hotfix/vote-marker…
Browse files Browse the repository at this point in the history
…-sizes
  • Loading branch information
ChewingGlass committed Oct 16, 2023
2 parents e991909 + 8ef17af commit 71ad5d6
Show file tree
Hide file tree
Showing 100 changed files with 1,454 additions and 418 deletions.
2 changes: 1 addition & 1 deletion .github/actions/buffer-deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
shell: bash
env:
DEPLOY_KEYPAIR: ${{ inputs.keypair }}
- run: solana-keygen new -o keyp --no-bip39-passphrase
- run: solana-keygen new -s -o keyp --no-bip39-passphrase
shell: bash
- run: ls -l ./target/deploy/
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-solana/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
if: steps.cache-solana.outputs.cache-hit != 'true'
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
shell: bash
- run: solana-keygen new --no-bip39-passphrase --force
- run: solana-keygen new -s --no-bip39-passphrase --force
shell: bash
- run: solana config set --url localhost
shell: bash
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12)


### Reverts

* Revert "Revert lazy transactions bitmap" ([46b3cdf](https://github.com/helium/helium-program-library/commit/46b3cdf11c8348ef2b3a4a5c29b36e9206e148f2))





# [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22)


Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = [
"utils/proposal",
]
exclude = [
"deps/metaplex-program-library/bubblegum/program",
"deps/metaplex-program-library/bubblegum/program",
"deps/metaplex-program-library/token-metadata/program",
"utils/ecc-sig-verifier",
"utils/migration-tx-executor",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"packages/*"
],
"useWorkspaces": true,
"version": "0.4.0"
"version": "0.4.1"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@coral-xyz/anchor": "^0.28.0",
"@coral-xyz/anchor-cli": "^0.28.0",
"@coral-xyz/borsh": "^0.2.6",
"@helium/crypto": "^4.10.2",
"@helium/modular-governance-idls": "^0.0.2",
"@helium/proposal-sdk": "^0.0.2",
"@helium/crypto": "^4.10.2",
"@helium/transactions": "^3.38.0",
"@metaplex-foundation/mpl-bubblegum": "^0.7.0",
"@pythnetwork/client": "^2.8.0",
Expand All @@ -56,6 +56,6 @@
"prettier": "^2.6.2",
"shx": "^0.3.4",
"ts-mocha": "^10.0.0",
"typescript": "^4.3.5"
"typescript": "^5.2.2"
}
}
8 changes: 8 additions & 0 deletions packages/account-fetch-cache-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12)

**Note:** Version bump only for package @helium/account-fetch-cache-hooks





# [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22)

**Note:** Version bump only for package @helium/account-fetch-cache-hooks
Expand Down
6 changes: 3 additions & 3 deletions packages/account-fetch-cache-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"registry": "https://registry.npmjs.org/"
},
"license": "Apache-2.0",
"version": "0.4.0",
"version": "0.4.1",
"description": "React hooks and context for account-fetch-cache",
"repository": {
"type": "git",
Expand All @@ -32,14 +32,14 @@
"prebuild": "npm run clean && npm run package"
},
"dependencies": {
"@helium/account-fetch-cache": "^0.4.0",
"@helium/account-fetch-cache": "^0.4.1",
"@solana/web3.js": "^1.78.4",
"react-async-hook": "^4.0.0"
},
"devDependencies": {
"git-format-staged": "^2.1.3",
"ts-loader": "^9.2.3",
"typescript": "^4.8.4",
"typescript": "^5.2.2",
"yarn": "^1.22.18"
},
"peerDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/account-fetch-cache/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.1](https://github.com/helium/helium-program-library/compare/v0.4.0...v0.4.1) (2023-10-12)

**Note:** Version bump only for package @helium/account-fetch-cache





# [0.4.0](https://github.com/helium/helium-program-library/compare/v0.2.21...v0.4.0) (2023-09-22)

**Note:** Version bump only for package @helium/account-fetch-cache
Expand Down
4 changes: 2 additions & 2 deletions packages/account-fetch-cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helium/account-fetch-cache",
"version": "0.4.0",
"version": "0.4.1",
"description": "Solana account fetch cache to eliminate reduntant fetching, and batch fetches",
"publishConfig": {
"access": "public",
Expand Down Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"git-format-staged": "^2.1.3",
"ts-loader": "^9.2.3",
"typescript": "^4.8.4",
"typescript": "^5.2.2",
"yarn": "^1.22.18"
},
"gitHead": "5a8bf0b7b88e5934ef8d774e686f7c95804fbb8d"
Expand Down
8 changes: 8 additions & 0 deletions packages/account-postgres-sink-service/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.1](https://github.com/helium/helium-program-libary/compare/v0.4.0...v0.4.1) (2023-10-12)

**Note:** Version bump only for package @helium/account-postgres-sink-service





# [0.4.0](https://github.com/helium/helium-program-libary/compare/v0.2.21...v0.4.0) (2023-09-22)

**Note:** Version bump only for package @helium/account-postgres-sink-service
Expand Down
5 changes: 3 additions & 2 deletions packages/account-postgres-sink-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Specify the base image
FROM node:16-alpine AS BUILD_IMAGE
FROM node:18-alpine AS BUILD_IMAGE

WORKDIR /usr/src/app

Expand All @@ -8,14 +8,15 @@ COPY package.json ./
RUN yarn install

COPY src src
COPY typeings typeings
COPY tsconfig.build.json tsconfig.json

RUN yarn global add typescript
RUN yarn run build

RUN npm prune --production

FROM node:16-alpine
FROM node:18-alpine

WORKDIR /usr/src/app

Expand Down
9 changes: 6 additions & 3 deletions packages/account-postgres-sink-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"registry": "https://registry.npmjs.org/"
},
"license": "Apache-2.0",
"version": "0.4.0",
"version": "0.4.1",
"description": "Sync account data to postgres",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,21 +34,24 @@
"dependencies": {
"@coral-xyz/anchor": "^0.28.0",
"@fastify/cors": "^8.1.1",
"@helium/account-fetch-cache": "^0.4.0",
"@helium/account-fetch-cache": "^0.4.1",
"@metaplex-foundation/mpl-token-metadata": "^2.10.0",
"@solana/web3.js": "^1.78.4",
"aws-sdk": "^2.1344.0",
"axios": "^1.3.6",
"axios-retry": "^3.8.0",
"bn.js": "^5.2.0",
"bs58": "^4.0.1",
"deep-equal": "^2.2.2",
"fastify": "^4.13.0",
"fastify-cron": "^1.3.1",
"fastify-metrics": "^10.3.0",
"fastify-plugin": "^4.5.1",
"h3-js": "^4.1.0",
"http-status-codes": "^2.2.0",
"inflection": "^2.0.1",
"lodash": "^4.17.21",
"p-limit": "3.1.0",
"pg": "^8.9.0",
"prom-client": "^14.2.0",
"sequelize": "^6.28.0",
Expand All @@ -65,7 +68,7 @@
"ts-loader": "^9.2.3",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4",
"typescript": "^5.2.2",
"yarn": "^1.22.18"
},
"keywords": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
{ "type": "Registrar", "table": "registrars", "schema": "public" }
],
"crons": [
{ "schedule": "*/15 * * * *", "type": "refresh-accounts"},
{ "schedule": "*/15 * * * *", "type": "integrity-check"}
{ "schedule": "*/15 * * * *", "type": "refresh-accounts" },
{ "schedule": "*/15 * * * *", "type": "integrity-check" }
]
},
{
Expand Down Expand Up @@ -81,12 +81,28 @@
{
"type": "IotHotspotInfoV0",
"table": "iot_hotspot_infos",
"schema": "public"
"schema": "public",
"plugins": [
{
"type": "ExtractHexLocation",
"config": {
"field": "location"
}
}
]
},
{
"type": "MobileHotspotInfoV0",
"table": "mobile_hotspot_infos",
"schema": "public"
"schema": "public",
"plugins": [
{
"type": "ExtractHexLocation",
"config": {
"field": "location"
}
}
]
}
]
},
Expand All @@ -102,4 +118,4 @@
]
}
]
}
}
Loading

0 comments on commit 71ad5d6

Please sign in to comment.