Skip to content

Commit

Permalink
Merge pull request #658 from KiraCore/release/v0.3.45
Browse files Browse the repository at this point in the history
release/v0.3.45 -> master
  • Loading branch information
kmlbgn authored May 14, 2024
2 parents 9a5445b + 03b7587 commit 1b8573d
Show file tree
Hide file tree
Showing 28 changed files with 3,398 additions and 305 deletions.
9 changes: 3 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
Features:

- Unique identity keys
- Genesis init fix
- CLI to use flags for execution fees proposal
- Slashing module params to gov module properties
- Identity record verification bug fix
- Network properties handling fix
- Signature verification codebase for metamask token send and EIP712 transactions
- Transaction type text updates to use camelcase
- Upgrade genesis script modification to migrate from v0.3.17 to v0.3.45
6 changes: 4 additions & 2 deletions app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
customgovkeeper "github.com/KiraCore/sekai/x/gov/keeper"
customstakingkeeper "github.com/KiraCore/sekai/x/staking/keeper"
tokenskeeper "github.com/KiraCore/sekai/x/tokens/keeper"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
Expand All @@ -40,6 +41,7 @@ func NewAnteHandler(
sigGasConsumer ante.SignatureVerificationGasConsumer,
signModeHandler signing.SignModeHandler,
txFeeChecker ante.TxFeeChecker,
interfaceRegistry codectypes.InterfaceRegistry,
) sdk.AnteHandler {
return sdk.ChainAnteDecorators(
ante.NewSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first
Expand All @@ -52,7 +54,7 @@ func NewAnteHandler(
ante.NewConsumeGasForTxSizeDecorator(ak),
// custom fee range validator
NewValidateFeeRangeDecorator(sk, cgk, tk, ak),
ante.NewSetPubKeyDecorator(ak), // SetPubKeyDecorator must be called before all signature verification decorators
NewSetPubKeyDecorator(ak), // SetPubKeyDecorator must be called before all signature verification decorators
ante.NewValidateSigCountDecorator(ak),
ante.NewDeductFeeDecorator(ak, bk, feegrantKeeper, txFeeChecker),
// poor network management decorator
Expand All @@ -61,7 +63,7 @@ func NewAnteHandler(
// custom execution fee consume decorator
NewExecutionFeeRegistrationDecorator(ak, cgk, fk),
ante.NewSigGasConsumeDecorator(ak, sigGasConsumer),
ante.NewSigVerificationDecorator(ak, signModeHandler),
NewSigVerificationDecorator(ak, signModeHandler, interfaceRegistry),
ante.NewIncrementSequenceDecorator(ak),
)
}
Expand Down
Loading

0 comments on commit 1b8573d

Please sign in to comment.