Skip to content
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

R4R: Multimsg ante handler Jae's proposal #3787

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
Commits
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
6 changes: 4 additions & 2 deletions cmd/gaia/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const (
appName = "GaiaApp"
// DefaultKeyPass contains the default key password for genesis transactions
DefaultKeyPass = "12345678"

atomsToUatoms = 1000000
)

// default home directories for expected binaries
Expand Down Expand Up @@ -208,8 +210,8 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b

// CheckTransferDisabledBurnMultiSend
func CheckTransferDisabledBurnMultiSend(msg bank.MsgMultiSend) bool {
alexanderbez marked this conversation as resolved.
Show resolved Hide resolved
sunnya97 marked this conversation as resolved.
Show resolved Hide resolved
nineAtoms := sdk.Coins{sdk.NewInt64Coin("uatom", 9000000)}
oneAtom := sdk.Coins{sdk.NewInt64Coin("uatom", 1000000)}
nineAtoms := sdk.Coins{sdk.NewInt64Coin("uatom", 9*atomsToUatoms)}
oneAtom := sdk.Coins{sdk.NewInt64Coin("uatom", 10*atomsToUatoms)}
sunnya97 marked this conversation as resolved.
Show resolved Hide resolved
sunnya97 marked this conversation as resolved.
Show resolved Hide resolved

if len(msg.Inputs) != 1 {
return false
Expand Down