Skip to content

Commit

Permalink
changed fallback casing
Browse files Browse the repository at this point in the history
  • Loading branch information
freeelancer committed Mar 5, 2024
1 parent 1ef05b7 commit ef4ba86
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion proto/terra/smartaccount/v1/setting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ message Setting {
repeated string post_transaction = 4 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];

// Fallback to default SigVerify if custom authorization fails
bool Fallback = 5;
bool fallback = 5;
}

message AuthorizationMsg {
Expand Down
2 changes: 0 additions & 2 deletions x/smartaccount/ante/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ func (sad SmartAccountAuthDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simu
}
}

panic(tx.GetMsgs()[0].String())

// run through the default handlers for signature verification
// if no custom authorization is set or if the custom authorization fails with fallback
newCtx, err := sad.defaultVerifySigDecorator(ctx, tx, simulate)
Expand Down
46 changes: 23 additions & 23 deletions x/smartaccount/types/setting.pb.go

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

0 comments on commit ef4ba86

Please sign in to comment.