8000 feat: usd denominated fees for keyrings by tfl0pz · Pull Request #77 · zenrocklabs/zrchain · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: usd denominated fees for keyrings #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
1,435 changes: 1,310 additions & 125 deletions api/zrchain/identity/keyring.pulsar.go

Large diffs are not rendered by default.

640 changes: 413 additions & 227 deletions api/zrchain/identity/tx.pulsar.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ func NewZenrockApp(
app.BankKeeper,
app.IdentityKeeper,
app.PolicyKeeper,
app.ValidationKeeper,
)
treasuryModule := treasury.NewAppModule(appCodec, app.TreasuryKeeper, app.AccountKeeper, app.BankKeeper, app.IdentityKeeper, app.PolicyKeeper)

Expand Down
4 changes: 2 additions & 2 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"

"github.com/Zenrock-Foundation/zrchain/v5/app/upgrades"
v5beta3 "github.com/Zenrock-Foundation/zrchain/v5/app/upgrades/v5beta3"
v5beta4 "github.com/Zenrock-Foundation/zrchain/v5/app/upgrades/v5beta4"
)

var Upgrades = []upgrades.Upgrade{
v5beta3.Upgrade,
v5beta4.Upgrade,
}

func (app ZenrockApp) RegisterUpgradeHandlers() {
Expand Down
18 changes: 18 additions & 0 deletions app/upgrades/v5beta4/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package v5beta4

import (
storetypes "cosmossdk.io/store/types"
"github.com/Zenrock-Foundation/zrchain/v5/app/upgrades"
)

const UpgradeName = "v5beta4"

var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateUpgradeHandler,
StoreUpgrades: storetypes.StoreUpgrades{
Added: []string{},
Deleted: []string{},
Renamed: []storetypes.StoreRename{},
},
}
19 changes: 19 additions & 0 deletions app/upgrades/v5beta4/upgrade.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package v5beta4

import (
"context"

upgradetypes "cosmossdk.io/x/upgrade/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
)

func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator) upgradetypes.UpgradeHandler {
return func(context context.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
ctx := sdk.UnwrapSDKContext(context)
logger := ctx.Logger().With("upgrade", UpgradeName)
logger.Debug("starting upgrade")

return mm.RunMigrations(ctx, configurator, vm)
}
}
4 changes: 2 additions & 2 deletions proto/python/amino/amino_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/defaults/base/v1/base_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/module/v1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/v1/accounts_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/v1/genesis_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/v1/query_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/accounts/v1/tx_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/app/runtime/v1alpha1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/app/v1alpha1/config_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/app/v1alpha1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/app/v1alpha1/query_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/auth/module/v1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/auth/v1beta1/auth_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/auth/v1beta1/genesis_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/python/cosmos/auth/v1beta1/query_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading
0