Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
514 commits
Select commit Hold shift + click to select a range
fafe609
feat: using message router in BeginBlock and hooks
ironman0x7b2 Jul 15, 2024
a368da1
fix: abci begin block execution order
ironman0x7b2 Jul 15, 2024
eca9721
fix: use zero int as amount in empty coin
ironman0x7b2 Jul 16, 2024
031a523
feat: use bytes instead gigabytes and add private field in plan
ironman0x7b2 Jul 16, 2024
9e025fb
feat: updated VPN genesis
ironman0x7b2 Jul 16, 2024
d7364da
fix: plan and node price search
ironman0x7b2 Jul 16, 2024
aac0eeb
feat: subscription plan details should not be updated
ironman0x7b2 Jul 16, 2024
702084b
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.47.12 to 0.47.14
ironman0x7b2 Sep 20, 2024
b3e5b24
chore: removed deposit field form Lease type
ironman0x7b2 Nov 6, 2024
39a99e7
fix: node price related tests
ironman0x7b2 Nov 6, 2024
b705705
chore: removed deposit field from session type
ironman0x7b2 Nov 6, 2024
bba3937
chore(deps): update the buf tool
ironman0x7b2 Nov 8, 2024
5fe3ae4
chore(deps): bump github.com/cosmos/ibc-go/v7 from 7.6.0 to 7.8.0
ironman0x7b2 Nov 8, 2024
3a1f471
fix: lines of code badge in README file
ironman0x7b2 Nov 8, 2024
f95d4b6
chore: changed field name in the node events
ironman0x7b2 Nov 9, 2024
6008db8
chore: changed field multiplier to decimals in asset type
ironman0x7b2 Nov 9, 2024
7c0e225
feat: add asset related messages in oracle module
ironman0x7b2 Nov 9, 2024
e4115ab
feat: added events in asset module
ironman0x7b2 Nov 10, 2024
f06954d
feat: add query services for oracle module
ironman0x7b2 Nov 10, 2024
f786522
chore: move query request validation to query server file
ironman0x7b2 Nov 10, 2024
482066f
chore: removed duplicate index keys
ironman0x7b2 Nov 13, 2024
ce5b864
feat: added height field and optimized OnAcknowledgementPacket method
ironman0x7b2 Nov 13, 2024
77f6e7d
chore: removed pool ID from Asset and optimized the relay code
ironman0x7b2 Nov 13, 2024
f3e4e2e
feat: implement OnTimeoutPacket
ironman0x7b2 Nov 16, 2024
7e54dd8
feat: add asset queries and register begin block method
ironman0x7b2 Nov 17, 2024
b5eba27
chore(deps): bump codecov/codecov-action from 4 to 5
dependabot[bot] Nov 18, 2024
8325979
chore: optimized lease for provider index
ironman0x7b2 Nov 18, 2024
16afc18
feat: add plan related hooks
ironman0x7b2 Nov 19, 2024
347bf01
feat: added block interval in the oracle params
ironman0x7b2 Nov 20, 2024
f6042b2
chore: removed method GetLatestLeaseForNodeByProvider
ironman0x7b2 Nov 20, 2024
b41842a
feat: add inactive session handler for node and subscription modules
ironman0x7b2 Nov 20, 2024
3e17421
feat: add params to oracle genesis
ironman0x7b2 Nov 20, 2024
83641db
chore(deps): bump codecov/codecov-action from 4 to 5 (#316)
ironman0x7b2 Nov 20, 2024
d39761f
chore(deps): bump cosmossdk.io/math from 1.3.0 to 1.4.0
dependabot[bot] Nov 20, 2024
b81e450
chore(deps): bump cosmossdk.io/math from 1.3.0 to 1.4.0 (#317)
ironman0x7b2 Nov 20, 2024
b165c4f
chore: updated error codes
ironman0x7b2 Nov 21, 2024
8cff93c
chore: add alias methods
ironman0x7b2 Nov 22, 2024
8726168
feat(tests): add lease message tests
ironman0x7b2 Nov 22, 2024
be7b291
chore: added helper methods for durations
ironman0x7b2 Nov 27, 2024
14120de
chore: add individual error codes for better comparision
ironman0x7b2 Nov 29, 2024
39d3a6d
chore: removed panic from hooks
ironman0x7b2 Nov 29, 2024
25a08a7
chore: renamed few methods
ironman0x7b2 Nov 29, 2024
3e10005
feat: change Coins to DecCoins for prices
ironman0x7b2 Nov 30, 2024
88db506
fix: messages validation
ironman0x7b2 Nov 30, 2024
e467630
fix: use sdk.Coin instead sdk.NewCoin method
ironman0x7b2 Nov 30, 2024
dc9c9e4
fix: validation of node price parameters
ironman0x7b2 Nov 30, 2024
0710082
fix: node CLI queries
ironman0x7b2 Nov 30, 2024
9d11179
fix: prices validation in messages
ironman0x7b2 Nov 30, 2024
0091292
feat: use cache context for lease and subscription renewals
ironman0x7b2 Dec 2, 2024
5bbc892
fix: register session interface implementations
ironman0x7b2 Dec 2, 2024
f657fd8
fix: address conversion in update session handler
ironman0x7b2 Dec 2, 2024
012b6bf
feat: return the adjusted or original coin amount when GetQuote called
ironman0x7b2 Dec 2, 2024
000045f
chore: add logs in hook handlers
ironman0x7b2 Dec 3, 2024
5d47a7a
chore(deps): bump github.com/CosmWasm/wasmd from v0.45.0 to v0.46.0
ironman0x7b2 Dec 3, 2024
6f13d58
chore(deps): remove replace for golang.org/x/exp
ironman0x7b2 Dec 3, 2024
69d0a03
chore(deps): bump alpine from 3.20 to 3.21
dependabot[bot] Dec 6, 2024
1dc8d09
feat: add lease renewal price policy
ironman0x7b2 Dec 11, 2024
7b0f324
chore: changed bytes and duration fields to gigabytes and hours in su…
ironman0x7b2 Dec 12, 2024
76d3a34
feat: add renewal price policy for subscription
ironman0x7b2 Dec 13, 2024
7959842
chore(deps): bump alpine from 3.20 to 3.21 (#318)
ironman0x7b2 Dec 13, 2024
b319836
chore(deps): bump github.com/CosmWasm/wasmvm from v1.5.4 to v1.5.5
ironman0x7b2 Dec 13, 2024
287bc74
feat: add price type
ironman0x7b2 Dec 18, 2024
5b63fb3
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.47.14 to 0.47.15
ironman0x7b2 Dec 18, 2024
b0ad886
chore(deps): bump github.com/cometbft/cometbft from 0.37.7 to 0.37.13
ironman0x7b2 Dec 18, 2024
767e06b
fix: prices validation is node params
ironman0x7b2 Dec 18, 2024
8e2d531
feat: add overwrite config with recommended defaults
ironman0x7b2 Dec 19, 2024
4ff67c5
chore: change release workflow
ironman0x7b2 Dec 19, 2024
1367ce2
fix: update the build image to latest
ironman0x7b2 Dec 19, 2024
57a6773
chore(deps): bump golang from 1.22-alpine3.21 to 1.23-alpine3.21
dependabot[bot] Dec 19, 2024
2e99003
fix: prices from string func
ironman0x7b2 Jan 7, 2025
12d12c0
feat: add max_bytes and max_duration for session in subscription module
ironman0x7b2 Jan 8, 2025
b2deb3f
feat: add start_at in lease
ironman0x7b2 Jan 8, 2025
c70215d
feat: add start_at field for subscription
ironman0x7b2 Jan 8, 2025
fe6ad6d
feat: add validate method for price
ironman0x7b2 Jan 9, 2025
f0fbb41
fix: validate node for plan in before session creation in subscriptio…
ironman0x7b2 Jan 9, 2025
2cb0e2e
chore(deps): bump golang from 1.22-alpine3.21 to 1.23-alpine3.21 (#324)
ironman0x7b2 Jan 11, 2025
387da58
feat: update subscription allocation during session update
ironman0x7b2 Jan 11, 2025
f6e1cf9
fix: pass missing router param in plan module
ironman0x7b2 Jan 12, 2025
c78296a
fix: session max bytes in subscription module
ironman0x7b2 Jan 12, 2025
bf8b80a
feat: remove private field from subscription plan
ironman0x7b2 Jan 30, 2025
db06968
feat: only provider can subscribe to a private subscription plan
ironman0x7b2 Feb 2, 2025
94242dd
chore(deps): bump github.com/CosmWasm/wasmvm from 1.5.5 to 1.5.8
dependabot[bot] Feb 4, 2025
c4701eb
chore: removed address related get methods
ironman0x7b2 Feb 9, 2025
0fc0d5d
chore: remove param set interface related methods
ironman0x7b2 Feb 10, 2025
d71e3a2
chore: do not register old message descriptions for message service
ironman0x7b2 Feb 10, 2025
183b823
chore: remove old query services
ironman0x7b2 Feb 10, 2025
3f36991
chore: remove unused code
ironman0x7b2 Feb 10, 2025
9242669
feat: added basic migration methods
ironman0x7b2 Feb 10, 2025
8ef99f9
fix: nil pointer error in overwrite config
ironman0x7b2 Feb 10, 2025
e4db2d6
feat: migration of foundation account to new address
ironman0x7b2 Feb 10, 2025
3838dbe
feat: implement get prices from coins
ironman0x7b2 Feb 10, 2025
1f56f13
feat: remove deposit in case zero coins
ironman0x7b2 Feb 13, 2025
3b4974f
feat: implemented migration methods for all the types and indexes
ironman0x7b2 Feb 13, 2025
e2a815d
chore: moved expected package to keeper
ironman0x7b2 Feb 13, 2025
f030d13
chore: moved param fields to specific packages
ironman0x7b2 Feb 13, 2025
0992c57
feat: add staking share field to subscription params
ironman0x7b2 Feb 13, 2025
8832528
feat: add max gigabytes, min gigabytes, max hours, min hours, and sta…
ironman0x7b2 Feb 13, 2025
0b1dd2a
chore: renamed few params in lease module
ironman0x7b2 Feb 13, 2025
0629420
chore: removed staking share field from provider params
ironman0x7b2 Feb 13, 2025
aeb186a
chore: use subscription staking share instead provider staking share …
ironman0x7b2 Feb 13, 2025
f122014
fix: session payment overflow issue
ironman0x7b2 Feb 22, 2025
2a7ef93
Merge branch 'fix-payment-overflow' into development
ironman0x7b2 Feb 22, 2025
9cab158
chore(deps): bump github.com/cosmos/ibc-go/v7 from 7.8.0 to 7.9.2
dependabot[bot] Feb 28, 2025
6c385ff
chore(deps): bump github.com/cosmos/ibc-go/v7 from 7.8.0 to 7.9.2 (#337)
ironman0x7b2 Feb 28, 2025
18d36cc
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.47.15 to 0.47.16
ironman0x7b2 Feb 28, 2025
d1897ec
Merge branch 'development' into dependabot/go_modules/github.com/Cosm…
ironman0x7b2 Feb 28, 2025
f97ebc5
chore(deps): bump github.com/CosmWasm/wasmvm from 1.5.5 to 1.5.8 (#332)
ironman0x7b2 Feb 28, 2025
898c348
chore(deps): bump github.com/golang/glog from 1.2.2 to 1.2.4 (#329)
dependabot[bot] Feb 28, 2025
1440ee4
chore(deps): bump golang.org/x/net from 0.29.0 to 0.33.0 (#338)
dependabot[bot] Feb 28, 2025
2e52e1c
chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 (#320)
dependabot[bot] Feb 28, 2025
4a1d8dc
chore(deps): bump google.golang.org/protobuf from 1.34.2 to 1.36.5 (#…
dependabot[bot] Feb 28, 2025
5c4420f
chore(deps): bump github.com/prometheus/client_golang from 1.20.4 to …
dependabot[bot] Feb 28, 2025
1d78b24
chore(deps): bump github.com/cometbft/cometbft from 0.37.13 to 0.37.15
ironman0x7b2 Feb 28, 2025
26cbc90
chore: migrate buf config from v1 to v2
ironman0x7b2 Feb 28, 2025
c81c84e
chore(deps): bump golang from 1.23-alpine3.21 to 1.24-alpine3.21 (#334)
dependabot[bot] Feb 28, 2025
747451c
chore(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.1 (#339)
dependabot[bot] Mar 7, 2025
c32b548
chore(deps): bump google.golang.org/grpc from 1.68.0 to 1.71.0 (#344)
dependabot[bot] Mar 7, 2025
c5d0292
chore(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 (#341)
dependabot[bot] Mar 7, 2025
2caa6ab
chore(deps): bump github.com/cosmos/ibc-go/v7 from 7.9.2 to 7.10.0
dependabot[bot] Mar 12, 2025
2b450e1
chore(deps): bump github.com/cosmos/ibc-go/v7 from 7.9.2 to 7.10.0 (#…
ironman0x7b2 Mar 14, 2025
7f3dffb
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.47.16 to 0.47.17
ironman0x7b2 Mar 14, 2025
1e15c18
chore: go mod tidy
ironman0x7b2 Mar 16, 2025
18228ac
chore(deps): bump alpine from 3.21 to 3.22
dependabot[bot] Jun 2, 2025
ab1ad0c
chore(deps): bump alpine from 3.21 to 3.22 (#356)
ironman0x7b2 Jun 12, 2025
3f1f0f2
chore: renamed module name to sentinelhub from hub
ironman0x7b2 Jun 16, 2025
bf6cff1
chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0
dependabot[bot] Jun 16, 2025
11d2c6b
chore(deps): bump cosmossdk.io/math from 1.4.0 to 1.5.3
dependabot[bot] Jun 16, 2025
a191272
chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 (#353)
ironman0x7b2 Jun 16, 2025
56ded52
chore(deps): bump cosmossdk.io/math from 1.4.0 to 1.5.3 (#351)
ironman0x7b2 Jun 16, 2025
cddf1f6
chore(deps): bump golang.org/x/net from 0.34.0 to 0.36.0
dependabot[bot] Jun 16, 2025
327a8c2
chore(deps): bump golang.org/x/net from 0.34.0 to 0.36.0 (#349)
ironman0x7b2 Jun 16, 2025
caaa722
chore(deps): bump golang.org/x/net from 0.34.0 to 0.38.0
dependabot[bot] Jun 16, 2025
35e2625
chore(deps): bump github.com/spf13/cast from 1.7.1 to 1.9.2
dependabot[bot] Jun 16, 2025
d686248
feat: using max price field for node lease and node session instead d…
ironman0x7b2 Jun 18, 2025
8970152
chore(deps): bump golang.org/x/net from 0.34.0 to 0.38.0 (#358)
ironman0x7b2 Jun 20, 2025
67a8b2b
chore(deps): bump github.com/spf13/cast from 1.7.1 to 1.9.2 (#359)
ironman0x7b2 Jun 20, 2025
bb0acdb
chore(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6
dependabot[bot] Jun 20, 2025
19d6f94
chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.1
dependabot[bot] Jun 20, 2025
c183875
chore(deps): bump golang.org/x/oauth2 from 0.25.0 to 0.27.0
dependabot[bot] Jul 18, 2025
b35b184
chore(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6 (#…
ironman0x7b2 Jul 20, 2025
1d59f0c
chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.1 (#361)
ironman0x7b2 Jul 20, 2025
fc19c4f
chore(deps): bump golang.org/x/oauth2 from 0.25.0 to 0.27.0 (#363)
ironman0x7b2 Jul 20, 2025
396bf07
chore(deps): bump github.com/go-viper/mapstructure/v2
dependabot[bot] Jul 20, 2025
175c27f
chore: changed price format to denom:base_value,quote_value
ironman0x7b2 Jul 21, 2025
59d076c
chore(deps): bump google.golang.org/grpc from 1.71.0 to 1.73.0
dependabot[bot] Jul 21, 2025
47f11a8
feat: implemented validate methods, added error codes and comments
ironman0x7b2 Jul 22, 2025
d244529
chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2…
ironman0x7b2 Jul 22, 2025
a821886
Merge branch 'development' into dependabot/go_modules/google.golang.o…
ironman0x7b2 Jul 22, 2025
613305e
chore(deps): bump github.com/prometheus/client_golang
dependabot[bot] Jul 22, 2025
932f1fa
chore(deps): bump google.golang.org/grpc from 1.71.0 to 1.73.0 (#365)
ironman0x7b2 Jul 22, 2025
a560b0a
chore(deps): bump github.com/prometheus/client_golang from 1.21.0 to …
ironman0x7b2 Jul 22, 2025
f7ac226
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
dependabot[bot] Jul 22, 2025
f0c0354
chore(deps): bump cosmossdk.io/errors from 1.0.1 to 1.0.2
dependabot[bot] Jul 22, 2025
96ab817
fix: default genesis func in oracle module
ironman0x7b2 Jul 22, 2025
88543a9
chore(deps): bump google.golang.org/grpc from 1.73.0 to 1.74.2
dependabot[bot] Jul 23, 2025
9ff6fcf
feat: using slice of strings for remote addrs in node
ironman0x7b2 Jul 24, 2025
e6f2bb2
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
32eb65a
chore(deps): bump golang from 1.24-alpine3.21 to 1.25-alpine3.21
dependabot[bot] Aug 14, 2025
f769061
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#366)
ironman0x7b2 Aug 15, 2025
650a5c9
chore(deps): bump cosmossdk.io/errors from 1.0.1 to 1.0.2 (#367)
ironman0x7b2 Aug 15, 2025
78e0479
chore(deps): bump google.golang.org/grpc from 1.73.0 to 1.74.2 (#368)
ironman0x7b2 Aug 15, 2025
921c0a9
chore(deps): bump actions/checkout from 4 to 5 (#370)
ironman0x7b2 Aug 15, 2025
262cb3b
chore(deps): bump golang from 1.24-alpine3.21 to 1.25-alpine3.21 (#371)
ironman0x7b2 Aug 15, 2025
35c65d0
chore(deps): bump github.com/prometheus/client_golang
dependabot[bot] Aug 15, 2025
4ce64b7
chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.7
dependabot[bot] Aug 15, 2025
6a654aa
chore(deps): bump github.com/prometheus/client_golang from 1.22.0 to …
ironman0x7b2 Aug 15, 2025
6e73aa6
chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.7 (#…
ironman0x7b2 Aug 15, 2025
cad3997
chore(deps): bump google.golang.org/grpc from 1.74.2 to 1.75.0
dependabot[bot] Aug 20, 2025
834b2fc
chore(deps): bump github.com/go-viper/mapstructure/v2
dependabot[bot] Aug 21, 2025
32e79d1
chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14
dependabot[bot] Aug 28, 2025
b85c414
fix: add missing bind port call in genesis initialization
ironman0x7b2 Sep 2, 2025
c3e8795
chore(deps): bump google.golang.org/grpc from 1.74.2 to 1.75.0 (#374)
ironman0x7b2 Sep 2, 2025
7b815b0
chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2…
ironman0x7b2 Sep 2, 2025
c3c61a4
chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14 (#377)
ironman0x7b2 Sep 2, 2025
3afb361
chore(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.8
dependabot[bot] Sep 2, 2025
fd734ae
chore(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.8 (#…
ironman0x7b2 Sep 2, 2025
c31c209
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
dependabot[bot] Sep 3, 2025
a7d4ba4
chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10
dependabot[bot] Sep 4, 2025
f4a05d3
chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 (#381)
ironman0x7b2 Sep 6, 2025
48449f9
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (…
ironman0x7b2 Sep 6, 2025
e202726
chore(deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.9
dependabot[bot] Sep 6, 2025
8ec81f5
chore(deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.9 …
ironman0x7b2 Sep 6, 2025
86f3b66
chore(deps): bump github.com/spf13/viper from 1.20.1 to 1.21.0
dependabot[bot] Sep 8, 2025
a9cc01e
chore: optimize Dockerfile and Makefile
ironman0x7b2 Sep 12, 2025
24e3e6c
chore: updated golangci-lint config to v2
ironman0x7b2 Sep 12, 2025
2177c49
chore: update GitHub workflows with permissions
ironman0x7b2 Sep 12, 2025
953b6b2
chore(deps): bump actions/setup-go from 5 to 6
dependabot[bot] Sep 12, 2025
5c2603f
chore(deps): bump actions/setup-go from 5 to 6 (#382)
ironman0x7b2 Sep 12, 2025
9aff985
chore(deps): bump github.com/spf13/viper from 1.20.1 to 1.21.0 (#383)
ironman0x7b2 Sep 12, 2025
32f17eb
chore(deps): bump github.com/prometheus/client_golang
dependabot[bot] Sep 12, 2025
092a164
chore(deps): bump github.com/prometheus/client_golang from 1.23.0 to …
ironman0x7b2 Sep 12, 2025
1f5a34c
fix: pin GitHub action to commit
ironman0x7b2 Sep 12, 2025
2ac025b
fix: basic lint issues
ironman0x7b2 Sep 12, 2025
8080732
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
dependabot[bot] Sep 12, 2025
23d05c6
chore(deps): bump google.golang.org/grpc from 1.75.0 to 1.75.1
dependabot[bot] Sep 12, 2025
833849f
fix: incorrect use sdk errors Wrapf method
ironman0x7b2 Sep 22, 2025
31726a6
chore: add context to errors in message validation
ironman0x7b2 Sep 24, 2025
112380a
chore: add context to error messages in params validation
ironman0x7b2 Sep 24, 2025
0af47b4
fix: incorrect updation of from allocation grant bytes
ironman0x7b2 Sep 25, 2025
d3edbd6
chore: declare inactiveAt variable and use it
ironman0x7b2 Sep 25, 2025
9e6e4f1
fix: rename incorrect methods for hours and gigabytes
ironman0x7b2 Sep 25, 2025
d6e9400
chore: do not initialize price with zero value
ironman0x7b2 Sep 25, 2025
412ec23
fix: remote addrs field cannot be empty
ironman0x7b2 Sep 25, 2025
ee087c9
chore: add HasAnyLeaseForNodeByProvider method in lease module
ironman0x7b2 Sep 25, 2025
7a06fd5
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#386)
ironman0x7b2 Sep 25, 2025
5de1ef8
chore(deps): bump google.golang.org/grpc from 1.75.0 to 1.75.1 (#387)
ironman0x7b2 Sep 25, 2025
d9dfca7
chore(deps): bump google.golang.org/protobuf from 1.36.8 to 1.36.9
dependabot[bot] Sep 25, 2025
8ee49a9
chore(deps): bump google.golang.org/protobuf from 1.36.8 to 1.36.9 (#…
ironman0x7b2 Sep 25, 2025
5715506
feat: node gigabyte_prices and hourly_prices should only contain the …
ironman0x7b2 Sep 25, 2025
21ad688
chore: use comparison methods of price in renewal price policy Valida…
ironman0x7b2 Sep 25, 2025
306b369
chore: rename active_duration and status_change_delay parameter to st…
ironman0x7b2 Sep 26, 2025
f97dce6
chore: removed unnecessary status check for session
ironman0x7b2 Sep 26, 2025
4b901a1
chore: use inbuilt types for event fields
ironman0x7b2 Sep 26, 2025
605a78b
feat: limit the number of allocations for a subscription
ironman0x7b2 Sep 27, 2025
8e40dba
chore: standardized names of events and event fields
ironman0x7b2 Sep 27, 2025
2fdae48
feat: using bytes and duration instead gigabytes and hours in plan
ironman0x7b2 Sep 27, 2025
9f30b03
chore(deps): pin buf dependencies
ironman0x7b2 Sep 27, 2025
ae8a49c
chore: enable allow_colon_final_segments in gRPC gateway options
ironman0x7b2 Sep 28, 2025
ba84f32
fix: incorrect conversion of remote URL to remote address
ironman0x7b2 Sep 28, 2025
c09d69d
feat: add buf.build repositories to proto buffers
ironman0x7b2 Sep 29, 2025
3dd59b9
fix: add missing provider status checks in plan message handler
ironman0x7b2 Sep 29, 2025
4c9c4f4
Create buf-ci.yml
ironman0x7b2 Sep 29, 2025
e606fe5
feat: add field private for subscription plan
ironman0x7b2 Sep 29, 2025
e47b812
chore: if new quote value is zero return original quote value
ironman0x7b2 Sep 29, 2025
a244d83
chore: remote IsValid method from price
ironman0x7b2 Sep 29, 2025
6785d66
chore: return time.Time instead nanoseconds in oracle params
ironman0x7b2 Sep 29, 2025
5e3bf5c
fix: GOBIN issue while installing
ironman0x7b2 Oct 1, 2025
7ec0797
fix: add missing base app options
ironman0x7b2 Oct 2, 2025
5b71c63
chore(deps): use sentinel-official/cometbft fork for cometbft
ironman0x7b2 Oct 2, 2025
026e902
chore: renamed command flag overwrite-config-with-defaults
ironman0x7b2 Oct 3, 2025
3f1d7c3
chore(deps): remove replace lines of gin-gonic/gin and rapid
ironman0x7b2 Oct 3, 2025
b1ba280
fix: set price precision to 18 digits
ironman0x7b2 Oct 6, 2025
99ebcd0
chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
dependabot[bot] Oct 6, 2025
3861011
chore: store protorev pool and spot price requests in asset
ironman0x7b2 Oct 7, 2025
60804d2
chore: rename height to spot_price_height in asset
ironman0x7b2 Oct 7, 2025
b5e9c41
chore: use context.Context instead sdk.Context in oracle GetQuotePric…
ironman0x7b2 Oct 7, 2025
8706ada
feat: set denom metadata and oracle assets during upgrade
ironman0x7b2 Oct 10, 2025
151fd18
chore(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4 (#389)
ironman0x7b2 Oct 10, 2025
db5fc69
chore: do not set minimum prices during upgrade
ironman0x7b2 Oct 11, 2025
94c6c57
fix: set https scheme in case it is missing during node migration
ironman0x7b2 Oct 11, 2025
b5ea816
chore(deps): bump softprops/action-gh-release from 2.3.4 to 2.4.1
dependabot[bot] Oct 13, 2025
aed6489
chore(deps): bump github/codeql-action from 3 to 4
dependabot[bot] Oct 13, 2025
8854bb3
fix: create leases only of node and provider are active during subscr…
ironman0x7b2 Oct 16, 2025
2ae41e8
feat: run post migration script in plan to delete invalid keys
ironman0x7b2 Oct 17, 2025
4cffeb6
chore(deps): bump github/codeql-action from 3 to 4 (#391)
ironman0x7b2 Oct 17, 2025
c7d5265
chore(deps): bump softprops/action-gh-release from 2.3.4 to 2.4.1 (#390)
ironman0x7b2 Oct 17, 2025
6cb70a3
fix: incorrect protocol version in upgrade module
ironman0x7b2 Oct 17, 2025
470e585
chore(deps): bump github.com/cometbft/cometbft to v0.37.16 from v0.37.15
ironman0x7b2 Oct 18, 2025
34ced4d
chore: ignore enum prefix for v2 subscription proto file
ironman0x7b2 Oct 18, 2025
40c582c
chore: disable breaking step in buf action
ironman0x7b2 Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .clang-format

This file was deleted.

5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2
updates:
- package-ecosystem: docker
directory: /
schedule:
interval: daily

- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/buf-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Buf CI

on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- development
- master
tags:
- '*'
release:
types:
- published

jobs:
buf:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Buf Action
uses: bufbuild/buf-action@8f4a1456a0ab6a1eb80ba68e53832e6fcfacc16c #v1.3.0
with:
breaking: false
token: ${{ secrets.BUF_TOKEN }}
29 changes: 17 additions & 12 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,34 @@ on:

jobs:
analyze:
name: Analyze
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest

permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
languages:
- go
include:
- language: actions
build-mode: none
- language: go
build-mode: autobuild

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.languages }}
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended,security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4
with:
category: /language:${{ matrix.languages }}
category: "/language:${{matrix.language}}"
31 changes: 17 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,34 @@ name: "Release"
on:
release:
types:
- created
- published

jobs:
artifacts:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v5

- name: Build Docker image
run: docker build --compress --file Dockerfile --force-rm --tag sentinel-official/sentinelhub .
- name: Build and Tag Docker Image
run: make build-image

- name: Copy binary file
- name: Extract Binary
run: |
docker create --name container sentinel-official/sentinelhub && \
docker cp container:/usr/local/bin/sentinelhub ./sentinelhub && \
docker rm container
docker create --name artifacts sentinelhub:latest
docker cp artifacts:/usr/local/bin/sentinelhub ./sentinelhub
docker rm artifacts

- name: Save SHA256 sum
run: sha256sum ./sentinelhub > ./sentinelhub_sha256.txt
- name: Generate SHA256 Checksum
run: sha256sum sentinelhub > ./checksums.txt

- name: Upload release artifacts
uses: softprops/action-gh-release@v1
- name: Upload Release Artifacts
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 #v2.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
checksums.txt
sentinelhub
sentinelhub_sha256.txt
47 changes: 29 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests and Code coverage
name: Tests and Code Coverage

on:
pull_request:
Expand All @@ -8,28 +8,39 @@ on:
- master

jobs:
run:
go:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
- name: Checkout Repository
uses: actions/checkout@v5

- name: Set Up Go
uses: actions/setup-go@v6
with:
go-version: '1.20'
- name: Generate coverage report
go-version: '1.25'

- name: Generate Coverage Report
run: |
make test-coverage
filepaths+=" $(find ./ -type f -name '*.go' -exec grep -l 'DO NOT COVER' {} \;)"
filepaths+=" $(find ./ -type f -name '*.pb.go')"
filepaths+=" $(find ./ -type f -name '*.pb.gw.go')"
for filepath in ${filepaths}; do
filepath=$(echo ${filepath} | sed 's/^./github.com\/sentinel-official\/hub/g')
echo "Excluding file ${filepath} from coverage report..."
sed -i "/$(echo ${filepath} | sed 's/\//\\\//g')/d" ./coverage.txt
files=""
files+=" $(find ./ -type f -name '*.go' -exec grep -l 'DO NOT COVER' {} \;)"
files+=" $(find ./ -type f -name '*.pb.go')"
files+=" $(find ./ -type f -name '*.pb.gw.go')"
files+=" $(find ./ -type f -path '*/client/cli/*')"
files+=" $(find ./ -type f -path '*/expected/*')"
files+=" $(find ./ -type f -path '*/services/*')"
for f in ${files}; do
f=$(echo "${f}" | sed 's@^[email protected]/sentinel-official/sentinelhub/v[0-9]*@g')
echo "Excluding file ${f} from coverage report..."
sed -i "/$(echo "${f}" | sed 's@/@\\/@g')/d" ./coverage.txt
done
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 #v5.5.1
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
36 changes: 36 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '2'
linters:
default: all
disable:
- cyclop
- depguard
- err113
- exhaustruct
- forcetypeassert
- funlen
- gocognit
- ireturn
- lll
- mnd
- nestif
- nilnil
- noinlineerr
- nonamedreturns
- varnamelen
- wsl
settings:
gosec:
excludes:
- G115
- G204
- G404
revive:
rules:
- name: package-comments
disabled: true
tagliatelle:
case:
rules:
json: snake
run:
timeout: 1m
25 changes: 0 additions & 25 deletions .golangci.yml

This file was deleted.

41 changes: 33 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,41 @@
FROM golang:1.20-alpine3.18 as build
# Build stage
FROM golang:1.25-alpine3.22 AS build

COPY . /root/
# Set working directory
WORKDIR /root

RUN apk add build-base ca-certificates git linux-headers wget && \
cd /root/ && \
# Install build dependencies
RUN apk add --no-cache \
build-base \
ca-certificates \
git \
linux-headers \
wget

# Cache Go modules
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod \
go mod download

# Copy source code
COPY . .

# Download and install CosmWasm static library
RUN unset GOTOOLCHAIN && \
ARCH=$(uname -m) && \
WASM_VERSION=$(go list -m all | grep github.com/CosmWasm/wasmvm | awk '{print $NF}') && \
wget -q -O /usr/local/lib/libwasmvm_muslc.a https://github.com/CosmWasm/wasmvm/releases/download/${WASM_VERSION}/libwasmvm_muslc.${ARCH}.a && \
STATIC=true make --jobs=$(nproc) build
wget -q -O /usr/local/lib/libwasmvm_muslc.a \
https://github.com/CosmWasm/wasmvm/releases/download/${WASM_VERSION}/libwasmvm_muslc.${ARCH}.a

# Build sentinelhub
RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
STATIC=true make --jobs="$(nproc)" build

FROM alpine:3.18
# Runtime stage
FROM alpine:3.22

COPY --from=build /root/build/sentinelhub /usr/local/bin/sentinelhub
# Copy the built binaries from build stage
COPY --from=build /root/bin/sentinelhub /usr/local/bin/sentinelhub

ENTRYPOINT ["sentinelhub"]
Loading
Loading