Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f90a787
Feature/bump deps (#10)
bryzettler Nov 6, 2023
efcf883
add scripts to package.json
bryzettler Nov 6, 2023
a7facc2
chore(release): publish 0.0.6
bryzettler Nov 6, 2023
1c39345
bump deps
bryzettler Nov 7, 2023
5ee87b2
chore(release): publish 0.0.7
bryzettler Nov 7, 2023
896a808
bump deps
bryzettler Nov 10, 2023
1208f11
chore(release): publish 0.0.8
bryzettler Nov 10, 2023
e6cffa4
Merge remote-tracking branch 'origin/main' into develop
ChewingGlass Jan 31, 2024
bdc8e69
Add devnet feature
ChewingGlass Jan 31, 2024
eaa16fb
chore(release): publish 0.0.9
ChewingGlass Mar 13, 2024
af9b632
Merge remote-tracking branch 'origin/main' into develop
ChewingGlass Mar 13, 2024
f96bb03
Merge remote-tracking branch 'origin/main' into develop
ChewingGlass Apr 15, 2024
71326dd
Add recursive delegation for nft-style voting schems (#11)
ChewingGlass Aug 9, 2024
7cf5ec1
conflicts
bryzettler Aug 12, 2024
c369fdb
Chore/publish 0.0.12 (#33)
bryzettler Aug 12, 2024
b6f50ec
Fix mod gov package.json
ChewingGlass Sep 6, 2024
21a23ba
chore(release): publish 0.0.13
ChewingGlass Sep 6, 2024
678073c
Bump version
ChewingGlass Sep 6, 2024
af34eb9
Merge branch 'main' into develop
ChewingGlass Oct 21, 2024
c7bcf86
[HIP-124]: Implement abstain vote (#37)
ChewingGlass Oct 23, 2024
46b2a82
chore(release): publish 0.0.14
ChewingGlass Oct 24, 2024
a5a886b
Bump version
ChewingGlass Oct 24, 2024
ab7c272
bump squads
ChewingGlass Oct 24, 2024
3d4e674
get another release for state controller
ChewingGlass Oct 24, 2024
6065c0f
Add fallbacks for smart contracts used by HPL (#38)
ChewingGlass Dec 6, 2024
9e64627
chore(release): publish 0.0.15
ChewingGlass Dec 6, 2024
ebf582e
Fix bugs in nft and token voter (#39)
ChewingGlass Dec 13, 2024
f7dffee
Merge remote-tracking branch 'origin/main' into develop
ChewingGlass Jan 30, 2025
f62ca7c
Fix build
ChewingGlass Jan 30, 2025
2d8830d
Upgrade to anchor 0.31.0 (#42)
ChewingGlass Mar 21, 2025
156e425
chore(release): publish 0.1.5
ChewingGlass Mar 21, 2025
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
4 changes: 2 additions & 2 deletions .github/actions/build-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- uses: ./.github/actions/setup-anchor/
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Cargo registry + index
id: cache-cargo-registry
with:
Expand All @@ -30,7 +30,7 @@ runs:
~/.cargo/git/db/
key: cargo-${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- name: Cache Anchor Build
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-anchor-build
with:
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-verified/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- uses: ./.github/actions/setup-anchor/
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Cargo registry + index
id: cache-cargo-registry
with:
Expand All @@ -32,7 +32,7 @@ runs:
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-${{ runner.os }}-v0001-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Solana Verify
id: cache-solana-verify
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
steps:
- uses: ./.github/actions/setup/
- uses: ./.github/actions/setup-solana/
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Anchor Cli
id: cache-anchor-cli
with:
Expand All @@ -19,7 +19,7 @@ runs:
- run: if [ $ANCHOR_VERSION -eq 0 ]; then cargo install --git https://github.com/coral-xyz/anchor --rev $ANCHOR_SHA anchor-cli --locked --force; else cargo install --git https://github.com/coral-xyz/anchor --tag "v$ANCHOR_VERSION" anchor-cli --locked; fi
shell: bash
if: steps.cache-anchor-cli.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Toml Cli
id: cache-toml-cli
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-solana/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ description: "Setup Solana"
runs:
using: "composite"
steps:
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Solana Tool Suite
id: cache-solana
with:
path: |
~/.cache/solana/
~/.local/share/solana/
key: solana-${{ runner.os }}-v0000-${{ env.SOLANA_CLI_VERSION }}
- run: sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_CLI_VERSION }}/install)"
- run: sh -c "$(curl -sSfL https://release.anza.xyz/v${{ env.SOLANA_CLI_VERSION }}/install)"
shell: bash
if: steps.cache-solana.outputs.cache-hit != 'true'
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-ts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Typescript node_modules
id: cache-typescript-node-modules
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ runs:
shell: bash
- run: sudo apt-get install -y pkg-config build-essential libudev-dev
shell: bash
# TODO: We're on anchor latest because of https://github.com/coral-xyz/anchor/issues/2568
# On anchor 0.28.1 we can probably stop using 0 as the source
- run: echo "ANCHOR_VERSION=0" >> $GITHUB_ENV
- run: echo "ANCHOR_VERSION=0.31.0" >> $GITHUB_ENV
shell: bash
- run: echo "ANCHOR_SHA=3e8bc76d72e2bfdb3962868b5066" >> $GITHUB_ENV
shell: bash
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/develop-release-program.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy Programs to devnet

env:
SOLANA_CLI_VERSION: 1.16.13
SOLANA_CLI_VERSION: 2.1.6
NODE_VERSION: 18.12.1

on:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
find programs -type f -name '*.rs' -exec sed -i "s/b\"nJWGUMOK\"/b\"devnethelium5\"/g" {} \;

- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Toml Cli
id: cache-toml-cli
with:
Expand Down Expand Up @@ -90,13 +90,13 @@ jobs:
program-id: ${{ env.PROGRAM_ID }}

- name: Store so files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{matrix.program}}-so
path: |
./target/deploy/${{env.PROGRAM_NAME}}.so
- name: Store idl files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{matrix.program}}-idl
path: |
Expand Down Expand Up @@ -129,12 +129,12 @@ jobs:
PROGRAM: ${{ matrix.program }}

- name: Download a so files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{matrix.program}}-so
path: ./target/deploy/
- name: Download idl files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{matrix.program}}-idl
path: ./target/idl/
Expand All @@ -148,7 +148,7 @@ jobs:
program-id: ${{ env.PROGRAM_ID }}
buffer-authority: ${{ secrets.DEVNET_MULTISIG_VAULT }}
- name: Squads program upgrade
uses: helium/squads-program-upgrade@v0.3.1
uses: helium/squads-program-upgrade@v0.3.3
with:
network-url: "https://api.devnet.solana.com"
program-multisig: ${{ secrets.DEVNET_MULTISIG }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-canary-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [ created ]

env:
SOLANA_CLI_VERSION: 1.16.13
SOLANA_CLI_VERSION: 2.1.6
NODE_VERSION: 18.12.1

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: NPM Publish

env:
SOLANA_CLI_VERSION: 1.16.13
SOLANA_CLI_VERSION: 2.1.6
NODE_VERSION: 18.12.1

on:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-program.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release Program to Mainnet

env:
SOLANA_CLI_VERSION: 1.16.13
SOLANA_CLI_VERSION: 2.1.6
NODE_VERSION: 18.12.1

on:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Toml Cli
id: cache-toml-cli
with:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
buffer-authority: ${{ secrets.MULTISIG_VAULT }}

- name: Squads program upgrade
uses: helium/squads-program-upgrade@v0.3.1
uses: helium/squads-program-upgrade@v0.3.3
with:
network-url: "https://api.mainnet-beta.solana.com"
program-multisig: ${{ secrets.MULTISIG }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
- develop
env:
SOLANA_CLI_VERSION: 1.16.13
SOLANA_CLI_VERSION: 2.1.6
NODE_VERSION: 18.12.1

jobs:
Expand All @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup/
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Cargo registry + index
id: cache-cargo-build
with:
Expand All @@ -31,15 +31,15 @@ jobs:
key: cargo-${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- run: cargo build --locked
- run: cargo fmt -- --check
- run: cargo clippy --all-targets -- -D warnings -A clippy::result_large_err -A clippy::too_many_arguments -A clippy::uninlined-format-args -A ambiguous_glob_reexports
- run: cargo clippy --all-targets -- -D warnings -A unexpected-cfgs -A clippy::result_large_err -A clippy::too_many_arguments -A clippy::uninlined-format-args -A ambiguous_glob_reexports

test-unit:
name: Rust Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup/
- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Cargo registry + index
id: cache-cargo-build
with:
Expand Down
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,78 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.5](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.5) (2025-03-21)

**Note:** Version bump only for package modular-governance





## [0.1.5-alpha.0](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.5-alpha.0) (2025-03-19)

**Note:** Version bump only for package modular-governance





## [0.1.4](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.4) (2025-02-24)

**Note:** Version bump only for package modular-governance





## [0.1.3](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.3) (2025-02-24)

**Note:** Version bump only for package modular-governance





## [0.1.2](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.2) (2025-02-24)

**Note:** Version bump only for package modular-governance





## [0.1.1](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.1) (2025-02-14)

**Note:** Version bump only for package modular-governance





# [0.1.0](https://github.com/helium/modular-governance/compare/v0.0.15...v0.1.0) (2025-02-14)

**Note:** Version bump only for package modular-governance





## [0.0.15](https://github.com/helium/modular-governance/compare/v0.0.14...v0.0.15) (2024-12-06)

**Note:** Version bump only for package modular-governance





## [0.0.14](https://github.com/helium/modular-governance/compare/v0.0.13...v0.0.14) (2024-10-24)

**Note:** Version bump only for package modular-governance





## [0.0.13](https://github.com/helium/modular-governance/compare/v0.0.12...v0.0.13) (2024-09-06)

**Note:** Version bump only for package modular-governance
Expand Down
Loading
Loading