28 Commits

Author SHA1 Message Date
b65e844824 refactor: migrate UI components to nebula module 2024-12-08 16:17:21 -05:00
bd51342fdf
feature/1115 execute ucan token (#1177)
- **deps: remove tigerbeetle-go dependency**
- **refactor: remove unused landing page components and models**
- **feat: add pin and publish vault handlers**
- **refactor: move payment and credential services to webui browser
package**
- **refactor: remove unused credentials management components**
- **feat: add landing page components and middleware for credentials and
payments**
- **refactor: remove unused imports in vault config**
- **refactor: remove unused bank, DID, and DWN gRPC clients**
- **refactor: rename client files and improve code structure**
- **feat: add session middleware helpers and landing page components**
- **feat: add user profile registration flow**
- **feat: Implement WebAuthn registration flow**
- **feat: add error view for users without WebAuthn devices**
- **chore: update htmx to include extensions**
- **refactor: rename pin handler to claim handler and update routes**
- **chore: update import paths after moving UI components and styles**
- **fix: address potential server errors by handling and logging them
properly**
- **refactor: move vault config to gateway package and update related
dependencies**
- **style: simplify form styling and remove unnecessary components**
- **feat: improve UI design for registration flow**
- **feat: implement passkey-based authentication**
- **refactor: migrate registration forms to use reusable form
components**
- **refactor: remove tailwindcss setup and use CDN instead**
- **style: update submit button style to use outline variant**
- **refactor: refactor server and IPFS client, remove MPC encryption**
- **refactor: Abstract keyshare functionality and improve message
encoding**
- **refactor: improve keyset JSON marshaling and error handling**
- **feat: add support for digital signatures using MPC keys**
- **fix: Refactor MarshalJSON to use standard json.Marshal for Message
serialization**
- **fix: Encode messages before storing in keyshare structs**
- **style: update form input styles for improved user experience**
- **refactor: improve code structure in registration handlers**
- **refactor: consolidate signer middleware and IPFS interaction**
- **refactor: rename MPC signing and refresh protocol functions**
- **refactor: update hway configuration loading mechanism**
- **feat: integrate database support for sessions and users**
- **refactor: remove devnet infrastructure and simplify build process**
- **docs(guides): add Sonr DID module guide**
- **feat: integrate progress bar into registration form**
- **refactor: migrate WebAuthn dependencies to protocol package**
- **feat: enhance user registration with passkey integration and
improved form styling**
- **refactor: move gateway view handlers to internal pages package**
- **refactor: Move address package to MPC module**
- **feat: integrate turnstile for registration**
- **style: remove unnecessary size attribute from buttons**
- **refactor: rename cookie package to session/cookie**
- **refactor: remove unnecessary types.Session dependency**
- **refactor: rename pkg/core to pkg/chain**
- **refactor: simplify deployment process by removing testnet-specific
Taskfile and devbox configuration**
- **feat: add error redirect functionality and improve routes**
- **feat: implement custom error handling for gateway**
- **chore: update version number to 0.0.7 in template**
- **feat: add IPFS client implementation**
- **feat: Implement full IPFS client interface with comprehensive
methods**
- **refactor: improve IPFS client path handling**
- **refactor: Move UCAN middleware to controller package**
- **feat: add UCAN middleware to motr**
- **refactor: update libp2p dependency**
- **docs: add UCAN specification document**
- **refactor: move UCAN controller logic to common package**
- **refactor: rename exports.go to common.go**
- **feat: add UCAN token support**
- **refactor: migrate UCAN token parsing to dedicated package**
- **refactor: improve CometBFT and app config initialization**
- **refactor: improve deployment scripts and documentation**
- **feat: integrate IPFS and producer middleware**
- **refactor: rename agent directory to aider**
- **fix: correct libp2p import path**
- **refactor: remove redundant dependency**
- **cleanup: remove unnecessary test files**
- **refactor: move attention types to crypto/ucan package**
- **feat: expand capabilities and resource types for UCANs**
- **refactor: rename sonr.go to codec.go and update related imports**
- **feat: add IPFS-based token store**
- **feat: Implement IPFS-based token store with caching and UCAN
integration**
- **feat: Add dynamic attenuation constructor for UCAN presets**
- **fix: Handle missing or invalid attenuation data with
EmptyAttenuation**
- **fix: Update UCAN attenuation tests with correct capability types**
- **feat: integrate UCAN-based authorization into the producer
middleware**
- **refactor: remove unused dependency on go-ucan**
- **refactor: Move address handling logic to DID module**
- **feat: Add support for compressed and uncompressed Secp256k1 public
keys in didkey**
- **test: Add test for generating DID key from MPC keyshares**
- **feat: Add methods for extracting compressed and uncompressed public
keys in share types**
- **feat: Add BaseKeyshare struct with public key conversion methods**
- **refactor: Use compressed and uncompressed public keys in keyshare,
fix public key usage in tests and verification**
- **feat: add support for key generation policy type**
- **fix: correct typo in VaultPermissions constant**
- **refactor: move JWT related code to ucan package**
- **refactor: move UCAN JWT and source code to spec package**
2024-12-05 20:36:58 -05:00
31bcc21c35
feature/1121 implement ucan validation (#1176)
- **refactor: remove unused auth components**
- **refactor: improve devbox configuration and deployment process**
- **refactor: improve devnet and testnet setup**
- **fix: update templ version to v0.2.778**
- **refactor: rename pkl/net.matrix to pkl/matrix.net**
- **refactor: migrate webapp components to nebula**
- **refactor: protobuf types**
- **chore: update dependencies for improved security and stability**
- **feat: implement landing page and vault gateway servers**
- **refactor: Migrate data models to new module structure and update
related files**
- **feature/1121-implement-ucan-validation**
- **refactor: Replace hardcoded constants with model types in attns.go**
- **feature/1121-implement-ucan-validation**
- **chore: add origin Host struct and update main function to handle
multiple hosts**
- **build: remove unused static files from dwn module**
- **build: remove unused static files from dwn module**
- **refactor: Move DWN models to common package**
- **refactor: move models to pkg/common**
- **refactor: move vault web app assets to embed module**
- **refactor: update session middleware import path**
- **chore: configure port labels and auto-forwarding behavior**
- **feat: enhance devcontainer configuration**
- **feat: Add UCAN middleware for Echo with flexible token validation**
- **feat: add JWT middleware for UCAN authentication**
- **refactor: update package URI and versioning in PklProject files**
- **fix: correct sonr.pkl import path**
- **refactor: move JWT related code to auth package**
- **feat: introduce vault configuration retrieval and management**
- **refactor: Move vault components to gateway module and update file
paths**
- **refactor: remove Dexie and SQLite database implementations**
- **feat: enhance frontend with PWA features and WASM integration**
- **feat: add Devbox features and streamline Dockerfile**
- **chore: update dependencies to include TigerBeetle**
- **chore(deps): update go version to 1.23**
- **feat: enhance devnet setup with PATH environment variable and
updated PWA manifest**
- **fix: upgrade tigerbeetle-go dependency and remove indirect
dependency**
- **feat: add PostgreSQL support to devnet and testnet deployments**
- **refactor: rename keyshare cookie to token cookie**
- **feat: upgrade Go version to 1.23.3 and update dependencies**
- **refactor: update devnet and testnet configurations**
- **feat: add IPFS configuration for devnet**
- **I'll help you update the ipfs.config.pkl to include all the peers
from the shell script. Here's the updated configuration:**
- **refactor: move mpc package to crypto directory**
- **feat: add BIP32 support for various cryptocurrencies**
- **feat: enhance ATN.pkl with additional capabilities**
- **refactor: simplify smart account and vault attenuation creation**
- **feat: add new capabilities to the Attenuation type**
- **refactor: Rename MPC files for clarity and consistency**
- **feat: add DIDKey support for cryptographic operations**
- **feat: add devnet and testnet deployment configurations**
- **fix: correct key derivation in bip32 package**
- **refactor: rename crypto/bip32 package to crypto/accaddr**
- **fix: remove duplicate indirect dependency**
- **refactor: move vault package to root directory**
- **refactor: update routes for gateway and vault**
- **refactor: remove obsolete web configuration file**
- **refactor: remove unused TigerBeetle imports and update host
configuration**
- **refactor: adjust styles directory path**
- **feat: add broadcastTx and simulateTx functions to gateway**
- **feat: add PinVault handler**
2024-12-02 14:27:18 -05:00
44027b9303
feature/1149 vault allocation error (#1173)
- **refactor: update devbox configuration and scripts**
- **refactor: remove web documentation**
- **refactor: move resolver formatter to services package**
- **refactor: Rename x/vault -> x/dwn and x/service -> x/svc**
- **refactor: remove unused dependencies and simplify module imports**
- **refactor: remove dependency on DWN.pkl**
- **refactor: Move IPFS interaction functions to common package**
- **refactor: remove unused TUI components**
- **feat: add gum package and update devbox configuration**
- **refactor: rename Assertion to Account and update related code**
- **fix: resolve rendering issue in login modal**
- **refactor: migrate build system from Taskfile to Makefile**
- **refactor: Deployment setup**
- **refactor: Update Credential table to match WebAuthn Credential
Descriptor**
- **feat: add fast reflection methods for Capability and Resource**
- **fix: update devbox lockfile**
- **feat: add support for parent field and resources list in Capability
message**
- **feature/1149-vault-allocation-error**
- **fix: adjust fullscreen modal close button margin**
2024-11-26 22:05:50 -05:00
89989fa102
feature/1114 implement account interface (#1167)
- **refactor: move session-related code to middleware package**
- **refactor: update PKL build process and adjust related
configurations**
- **feat: integrate base.cosmos.v1 Genesis module**
- **refactor: pass session context to modal rendering functions**
- **refactor: move nebula package to app directory and update templ
version**
- **refactor: Move home section video view to dedicated directory**
- **refactor: remove unused views file**
- **refactor: move styles and UI components to global scope**
- **refactor: Rename images.go to cdn.go**
- **feat: Add Empty State Illustrations**
- **refactor: Consolidate Vault Index Logic**
- **fix: References to App.wasm and remove Vault Directory embedded CDN
files**
- **refactor: Move CDN types to Models**
- **fix: Correct line numbers in templ error messages for
arch_templ.go**
- **refactor: use common types for peer roles**
- **refactor: move common types and ORM to a shared package**
- **fix: Config import dwn**
- **refactor: move nebula directory to app**
- **feat: Rebuild nebula**
- **fix: correct file paths in panels templates**
- **feat: Remove duplicate types**
- **refactor: Move dwn to pkg/core**
- **refactor: Binary Structure**
- **feat: Introduce Crypto Pkg**
- **fix: Broken Process Start**
- **feat: Update pkg/* structure**
- **feat: Refactor PKL Structure**
- **build: update pkl build process**
- **chore: Remove Empty Files**
- **refactor: remove unused macaroon package**
- **feat: Add WebAwesome Components**
- **refactor: consolidate build and generation tasks into a single
taskfile, remove redundant makefile targets**
- **refactor: refactor server and move components to pkg/core/dwn**
- **build: update go modules**
- **refactor: move gateway logic into dedicated hway command**
- **feat: Add KSS (Krawczyk-Song-Song) MPC cryptography module**
- **feat: Implement MPC-based JWT signing and UCAN token generation**
- **feat: add support for MPC-based JWT signing**
- **feat: Implement MPC-based UCAN capabilities for smart accounts**
- **feat: add address field to keyshareSource**
- **feat: Add comprehensive MPC test suite for keyshares, UCAN tokens,
and token attenuations**
- **refactor: improve MPC keyshare management and signing process**
- **feat: enhance MPC capability hierarchy documentation**
- **refactor: rename GenerateKeyshares function to NewKeyshareSource for
clarity**
- **refactor: remove unused Ethereum address computation**
- **feat: Add HasHandle and IsAuthenticated methods to HTTPContext**
- **refactor: Add context.Context support to session HTTPContext**
- **refactor: Resolve context interface conflicts in HTTPContext**
- **feat: Add session ID context key and helper functions**
- **feat: Update WebApp Page Rendering**
- **refactor: Simplify context management by using single HTTPContext
key**
- **refactor: Simplify HTTPContext creation and context management in
session middleware**
- **refactor: refactor session middleware to use a single data
structure**
- **refactor: Simplify HTTPContext implementation and session data
handling**
- **refactor: Improve session context handling and prevent nil pointer
errors**
- **refactor: Improve session context handling with nil safety and type
support**
- **refactor: improve session data injection**
- **feat: add full-screen modal component and update registration flow**
- **chore: add .air.toml to .gitignore**
- **feat: add Air to devbox and update dependencies**
2024-11-23 01:28:58 -05:00
bf94277b0f
feature/1110 abstract connected wallet operations (#1166)
- **refactor: refactor DID module types and move to controller package**
- **refactor: move controller creation and resolution logic to keeper**
- **refactor: update imports to reflect controller package move**
- **refactor: update protobuf definitions for DID module**
- **docs: update proto README to reflect changes**
- **refactor: move hway to gateway, update node modules, and refactor
pkl generation**
- **build: update pkl-gen task to use new pkl file paths**
- **refactor: refactor DWN WASM build and deployment process**
- **refactor: refactor DID controller implementation to use
account-based storage**
- **refactor: move DID controller interface to base file and update
implementation**
- **chore: migrate to google protobuf**
- **feat: Add v0.52.0 Interfaces for Acc Abstraction**
- **refactor: replace public_key with public_key_hex in Assertion
message**
- **refactor: remove unused PubKey, JSONWebKey, and RawKey message types
and related code**
2024-11-18 19:04:10 -05:00
2c02712b1b chore(deps): update globalfee, poa and tokenfactory to v0.50.0 2024-10-21 12:25:38 -04:00
dependabot[bot]
5f6d633c25
chore(deps): bump github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 from 8.0.2-0.20240228211029-91e486ec4dbb to 8.0.2 (#1133)
Bumps
[github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8](https://github.com/cosmos/ibc-apps)
from 8.0.2-0.20240228211029-91e486ec4dbb to 8.0.2.

Release notes

*Sourced from*
[*github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8's
releases*](https://github.com/cosmos/ibc-apps/releases)*.*

> ## packet-forward-middleware v8.0.2
>
> ## Note
>
> This release includes the patch for the [Mandrake
vulnerability](https://github.com/cosmos/ibc-apps/security/advisories/GHSA-v8p4-qhq4-f7h8)
>
> We recommend that you upgrade to the patched version, create a new
release for your chain binary, and coordinate an upgrade with validators
as soon as reasonable.
>
> In addition to patching packet-forward-middleware, it is imperative
that you check the balances of each escrow account against the total
supply of each asset on the associated counterparty chain. Failure to
verify parity between the escrow accounts and the counterparty total
supply can result in a type of Denial-of-Service where users may not be
able to unwind their assets through your chain. You can use our [escrow
checker tool](https://github.com/strangelove-ventures/escrow-checker) or
whatever means you deem fit to validate these balances against the
counterparty total supply. If a discrepancy is found, you will need to
build an upgrade handler that mints and transfers assets to the escrow
account(s) with the discrepancy. Strangelove has provided an [example
upgrade
handler](https://gist.github.com/jtieri/0b41fa96eac44ea1c0b5de63d23aa662)
or you can see the upgrade handler used by the [Cosmos
Hub](0b1f3d8035/app/upgrades/v15/upgrades.go (L360-L458)).
>
> ## What's Changed
>
> * Remove gogo/protobuf replace directive in async-icq/v8 by
`@​Taztingo` in
[cosmos/ibc-apps#168](https://redirect.github.com/cosmos/ibc-apps/pull/168)
> * fix: mint and transfer funds back to escrow account on timeout or
ack error by `@​jtieri` in
[cosmos/ibc-apps#170](https://redirect.github.com/cosmos/ibc-apps/pull/170)
>
> **Full Changelog**:
<https://github.com/cosmos/ibc-apps/compare/middleware/packet-forward-middleware/v8.0.1...middleware/packet-forward-middleware/v8.0.2>

Commits

* See full diff in [compare
view](https://github.com/cosmos/ibc-apps/commits/middleware/packet-forward-middleware/v8.0.2)

![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8&package-manager=go_modules&previous-version=8.0.2-0.20240228211029-91e486ec4dbb&new-version=8.0.2)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

---

Dependabot commands and options 

You can trigger Dependabot actions by commenting on this PR:

* `@dependabot rebase` will rebase this PR
* `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
* `@dependabot merge` will merge this PR after your CI passes on it
* `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
* `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
* `@dependabot reopen` will reopen this PR if it is closed
* `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
* `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
* `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
* `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
* `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prad Nukala <prad@sonr.io>
2024-10-21 12:03:06 -04:00
dependabot[bot]
64a558b120
chore(deps): bump github.com/strangelove-ventures/globalfee from 0.50.0 to 0.50.1 (#1130)
Bumps
[github.com/strangelove-ventures/globalfee](https://github.com/strangelove-ventures/globalfee)
from 0.50.0 to 0.50.1.

Release notes

*Sourced from* [*github.com/strangelove-ventures/globalfee's
releases*](https://github.com/strangelove-ventures/globalfee/releases)*.*

> ## v0.50.1
>
> **This is a consensus breaking release and requires a software upgrade
to implement.**
>
> This is just of a cleanup patch, no need to update if you do not want
too.
>
> ## What's Changed
>
> * refactor!: remove staking keeper usage in ante by `@​Reecepbcups` in
[strangelove-ventures/globalfee#5](https://redirect.github.com/strangelove-ventures/globalfee/pull/5)
>
> **Full Changelog**:
<https://github.com/strangelove-ventures/globalfee/compare/v0.50.0...v0.50.1>

Commits

* `905a334` refactor!: remove staking keeper & use "stake" for default 0
fee
([#5](https://redirect.github.com/strangelove-ventures/globalfee/issues/5))
* See full diff in [compare
view](https://github.com/strangelove-ventures/globalfee/compare/v0.50.0...v0.50.1)

![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/strangelove-ventures/globalfee&package-manager=go_modules&previous-version=0.50.0&new-version=0.50.1)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

---

Dependabot commands and options 

You can trigger Dependabot actions by commenting on this PR:

* `@dependabot rebase` will rebase this PR
* `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
* `@dependabot merge` will merge this PR after your CI passes on it
* `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
* `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
* `@dependabot reopen` will reopen this PR if it is closed
* `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
* `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
* `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
* `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
* `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Prad Nukala <prad@sonr.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prad Nukala <prad@sonr.io>
2024-10-21 12:02:44 -04:00
dependabot[bot]
c138f923ce
build(deps): bump the go_modules group with 2 updates (#1145)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps the go_modules group with 2 updates:
[github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) and
[google.golang.org/grpc](https://github.com/grpc/grpc-go).

Updates `github.com/cometbft/cometbft` from 0.38.8 to 0.38.12
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cometbft/cometbft/releases">github.com/cometbft/cometbft's
releases</a>.</em></p>
<blockquote>
<h2>v0.38.12</h2>
<p>See the <a
href="https://github.com/cometbft/cometbft/blob/v0.38.12/CHANGELOG.md#v03812">CHANGELOG</a>
for this release.</p>
<h2>v0.38.11</h2>
<p><a
href="https://github.com/cometbft/cometbft/blob/v0.38.11/CHANGELOG.md#v03811">CHANGELOG</a></p>
<h2>v0.38.10</h2>
<p>See the <a
href="https://github.com/cometbft/cometbft/blob/v0.38.10/CHANGELOG.md#v03810">CHANGELOG</a>
for this release.</p>
<h2>v0.38.9</h2>
<p>See the <a
href="https://github.com/cometbft/cometbft/blob/v0.38.9/CHANGELOG.md#v0389">CHANGELOG</a>
for this release.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/cometbft/cometbft/blob/v0.38.12/CHANGELOG.md">github.com/cometbft/cometbft's
changelog</a>.</em></p>
<blockquote>
<h2>v0.38.12</h2>
<p><em>September 3, 2024</em></p>
<p>This release includes a security fix for the light client and is
recommended
for all users.</p>
<h3>BUG FIXES</h3>
<ul>
<li><code>[light]</code> Cross-check proposer priorities in retrieved
validator sets
(<a
href="https://github.com/cometbft/cometbft/security/advisories/GHSA-g5xx-c4hv-9ccc">#ASA-2024-009</a>)</li>
<li><code>[privval]</code> Ignore duplicate privval listen when already
connected (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3828">#3828</a></li>
</ul>
<h3>DEPENDENCIES</h3>
<ul>
<li><code>[crypto/secp256k1]</code> Adjust to breaking interface changes
in
<code>btcec/v2</code> latest release, while avoiding breaking changes to
local CometBFT functions
(<a
href="https://redirect.github.com/cometbft/cometbft/pull/3728">#3728</a>)</li>
</ul>
<h3>IMPROVEMENTS</h3>
<ul>
<li><code>[types]</code> Check that proposer is one of the validators in
<code>ValidateBasic</code>
(<a
href="https://github.com/cometbft/cometbft/security/advisories/GHSA-g5xx-c4hv-9ccc">#ASA-2024-009</a>)</li>
<li><code>[e2e]</code> Add <code>log_level</code> option to manifest
file
(<a
href="https://redirect.github.com/cometbft/cometbft/pull/3819">#3819</a>).</li>
<li><code>[e2e]</code> Add <code>log_format</code> option to manifest
file
(<a
href="https://redirect.github.com/cometbft/cometbft/issues/3836">#3836</a>).</li>
</ul>
<h2>v0.38.11</h2>
<p><em>August 12, 2024</em></p>
<p>This release fixes a panic in consensus where CometBFT would
previously panic
if there's no extension signature in non-nil Precommit EVEN IF vote
extensions
themselves are disabled.</p>
<p>It also includes a few other bug fixes and performance
improvements.</p>
<h3>BUG FIXES</h3>
<ul>
<li><code>[types]</code> Only check IFF vote is a non-nil Precommit if
extensionsEnabled
types (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3565">#3565</a>)</li>
</ul>
<h3>IMPROVEMENTS</h3>
<ul>
<li><code>[indexer]</code> Fixed ineffective select break statements;
they now
point to their enclosing for loop label to exit
(<a
href="https://redirect.github.com/cometbft/cometbft/issues/3544">#3544</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9722b6dfa1"><code>9722b6d</code></a>
v0.38.12 (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3982">#3982</a>)</li>
<li><a
href="52c00a537f"><code>52c00a5</code></a>
Merge commit from fork</li>
<li><a
href="f2ae0f4d1e"><code>f2ae0f4</code></a>
build(deps): Bump github.com/cosmos/gogoproto from 1.4.11 to 1.7.0 (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3912">#3912</a>)</li>
<li><a
href="cbedf6d7f2"><code>cbedf6d</code></a>
build(deps): Bump github.com/BurntSushi/toml from 1.2.1 to 1.4.0 (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3908">#3908</a>)</li>
<li><a
href="1013c80759"><code>1013c80</code></a>
test(mempool): Add two <code>Update</code> benchmarks (backport <a
href="https://redirect.github.com/cometbft/cometbft/issues/3873">#3873</a>)
(<a
href="https://redirect.github.com/cometbft/cometbft/issues/3892">#3892</a>)</li>
<li><a
href="2fb0cdd429"><code>2fb0cdd</code></a>
build(deps): Bump github.com/rs/cors from 1.8.3 to 1.11.1 (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3907">#3907</a>)</li>
<li><a
href="dcbf35967f"><code>dcbf359</code></a>
build(deps): Bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.3.0
(<a
href="https://redirect.github.com/cometbft/cometbft/issues/3906">#3906</a>)</li>
<li><a
href="8de81d5e39"><code>8de81d5</code></a>
build(deps): Bump golang.org/x/net from 0.26.0 to 0.28.0 (<a
href="https://redirect.github.com/cometbft/cometbft/issues/3905">#3905</a>)</li>
<li><a
href="221c7445ae"><code>221c744</code></a>
fix(privval): CV ignore duplicate privval listen when connected
(backport <a
href="https://redirect.github.com/cometbft/cometbft/issues/38">#38</a>...</li>
<li><a
href="969c8d1d92"><code>969c8d1</code></a>
mempool: Fix the benchmarks (backport <a
href="https://redirect.github.com/cometbft/cometbft/issues/934">#934</a>)
(<a
href="https://redirect.github.com/cometbft/cometbft/issues/3893">#3893</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cometbft/cometbft/compare/v0.38.8...v0.38.12">compare
view</a></li>
</ul>
</details>
<br />

Updates `google.golang.org/grpc` from 1.64.0 to 1.64.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's
releases</a>.</em></p>
<blockquote>
<h2>Release 1.64.1</h2>
<h1>Dependencies</h1>
<ul>
<li>Update x/net/http2 to address <a
href="https://nvd.nist.gov/vuln/detail/CVE-2023-45288">CVE-2023-45288</a>
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/7352">#7352</a>)</li>
<li>metadata: remove String method from MD to make printing consistent
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/7374">#7374</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4d833de0e0"><code>4d833de</code></a>
Change version to 1.64.1 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7381">#7381</a>)</li>
<li><a
href="e9193a4298"><code>e9193a4</code></a>
*: update deps (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7375">#7375</a>)</li>
<li><a
href="ab292411dd"><code>ab29241</code></a>
metadata: remove String method (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7374">#7374</a>)</li>
<li><a
href="355b9a557b"><code>355b9a5</code></a>
Change version to 1.64.1-dev (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7219">#7219</a>)</li>
<li>See full diff in <a
href="https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/onsonr/sonr/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Prad Nukala <prad@sonr.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prad Nukala <prad@sonr.io>
2024-10-21 12:01:26 -04:00
dependabot[bot]
d6b6c05640
build(deps): bump github.com/ipfs/kubo from 0.29.0 to 0.31.0 (#1148)
Bumps [github.com/ipfs/kubo](https://github.com/ipfs/kubo) from 0.29.0
to 0.31.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ipfs/kubo/releases">github.com/ipfs/kubo's
releases</a>.</em></p>
<blockquote>
<h2>v0.31.0</h2>
<ul>
<li><a
href="https://github.com/ipfs/kubo/blob/HEAD/#overview">Overview</a></li>
<li><a href="https://github.com/ipfs/kubo/blob/HEAD/#-discuss">🗣
Discuss</a></li>
<li><a href="https://github.com/ipfs/kubo/blob/HEAD/#-highlights">🔦
Highlights</a>
<ul>
<li><a
href="https://github.com/ipfs/kubo/blob/HEAD/#experimental-pebble-datastore">Experimental
Pebble Datastore</a></li>
<li><a href="https://github.com/ipfs/kubo/blob/HEAD/#new-metrics">New
metrics</a></li>
<li><a
href="https://github.com/ipfs/kubo/blob/HEAD/#lowpower-profile-no-longer-breaks-dht-announcements"><code>lowpower</code>
profile no longer breaks DHT announcements</a></li>
<li><a
href="https://github.com/ipfs/kubo/blob/HEAD/#go-123-boxo-024-and-go-libp2p-0365">go
1.23, boxo 0.24 and go-libp2p 0.36.5</a></li>
</ul>
</li>
<li><a href="https://github.com/ipfs/kubo/blob/HEAD/#-changelog">📝
Changelog</a></li>
<li><a
href="https://github.com/ipfs/kubo/blob/HEAD/#-contributors">👨‍👩‍👧‍👦
Contributors</a></li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML
omitted --></p>
<p>This release was brought to you by the <a
href="http://ipshipyard.com/">Shipyard</a> team.</p>
<h3>Overview</h3>
<p>Release v0.31.0 issue <a
href="https://redirect.github.com/ipfs/kubo/issues/10499">#10499</a></p>
<h3>🗣 Discuss</h3>
<p>If you have comments, questions, or feedback on this release, please
post <a
href="https://discuss.ipfs.tech/t/kubo-v0-31-0-is-out/18611/1">here</a>.</p>
<p>If you experienced any bugs with the release, please <a
href="https://github.com/ipfs/kubo/issues/new/choose">post an
issue</a>.</p>
<h3>🔦 Highlights</h3>
<h4>Experimental Pebble Datastore</h4>
<blockquote>
<!-- raw HTML omitted -->
<p><em>Pebble visits Kubo</em></p>
</blockquote>
<p><a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#pebbleds-profile">Pebble</a>
provides a high-performance alternative to leveldb as the datastore, and
provides a modern replacement for <a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#badgerds-profile">legacy
badgerv1</a>.</p>
<p>A fresh Kubo node can be initialized with <a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#pebbleds-profile"><code>pebbleds</code>
profile</a> via <code>ipfs init --profile pebbleds</code>.</p>
<p>There are a number of parameters available for tuning pebble's
performance to your specific needs. Default values are used for any
parameters that are not configured or are set to their zero-value.
For a description of the available tuning parameters, see <a
href="https://github.com/ipfs/kubo/blob/master/docs/datastores.md#pebbleds">kubo/docs/datastores.md#pebbleds</a>.</p>
<h4>New metrics</h4>
<ul>
<li>Added 3 new go metrics: <code>go_gc_gogc_percent</code>,
<code>go_gc_gomemlimit_bytes</code> and
<code>go_sched_gomaxprocs_threads</code> as those are <a
href="https://redirect.github.com/prometheus/client_golang/pull/1559">recommended
by the Go team</a></li>
<li>Added <a
href="https://redirect.github.com/prometheus/client_golang/pull/1555">network
usage metrics</a>: <code>process_network_receive_bytes_total</code> and
<code>process_network_transmit_bytes_total</code></li>
<li>Removed <code>go_memstat_lookups_total</code> metric <a
href="https://redirect.github.com/prometheus/client_golang/pull/1577">which
was always 0</a></li>
</ul>
<h4><code>lowpower</code> profile no longer breaks DHT
announcements</h4>
<p>We've notices users were applying <code>lowpower</code> profile, and
then reporting content routing issues. This was because
<code>lowpower</code> disabled reprovider system and locally hosted data
was no longer announced on Amino DHT.</p>
<p>This release changes <a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#lowpower-profile"><code>lowpower</code>
profile</a> to not change reprovider settings, ensuring the new users
are not sabotaging themselves. It also adds <a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#announce-on-profile"><code>annouce-on</code></a>
and <a
href="https://github.com/ipfs/kubo/blob/master/docs/config.md#announce-off-profile"><code>announce-off</code></a>
profiles for controlling announcement settings separately.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5a32936f78"><code>5a32936</code></a>
Merge pull request <a
href="https://redirect.github.com/ipfs/kubo/issues/10535">#10535</a>
from ipfs/release-v0.31.0</li>
<li><a
href="4aebe7f27b"><code>4aebe7f</code></a>
Add full changelog to release changelog</li>
<li><a
href="8135adc853"><code>8135adc</code></a>
update version for release</li>
<li><a
href="bd9e154818"><code>bd9e154</code></a>
chore: 0.31.0-rc2</li>
<li><a
href="598545171c"><code>5985451</code></a>
fix: go 1.23(.2) (<a
href="https://redirect.github.com/ipfs/kubo/issues/10540">#10540</a>)</li>
<li><a
href="6b3cd0d14f"><code>6b3cd0d</code></a>
chore: typo</li>
<li><a
href="38ae2e73b2"><code>38ae2e7</code></a>
chore: go-libp2p v0.36.5 (<a
href="https://redirect.github.com/ipfs/kubo/issues/10538">#10538</a>)</li>
<li><a
href="a55215c5c1"><code>a55215c</code></a>
chore: bump version to v0.31.0-rc1</li>
<li><a
href="52ca370759"><code>52ca370</code></a>
feat(routing/http): support IPIP-484 and streaming (<a
href="https://redirect.github.com/ipfs/kubo/issues/10534">#10534</a>)</li>
<li><a
href="6305932b4e"><code>6305932</code></a>
fix(daemon): webui URL when rpc is catch-all (<a
href="https://redirect.github.com/ipfs/kubo/issues/10520">#10520</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ipfs/kubo/compare/v0.29.0...v0.31.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/ipfs/kubo&package-manager=go_modules&previous-version=0.29.0&new-version=0.31.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 12:00:00 -04:00
311b957550
feature/1118 formatter interface creation (#1147)
- **refactor: improve query service code structure**
- **chore(deps): update protoc-gen-go-grpc to v1.5.1**
- **refactor: replace  package with**
- **chore(deps): update dependencies**
- **fix(deps): update webauthn to v0.11.2**
- **refactor: remove onsonr.sonr from package names**
- **refactor: improve code readability in vault querier**
- **refactor: simplify controller initialization**
- **fix: remove unnecessary function for counter data**
- **refactor: update button component file paths**
- **refactor(authentication): simplify register page**
- **fix: update error filenames in marketing section templates**
2024-10-21 11:30:52 -04:00
b6c49828ed
feature/1111 sync chain dwn endpoint (#1143)
- **feat(did): add assertion type to DID spec**
- **refactor: update build process to include assets generation**
- **refactor: update import paths for  to**
- **feat: introduce new authentication state management**
- **feat: add current account route**
- **feat: implement global toasts with custom HTML**
- **refactor: remove unused session code**
- **feat: add config.json to embedded assets**
- **refactor: remove unused dependency on gorilla/sessions**
- **refactor: simplify session management and remove unnecessary
fields**
- **fix: remove unnecessary import for unused protobuf types**
- **feat: introduce separate HTTP contexts for Highway and DWN**
- **fix(keeper): Handle missing controller during initial sync**
- **refactor: extract DWN configuration from DWNContext**
- **feat: add  view route**
- **fix: update configuration file name in embed.go**
- **feat: improve vaultindex page loading experience**
- **feat(hway): add highway context to echo context**
- **chore(deps): bump onsonr/crypto from 1.32.0 to 1.33.0**
- **refactor: rename DWNSessionMiddleware to WebNodeSessionMiddleware**
- **feat: rename client API to web node API**
- **refactor: separate API and view routes**
- **refactor: remove unused build targets in Makefile**
- **feat: add Devbox integration to container**
- **feat: add wasm support for dwn**
- **refactor: update module proto import**
- **feat: add default first and third party caveats**
- **feat: Add target vault allocation mechanism**
- **refactor: introduce standardized session cookie handling**
- **fix: update service worker installation and ready states**
- **feat: add worker handlers**
- **feat: Enable SSH access to devcontainer**
- **refactor: rename HighwayContext to HwayContext**
- **feat: add block expiration calculation to sonr context**
- **feat: remove config from cookie and header**
- **feat(gen): Remove generated code for IPFS, Motr and Sonr**
- **refactor: remove unused createMotrConfig function**
- **feat: add project analytics with Repobeats**
- **docs: Remove component details from README**
- **refactor: rename SetConfig to injectConfig**
2024-10-15 14:31:19 -04:00
3790e926de
feature/1109 grpc session model (#1141)
- **feat: remove Hway deployment**
- **feat: introduce session middleware for requests**
- **refactor: update path imports to use new pkg folder**
- **feat: add gRPC client for interacting with services**
- **feat: remove grpc client and use REST api**
- **refactor: move  from  to**
- **feat: add client views endpoint**
- **feat: add webauthn support**
- **closes: #1124**
- **refactor: Improve PR labeler configuration**
- **feat: add milestone discussion template**
- **feat: remove OKR tracking issue template**
- **feat: use gorilla sessions for session management**
- **refactor: move pubkey related code to**
- **<no value>**
- **refactor: remove unused identifier type**
- **feat: integrate Macaroon Keeper with Service Module**
- **refactor: rename worker routes for clarity**
2024-10-11 16:47:52 -04:00
af6e07323b feat: integrate nebula UI with worker-assets-gen 2024-10-07 21:15:25 -04:00
d21d109128 fix(proto): update protobuf message index numbers 2024-09-25 19:52:18 -04:00
607af1e76d feat: add vault module 2024-09-25 19:49:16 -04:00
c31b324bd3 feat: add automated production release workflow 2024-09-23 12:25:15 -04:00
05bda3d1b2 Squash merge develop into master 2024-09-14 14:27:45 -04:00
861fbf501d fix: Add service to database when registering 2024-08-21 14:53:03 -04:00
1810ee1c7f
feat: add enums.pulsar.go file for PermissionScope enum (#4)
* feat: add enums.pulsar.go file for PermissionScope enum

* refactor: remove PERMISSION_SCOPE_IDENTIFIERS_ENS enum value

* feat: Add MsgRegisterService to handle service registration

The commit message for these changes would be:

feat: Add MsgRegisterService to handle service registration

This commit adds a new message type `MsgRegisterService` to the DID module's transaction proto file. This message allows users to register a new service with a given permission scope and origin URI. The domain must have a valid TXT record containing the public key.

The changes include:

- Adding the `MsgRegisterService` message type with fields for authority, origin URI, and scopes
- Adding the `MsgRegisterServiceResponse` message type to handle the response
- Updating the Msg service to include a new `RegisterService` RPC method
- Implementing the `RegisterService` method in the keeper

This feature allows users to register new services on the DID chain, which is an important part of the overall DID functionality.

* (no commit message provided)

* fix: Add ProveWitness and SyncVault RPCs

The commit message should be:

feat: Add ProveWitness and SyncVault RPCs

This change adds two new RPCs to the DID module:

1. ProveWitness: An operation to prove the controller has a valid property using ZK Accumulators.
2. SyncVault: Synchronizes the controller with the Vault Motr DWN WASM Wallet.

These new RPCs allow for more advanced DID management functionality.

* fix: Remove unused `Meta` message from `genesis.proto`

* refactor: Simplify the types and properties to keep a consistent structure for the blockchain

* (no commit message provided)

* {}

* feat: add Equal methods for AssetInfo and ChainInfo types
2024-08-10 18:27:11 -04:00
ae35fcee58 (no commit message provided) 2024-07-26 12:14:20 -04:00
9b93e39a30 Updated the Cosmos SDK version from 0.50.7 to 0.50.5. 2024-07-24 02:42:05 -04:00
c0809ecac6 (no commit message provided) 2024-07-23 14:18:15 -04:00
49b183cf48 (no commit message provided) 2024-07-08 22:57:53 -04:00
775150830f (no commit message provided) 2024-07-06 00:55:50 -04:00
2f976209db (no commit message provided) 2024-07-06 00:34:41 -04:00
5fd43dfd6b (no commit message provided) 2024-07-05 22:20:13 -04:00