Skip to content
Draft
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
cf06aa0
feat(ibc): gno light client module
tbruyelle Jan 14, 2026
811402f
fix lint
tbruyelle Jan 15, 2026
5f84708
chore: Remove broken tests
clockworkgr Jan 13, 2026
3e6c141
chore: Add new tests
clockworkgr Jan 13, 2026
76429c1
refactor: centralize duplicated code
tbruyelle Jan 16, 2026
7f5b077
clean unused proto/tm2
tbruyelle Jan 28, 2026
41c1a71
test(e2e): increase wait time for governance proposal
tbruyelle Jan 29, 2026
08f8b4f
test(e2e): fix flaky test on CancelUpgrade
tbruyelle Jan 30, 2026
bdb89b9
feat: wire vaas provider
julienrbrt Feb 26, 2026
86e43ae
Merge remote-tracking branch 'upstream/feat/gno-lc' into julien/wire-…
julienrbrt Feb 26, 2026
fe04cbd
bump vaas
julienrbrt Mar 3, 2026
7e68888
updates
julienrbrt Mar 3, 2026
de0f0b2
fix: Oak Issue #1
clockworkgr Mar 13, 2026
2d68653
fix: Oak issue #2
clockworkgr Mar 13, 2026
5e361a7
fix: Oak issue #3
clockworkgr Mar 13, 2026
cad5aaf
fix: Oak issue #4
clockworkgr Mar 13, 2026
4cca7d0
fix: Oak issue #16
clockworkgr Mar 13, 2026
cea0282
fix: Oak issue #17
clockworkgr Mar 13, 2026
95d7054
fix: Oak issue #45
clockworkgr Mar 13, 2026
365b234
fix: Oak issue #46
clockworkgr Mar 13, 2026
5799dca
tests: Add tests for Gno LC Oak-reported issues
clockworkgr Mar 13, 2026
55959d8
Merge branch 'main' into julien/wire-vaas
julienrbrt Mar 14, 2026
f72776a
Merge branch 'feat/gno-lc' into julien/wire-vaas
julienrbrt Mar 19, 2026
d8fa530
Merge branch 'main' into julien/wire-vaas
julienrbrt Apr 13, 2026
298a4c3
bump to latest vaas pr
julienrbrt Apr 13, 2026
6118f67
bump to latest vaas pr
julienrbrt Apr 14, 2026
ad2b8b4
bump to latest vaas
julienrbrt Apr 17, 2026
c312b95
Merge branch 'main' into julien/wire-vaas
julienrbrt Apr 17, 2026
17558fc
Merge branch 'main' into julien/wire-vaas
julienrbrt May 6, 2026
26697aa
fix: IBCv2 vaas route App id
tbruyelle May 6, 2026
d416724
bump vaas
julienrbrt May 6, 2026
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
26 changes: 25 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ import (
atomonegovkeeper "github.com/atomone-hub/atomone/x/gov/keeper"
photonkeeper "github.com/atomone-hub/atomone/x/photon/keeper"
photontypes "github.com/atomone-hub/atomone/x/photon/types"

ibcprovider "github.com/allinbits/vaas/x/vaas/provider"
ibcproviderkeeper "github.com/allinbits/vaas/x/vaas/provider/keeper"
providertypes "github.com/allinbits/vaas/x/vaas/provider/types"
vaastypes "github.com/allinbits/vaas/x/vaas/types"
)

type AppKeepers struct {
Expand Down Expand Up @@ -101,6 +106,7 @@ type AppKeepers struct {
PhotonKeeper *photonkeeper.Keeper
DynamicfeeKeeper *dynamicfeekeeper.Keeper
CoreDaosKeeper *coredaoskeeper.Keeper
ProviderKeeper ibcproviderkeeper.Keeper
EpochsKeeper epochskeeper.Keeper

// Modules
Expand All @@ -125,6 +131,7 @@ func NewAppKeeper(
) AppKeepers {
authorityStr := authtypes.NewModuleAddress(govtypes.ModuleName).String()
addressCodec := addresscodec.NewBech32Codec(sdk.GetConfig().GetBech32AccountAddrPrefix())
consAddressCodec := addresscodec.NewBech32Codec(sdk.GetConfig().GetBech32ConsensusAddrPrefix())

appKeepers := AppKeepers{}
// Set keys KVStoreKey, TransientStoreKey, MemoryStoreKey
Expand Down Expand Up @@ -277,6 +284,22 @@ func NewAppKeeper(

appKeepers.GovKeeperWrapper = atomonegovkeeper.NewKeeper(appKeepers.GovKeeper)

appKeepers.ProviderKeeper = ibcproviderkeeper.NewKeeper(
appCodec,
runtime.NewKVStoreService(appKeepers.keys[providertypes.StoreKey]),
appKeepers.IBCKeeper.ClientKeeper,
appKeepers.IBCKeeper.ClientV2Keeper,
appKeepers.StakingKeeper,
appKeepers.SlashingKeeper,
appKeepers.AccountKeeper,
appKeepers.BankKeeper,
*appKeepers.GovKeeper,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
appCodec.InterfaceRegistry().SigningContext().ValidatorAddressCodec(),
consAddressCodec,
authtypes.FeeCollectorName,
)

appKeepers.CoreDaosKeeper = coredaoskeeper.NewKeeper(
appCodec,
runtime.NewKVStoreService(appKeepers.keys[coredaostypes.StoreKey]),
Expand Down Expand Up @@ -374,7 +397,8 @@ func NewAppKeeper(
AddRoute(ibctransfertypes.ModuleName, transferStack)

ibcv2Router := ibcapi.NewRouter().
AddRoute(ibctransfertypes.PortID, transferStackV2)
AddRoute(ibctransfertypes.PortID, transferStackV2).
AddRoute(vaastypes.ProviderAppID, ibcprovider.NewIBCModule(&appKeepers.ProviderKeeper))

appKeepers.IBCKeeper.SetRouter(ibcRouter)
appKeepers.IBCKeeper.SetRouterV2(ibcv2Router)
Expand Down
2 changes: 2 additions & 0 deletions app/keepers/keys.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package keepers

import (
providertypes "github.com/allinbits/vaas/x/vaas/provider/types"
icacontrollertypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/types"
icahosttypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/types"
ibctransfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
Expand Down Expand Up @@ -52,6 +53,7 @@ func (appKeepers *AppKeepers) GenerateKeys() {
photontypes.StoreKey,
dynamicfeetypes.StoreKey,
coredaostypes.StoreKey,
providertypes.StoreKey,
epochstypes.StoreKey,
)

Expand Down
15 changes: 11 additions & 4 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
dynamicfeetypes "github.com/cosmos/cosmos-sdk/x/dynamicfee/types"
"github.com/cosmos/cosmos-sdk/x/epochs"
epochstypes "github.com/cosmos/cosmos-sdk/x/epochs/types"
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/cosmos/cosmos-sdk/x/gov"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand All @@ -44,7 +43,6 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/cosmos/cosmos-sdk/x/slashing"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
"github.com/cosmos/cosmos-sdk/x/staking"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/atomone-hub/atomone/x/coredaos"
Expand All @@ -53,6 +51,11 @@ import (
atomonegovv1 "github.com/atomone-hub/atomone/x/gov/types/v1"
"github.com/atomone-hub/atomone/x/photon"
photontypes "github.com/atomone-hub/atomone/x/photon/types"

no_valupdates_genutil "github.com/allinbits/vaas/x/vaas/no_valupdates_genutil"
no_valupdates_staking "github.com/allinbits/vaas/x/vaas/no_valupdates_staking"
ibcprovider "github.com/allinbits/vaas/x/vaas/provider"
providertypes "github.com/allinbits/vaas/x/vaas/provider/types"
)

var maccPerms = map[string][]string{
Expand Down Expand Up @@ -93,7 +96,7 @@ func appModules(
)}

return []module.AppModule{
genutil.NewAppModule(
no_valupdates_genutil.NewAppModule(
app.AccountKeeper,
app.StakingKeeper,
app.BaseApp,
Expand All @@ -107,7 +110,7 @@ func appModules(
mint.NewAppModule(appCodec, app.MintKeeper, app.AccountKeeper, nil, app.GetSubspace(minttypes.ModuleName)),
slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(slashingtypes.ModuleName), app.interfaceRegistry),
distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(distrtypes.ModuleName)),
staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)),
no_valupdates_staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)),
photon.NewAppModule(appCodec, *app.PhotonKeeper, app.BankKeeper, app.AccountKeeper, app.StakingKeeper),
upgrade.NewAppModule(app.UpgradeKeeper, app.AccountKeeper.AddressCodec()),
evidence.NewAppModule(app.EvidenceKeeper),
Expand All @@ -118,6 +121,7 @@ func appModules(
consensus.NewAppModule(appCodec, app.ConsensusParamsKeeper),
dynamicfee.NewAppModule(appCodec, *app.DynamicfeeKeeper),
coredaos.NewAppModule(appCodec, *app.CoreDaosKeeper, app.GovKeeperWrapper, app.StakingKeeper, app.AccountKeeper, app.BankKeeper),
ibcprovider.NewAppModule(&app.ProviderKeeper),
epochs.NewAppModule(&app.EpochsKeeper),

app.TransferModule,
Expand Down Expand Up @@ -163,6 +167,7 @@ func orderBeginBlockers() []string {
vestingtypes.ModuleName,
consensusparamtypes.ModuleName,
coredaostypes.ModuleName,
providertypes.ModuleName,
}
}

Expand Down Expand Up @@ -197,6 +202,7 @@ func orderEndBlockers() []string {
vestingtypes.ModuleName,
consensusparamtypes.ModuleName,
coredaostypes.ModuleName,
providertypes.ModuleName,
epochstypes.ModuleName,
}
}
Expand Down Expand Up @@ -231,6 +237,7 @@ func orderInitBlockers() []string {
consensusparamtypes.ModuleName,
dynamicfeetypes.ModuleName,
coredaostypes.ModuleName,
providertypes.ModuleName,
epochstypes.ModuleName,
}
}
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
module github.com/atomone-hub/atomone

go 1.26.1
go 1.26.0

replace (
cosmossdk.io/x/evidence => cosmossdk.io/x/evidence v0.1.1
cosmossdk.io/x/feegrant => cosmossdk.io/x/feegrant v0.1.1
cosmossdk.io/x/upgrade => github.com/atomone-hub/cosmos-sdk/x/upgrade v0.1.5-atomone.2
github.com/allinbits/vaas => github.com/allinbits/vaas v0.0.0-20260503080943-6ab89ddcfeec
github.com/cosmos/cosmos-sdk => github.com/atomone-hub/cosmos-sdk v0.500.0-rc.1
github.com/cosmos/ibc-go/v10 => github.com/cosmos/ibc-go/v10 v10.5.0
)
Expand All @@ -20,10 +22,11 @@ require (
cosmossdk.io/math v1.5.3
cosmossdk.io/store v1.1.2
cosmossdk.io/tools/confix v0.1.2
cosmossdk.io/x/evidence v0.1.1
cosmossdk.io/x/evidence v0.2.0
cosmossdk.io/x/feegrant v0.1.1
cosmossdk.io/x/tx v0.14.0
cosmossdk.io/x/upgrade v0.2.0
github.com/allinbits/vaas v0.0.0-00010101000000-000000000000
github.com/cometbft/cometbft v0.38.21
github.com/cosmos/cosmos-db v1.1.3
github.com/cosmos/cosmos-proto v1.0.0-beta.5
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/allinbits/vaas v0.0.0-20260503080943-6ab89ddcfeec h1:fb9SilS8Tve0PdmTKCty44wJmcLjnq1hgFf8Edgqk3k=
github.com/allinbits/vaas v0.0.0-20260503080943-6ab89ddcfeec/go.mod h1:qMnVr9Yg/NhN4eMXiHNjboin6lYxTKVX1zxX3iNUYsw=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
Expand Down