From 4cb00802fd60518de3276bdbe84dbc64fb085ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Husiaty=C5=84ski?= Date: Mon, 16 Dec 2019 10:21:10 +0100 Subject: [PATCH] bnsd: add support for cash extension configuration update (#1078) `bnsd` and `bnscli` were updated to support cash extension configuration update. Update `bnscli` gov provosal generation. resolve #815 --- CHANGELOG.md | 1 + .../clitests/update_cash_configuration.test | 17 + .../update_cash_configuration.test.gold | 32 + cmd/bnscli/cmd_cash.go | 31 + cmd/bnscli/cmd_gov.go | 49 +- cmd/bnscli/flag_test.go | 7 +- cmd/bnscli/main.go | 3 +- cmd/bnsd/app/codec.pb.go | 912 +++++++++++++----- cmd/bnsd/app/codec.proto | 8 +- conditions.go | 3 +- docs/proto/index.html | 32 +- spec/gogo/cmd/bnsd/app/codec.proto | 8 +- spec/proto/cmd/bnsd/app/codec.proto | 8 +- spec/testvectors/ADDRESS.txt | 1 + spec/testvectors/coin.bin | 1 + spec/testvectors/coin.json | 1 + spec/testvectors/priv_key.bin | 2 + spec/testvectors/priv_key.json | 1 + spec/testvectors/pub_key.bin | 2 + spec/testvectors/pub_key.json | 1 + spec/testvectors/send_msg.bin | 2 + spec/testvectors/send_msg.json | 1 + spec/testvectors/signed_tx.bin | 5 + spec/testvectors/signed_tx.json | 1 + spec/testvectors/signed_tx.signbytes | 1 + spec/testvectors/token.bin | 2 + spec/testvectors/token.json | 1 + spec/testvectors/unsigned_tx.bin | 2 + spec/testvectors/unsigned_tx.json | 1 + spec/testvectors/unsigned_tx.signbytes | 1 + spec/testvectors/user.bin | 3 + spec/testvectors/user.json | 1 + .../username_change_token_targets_msg.bin | 3 + .../username_change_token_targets_msg.json | 1 + .../username_register_token_msg.bin | 3 + .../username_register_token_msg.json | 1 + .../username_register_token_tx.bin | 3 + .../username_register_token_tx.json | 1 + .../username_register_token_tx.signbytes | Bin 0 -> 64 bytes spec/testvectors/wallet.bin | 2 + spec/testvectors/wallet.json | 1 + 41 files changed, 867 insertions(+), 289 deletions(-) create mode 100644 cmd/bnscli/clitests/update_cash_configuration.test create mode 100644 cmd/bnscli/clitests/update_cash_configuration.test.gold create mode 100644 spec/testvectors/coin.bin create mode 100644 spec/testvectors/coin.json create mode 100644 spec/testvectors/priv_key.bin create mode 100644 spec/testvectors/priv_key.json create mode 100644 spec/testvectors/pub_key.bin create mode 100644 spec/testvectors/pub_key.json create mode 100644 spec/testvectors/send_msg.bin create mode 100644 spec/testvectors/send_msg.json create mode 100644 spec/testvectors/signed_tx.bin create mode 100644 spec/testvectors/signed_tx.json create mode 100644 spec/testvectors/signed_tx.signbytes create mode 100644 spec/testvectors/token.bin create mode 100644 spec/testvectors/token.json create mode 100644 spec/testvectors/unsigned_tx.bin create mode 100644 spec/testvectors/unsigned_tx.json create mode 100644 spec/testvectors/unsigned_tx.signbytes create mode 100644 spec/testvectors/user.bin create mode 100644 spec/testvectors/user.json create mode 100644 spec/testvectors/username_change_token_targets_msg.bin create mode 100644 spec/testvectors/username_change_token_targets_msg.json create mode 100644 spec/testvectors/username_register_token_msg.bin create mode 100644 spec/testvectors/username_register_token_msg.json create mode 100644 spec/testvectors/username_register_token_tx.bin create mode 100644 spec/testvectors/username_register_token_tx.json create mode 100644 spec/testvectors/username_register_token_tx.signbytes create mode 100644 spec/testvectors/wallet.bin create mode 100644 spec/testvectors/wallet.json diff --git a/CHANGELOG.md b/CHANGELOG.md index c08e5fdc..9c1db4ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## HEAD +- add cash configuration update message to `bnsd` transaction - `x/account` extension added and installed in `cmd/bnsd`. `cmd/bnscli` was updated to support the new extension. - `datamigration` package added. diff --git a/cmd/bnscli/clitests/update_cash_configuration.test b/cmd/bnscli/clitests/update_cash_configuration.test new file mode 100644 index 00000000..b0180a81 --- /dev/null +++ b/cmd/bnscli/clitests/update_cash_configuration.test @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +bnscli update-cash-configuration \ + -min-fee "0 IOV" \ + | bnscli view + +echo +echo + +bnscli update-cash-configuration \ + -collector 'seq:coll/bob/1' \ + -min-fee "42 IOV" \ + -owner 'seq:coll/alice/1' \ + | bnscli view + diff --git a/cmd/bnscli/clitests/update_cash_configuration.test.gold b/cmd/bnscli/clitests/update_cash_configuration.test.gold new file mode 100644 index 00000000..13c61d21 --- /dev/null +++ b/cmd/bnscli/clitests/update_cash_configuration.test.gold @@ -0,0 +1,32 @@ +{ + "Sum": { + "CashUpdateConfigurationMsg": { + "metadata": { + "schema": 1 + }, + "patch": { + "minimal_fee": { + "ticker": "IOV" + } + } + } + } +} + +{ + "Sum": { + "CashUpdateConfigurationMsg": { + "metadata": { + "schema": 1 + }, + "patch": { + "owner": "497FC2900ECA31B662691DD8B14F87BAF3C841DF", + "collector_address": "532286374CB9C9442FA1EAF0B352F91F1D79540B", + "minimal_fee": { + "whole": 42, + "ticker": "IOV" + } + } + } + } +} \ No newline at end of file diff --git a/cmd/bnscli/cmd_cash.go b/cmd/bnscli/cmd_cash.go index b2cdfe84..baf02f13 100644 --- a/cmd/bnscli/cmd_cash.go +++ b/cmd/bnscli/cmd_cash.go @@ -12,6 +12,37 @@ import ( "github.com/iov-one/weave/x/cash" ) +func cmdUpdateCashConfiguration(input io.Reader, output io.Writer, args []string) error { + fl := flag.NewFlagSet("", flag.ExitOnError) + fl.Usage = func() { + fmt.Fprintln(flag.CommandLine.Output(), ` +Create a transaction for updating cash extension configuration. + `) + fl.PrintDefaults() + } + var ( + ownerFl = flAddress(fl, "owner", "", "A new configuration owner.") + collectorFl = flAddress(fl, "collector", "", "A new collector address.") + minFeeFl = flCoin(fl, "min-fee", "1 IOV", "A new minimal fee value.") + ) + fl.Parse(args) + + tx := &bnsd.Tx{ + Sum: &bnsd.Tx_CashUpdateConfigurationMsg{ + CashUpdateConfigurationMsg: &cash.UpdateConfigurationMsg{ + Metadata: &weave.Metadata{Schema: 1}, + Patch: &cash.Configuration{ + Owner: *ownerFl, + CollectorAddress: *collectorFl, + MinimalFee: *minFeeFl, + }, + }, + }, + } + _, err := writeTx(output, tx) + return err +} + func cmdSendTokens(input io.Reader, output io.Writer, args []string) error { fl := flag.NewFlagSet("", flag.ExitOnError) fl.Usage = func() { diff --git a/cmd/bnscli/cmd_gov.go b/cmd/bnscli/cmd_gov.go index 49837a46..9ed36fb8 100644 --- a/cmd/bnscli/cmd_gov.go +++ b/cmd/bnscli/cmd_gov.go @@ -11,6 +11,7 @@ import ( "github.com/iov-one/weave" bnsd "github.com/iov-one/weave/cmd/bnsd/app" "github.com/iov-one/weave/cmd/bnsd/x/username" + "github.com/iov-one/weave/datamigration" "github.com/iov-one/weave/migration" "github.com/iov-one/weave/x/cash" "github.com/iov-one/weave/x/currency" @@ -84,10 +85,6 @@ transaction (ie signatures) are being dropped. option.Option = &bnsd.ProposalOptions_CurrencyCreateMsg{ CurrencyCreateMsg: msg, } - case *msgfee.SetMsgFeeMsg: - option.Option = &bnsd.ProposalOptions_MsgfeeSetMsgFeeMsg{ - MsgfeeSetMsgFeeMsg: msg, - } case *bnsd.ExecuteBatchMsg: msgs, err := msg.MsgList() if err != nil { @@ -96,10 +93,6 @@ transaction (ie signatures) are being dropped. var messages []bnsd.ExecuteProposalBatchMsg_Union for _, m := range msgs { switch m := m.(type) { - case *msgfee.SetMsgFeeMsg: - option.Option = &bnsd.ProposalOptions_MsgfeeSetMsgFeeMsg{ - MsgfeeSetMsgFeeMsg: m, - } case *cash.SendMsg: messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ Sum: &bnsd.ExecuteProposalBatchMsg_Union_SendMsg{ @@ -148,6 +141,12 @@ transaction (ie signatures) are being dropped. UsernameChangeTokenTargetsMsg: m, }, }) + case *username.UpdateConfigurationMsg: + messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ + Sum: &bnsd.ExecuteProposalBatchMsg_Union_UsernameUpdateConfigurationMsg{ + UsernameUpdateConfigurationMsg: m, + }, + }) case *distribution.CreateMsg: messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ Sum: &bnsd.ExecuteProposalBatchMsg_Union_DistributionCreateMsg{ @@ -184,6 +183,24 @@ transaction (ie signatures) are being dropped. GovCreateTextResolutionMsg: m, }, }) + case *msgfee.SetMsgFeeMsg: + messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ + Sum: &bnsd.ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg{ + MsgfeeSetMsgFeeMsg: m, + }, + }) + case *datamigration.ExecuteMigrationMsg: + messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ + Sum: &bnsd.ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg{ + DatamigrationExecuteMigrationMsg: m, + }, + }) + case *cash.UpdateConfigurationMsg: + messages = append(messages, bnsd.ExecuteProposalBatchMsg_Union{ + Sum: &bnsd.ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg{ + CashUpdateConfigurationMsg: m, + }, + }) } } option.Option = &bnsd.ProposalOptions_ExecuteProposalBatchMsg{ @@ -203,6 +220,10 @@ transaction (ie signatures) are being dropped. option.Option = &bnsd.ProposalOptions_UsernameChangeTokenTargetsMsg{ UsernameChangeTokenTargetsMsg: msg, } + case *username.UpdateConfigurationMsg: + option.Option = &bnsd.ProposalOptions_UsernameUpdateConfigurationMsg{ + UsernameUpdateConfigurationMsg: msg, + } case *distribution.CreateMsg: option.Option = &bnsd.ProposalOptions_DistributionCreateMsg{ DistributionCreateMsg: msg, @@ -231,6 +252,18 @@ transaction (ie signatures) are being dropped. option.Option = &bnsd.ProposalOptions_GovCreateTextResolutionMsg{ GovCreateTextResolutionMsg: msg, } + case *msgfee.SetMsgFeeMsg: + option.Option = &bnsd.ProposalOptions_MsgfeeSetMsgFeeMsg{ + MsgfeeSetMsgFeeMsg: msg, + } + case *datamigration.ExecuteMigrationMsg: + option.Option = &bnsd.ProposalOptions_DatamigrationExecuteMigrationMsg{ + DatamigrationExecuteMigrationMsg: msg, + } + case *cash.UpdateConfigurationMsg: + option.Option = &bnsd.ProposalOptions_CashUpdateConfigurationMsg{ + CashUpdateConfigurationMsg: msg, + } } rawOption, err := option.Marshal() diff --git a/cmd/bnscli/flag_test.go b/cmd/bnscli/flag_test.go index edaf659a..133acf83 100644 --- a/cmd/bnscli/flag_test.go +++ b/cmd/bnscli/flag_test.go @@ -290,9 +290,10 @@ func TestAddressFlag(t *testing.T) { setup: func(fl *flag.FlagSet) *weave.Address { return flAddress(fl, "x", "8d0d55645f1241a7a16d84fc9561a51d518c0d36", "") }, - args: []string{"-x", "zzzzzzzzzzzzz"}, - wantDie: 0, - wantVal: fromHex(t, "8d0d55645f1241a7a16d84fc9561a51d518c0d36"), + args: []string{"-x", "zzzzzzzzzzzzz"}, + wantDie: 0, + wantError: true, + wantVal: fromHex(t, "8d0d55645f1241a7a16d84fc9561a51d518c0d36"), }, } diff --git a/cmd/bnscli/main.go b/cmd/bnscli/main.go index 41be16b3..3514daa8 100644 --- a/cmd/bnscli/main.go +++ b/cmd/bnscli/main.go @@ -60,8 +60,8 @@ var commands = map[string]func(input io.Reader, output io.Writer, args []string) "release-escrow": cmdReleaseEscrow, "renew-account": cmdRenewAccount, "renew-domain": cmdRenewDomain, - "replace-account-targets": cmdReplaceAccountTrarget, "replace-account-msg-fees": cmdReplaceAccountMsgFees, + "replace-account-targets": cmdReplaceAccountTrarget, "reset-revenue": cmdResetRevenue, "resolve-username": cmdResolveUsername, "send-tokens": cmdSendTokens, @@ -73,6 +73,7 @@ var commands = map[string]func(input io.Reader, output io.Writer, args []string) "transfer-account": cmdTransferAccount, "transfer-domain": cmdTransferDomain, "update-account-configuration": cmdUpdateAccountConfiguration, + "update-cash-configuration": cmdUpdateCashConfiguration, "update-election-rule": cmdUpdateElectionRule, "update-electorate": cmdUpdateElectorate, "update-username-configuration": cmdUpdateUsernameConfiguration, diff --git a/cmd/bnsd/app/codec.pb.go b/cmd/bnsd/app/codec.pb.go index fcfa1b9a..bacf4655 100644 --- a/cmd/bnsd/app/codec.pb.go +++ b/cmd/bnsd/app/codec.pb.go @@ -100,6 +100,7 @@ type Tx struct { // *Tx_AccountRenewAccountMsg // *Tx_AccountAddAccountCertificateMsg // *Tx_AccountDeleteAccountCertificateMsg + // *Tx_CashUpdateConfigurationMsg Sum isTx_Sum `protobuf_oneof:"sum"` } @@ -268,6 +269,9 @@ type Tx_AccountAddAccountCertificateMsg struct { type Tx_AccountDeleteAccountCertificateMsg struct { AccountDeleteAccountCertificateMsg *account.DeleteAccountCertificateMsg `protobuf:"bytes,95,opt,name=account_delete_account_certificate_msg,json=accountDeleteAccountCertificateMsg,proto3,oneof"` } +type Tx_CashUpdateConfigurationMsg struct { + CashUpdateConfigurationMsg *cash.UpdateConfigurationMsg `protobuf:"bytes,97,opt,name=cash_update_configuration_msg,json=cashUpdateConfigurationMsg,proto3,oneof"` +} func (*Tx_CashSendMsg) isTx_Sum() {} func (*Tx_EscrowCreateMsg) isTx_Sum() {} @@ -311,6 +315,7 @@ func (*Tx_AccountFlushDomainMsg) isTx_Sum() {} func (*Tx_AccountRenewAccountMsg) isTx_Sum() {} func (*Tx_AccountAddAccountCertificateMsg) isTx_Sum() {} func (*Tx_AccountDeleteAccountCertificateMsg) isTx_Sum() {} +func (*Tx_CashUpdateConfigurationMsg) isTx_Sum() {} func (m *Tx) GetSum() isTx_Sum { if m != nil { @@ -634,6 +639,13 @@ func (m *Tx) GetAccountDeleteAccountCertificateMsg() *account.DeleteAccountCerti return nil } +func (m *Tx) GetCashUpdateConfigurationMsg() *cash.UpdateConfigurationMsg { + if x, ok := m.GetSum().(*Tx_CashUpdateConfigurationMsg); ok { + return x.CashUpdateConfigurationMsg + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _Tx_OneofMarshaler, _Tx_OneofUnmarshaler, _Tx_OneofSizer, []interface{}{ @@ -679,6 +691,7 @@ func (*Tx) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, fun (*Tx_AccountRenewAccountMsg)(nil), (*Tx_AccountAddAccountCertificateMsg)(nil), (*Tx_AccountDeleteAccountCertificateMsg)(nil), + (*Tx_CashUpdateConfigurationMsg)(nil), } } @@ -896,6 +909,11 @@ func _Tx_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { if err := b.EncodeMessage(x.AccountDeleteAccountCertificateMsg); err != nil { return err } + case *Tx_CashUpdateConfigurationMsg: + _ = b.EncodeVarint(97<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CashUpdateConfigurationMsg); err != nil { + return err + } case nil: default: return fmt.Errorf("Tx.Sum has unexpected type %T", x) @@ -1242,6 +1260,14 @@ func _Tx_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bo err := b.DecodeMessage(msg) m.Sum = &Tx_AccountDeleteAccountCertificateMsg{msg} return true, err + case 97: // sum.cash_update_configuration_msg + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(cash.UpdateConfigurationMsg) + err := b.DecodeMessage(msg) + m.Sum = &Tx_CashUpdateConfigurationMsg{msg} + return true, err default: return false, nil } @@ -1461,6 +1487,11 @@ func _Tx_OneofSizer(msg proto.Message) (n int) { n += 2 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *Tx_CashUpdateConfigurationMsg: + s := proto.Size(x.CashUpdateConfigurationMsg) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -1547,6 +1578,7 @@ type ExecuteBatchMsg_Union struct { // *ExecuteBatchMsg_Union_AccountRenewAccountMsg // *ExecuteBatchMsg_Union_AccountAddAccountCertificateMsg // *ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg + // *ExecuteBatchMsg_Union_CashUpdateConfigurationMsg Sum isExecuteBatchMsg_Union_Sum `protobuf_oneof:"sum"` } @@ -1685,6 +1717,9 @@ type ExecuteBatchMsg_Union_AccountAddAccountCertificateMsg struct { type ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg struct { AccountDeleteAccountCertificateMsg *account.DeleteAccountCertificateMsg `protobuf:"bytes,95,opt,name=account_delete_account_certificate_msg,json=accountDeleteAccountCertificateMsg,proto3,oneof"` } +type ExecuteBatchMsg_Union_CashUpdateConfigurationMsg struct { + CashUpdateConfigurationMsg *cash.UpdateConfigurationMsg `protobuf:"bytes,97,opt,name=cash_update_configuration_msg,json=cashUpdateConfigurationMsg,proto3,oneof"` +} func (*ExecuteBatchMsg_Union_CashSendMsg) isExecuteBatchMsg_Union_Sum() {} func (*ExecuteBatchMsg_Union_EscrowCreateMsg) isExecuteBatchMsg_Union_Sum() {} @@ -1718,6 +1753,7 @@ func (*ExecuteBatchMsg_Union_AccountFlushDomainMsg) isExecuteBatchMsg_Union_Sum( func (*ExecuteBatchMsg_Union_AccountRenewAccountMsg) isExecuteBatchMsg_Union_Sum() {} func (*ExecuteBatchMsg_Union_AccountAddAccountCertificateMsg) isExecuteBatchMsg_Union_Sum() {} func (*ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg) isExecuteBatchMsg_Union_Sum() {} +func (*ExecuteBatchMsg_Union_CashUpdateConfigurationMsg) isExecuteBatchMsg_Union_Sum() {} func (m *ExecuteBatchMsg_Union) GetSum() isExecuteBatchMsg_Union_Sum { if m != nil { @@ -1950,6 +1986,13 @@ func (m *ExecuteBatchMsg_Union) GetAccountDeleteAccountCertificateMsg() *account return nil } +func (m *ExecuteBatchMsg_Union) GetCashUpdateConfigurationMsg() *cash.UpdateConfigurationMsg { + if x, ok := m.GetSum().(*ExecuteBatchMsg_Union_CashUpdateConfigurationMsg); ok { + return x.CashUpdateConfigurationMsg + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*ExecuteBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _ExecuteBatchMsg_Union_OneofMarshaler, _ExecuteBatchMsg_Union_OneofUnmarshaler, _ExecuteBatchMsg_Union_OneofSizer, []interface{}{ @@ -1985,6 +2028,7 @@ func (*ExecuteBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto (*ExecuteBatchMsg_Union_AccountRenewAccountMsg)(nil), (*ExecuteBatchMsg_Union_AccountAddAccountCertificateMsg)(nil), (*ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg)(nil), + (*ExecuteBatchMsg_Union_CashUpdateConfigurationMsg)(nil), } } @@ -2152,6 +2196,11 @@ func _ExecuteBatchMsg_Union_OneofMarshaler(msg proto.Message, b *proto.Buffer) e if err := b.EncodeMessage(x.AccountDeleteAccountCertificateMsg); err != nil { return err } + case *ExecuteBatchMsg_Union_CashUpdateConfigurationMsg: + _ = b.EncodeVarint(97<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CashUpdateConfigurationMsg); err != nil { + return err + } case nil: default: return fmt.Errorf("ExecuteBatchMsg_Union.Sum has unexpected type %T", x) @@ -2418,6 +2467,14 @@ func _ExecuteBatchMsg_Union_OneofUnmarshaler(msg proto.Message, tag, wire int, b err := b.DecodeMessage(msg) m.Sum = &ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg{msg} return true, err + case 97: // sum.cash_update_configuration_msg + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(cash.UpdateConfigurationMsg) + err := b.DecodeMessage(msg) + m.Sum = &ExecuteBatchMsg_Union_CashUpdateConfigurationMsg{msg} + return true, err default: return false, nil } @@ -2587,6 +2644,11 @@ func _ExecuteBatchMsg_Union_OneofSizer(msg proto.Message) (n int) { n += 2 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *ExecuteBatchMsg_Union_CashUpdateConfigurationMsg: + s := proto.Size(x.CashUpdateConfigurationMsg) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -2618,6 +2680,7 @@ type ProposalOptions struct { // *ProposalOptions_GovCreateTextResolutionMsg // *ProposalOptions_MsgfeeSetMsgFeeMsg // *ProposalOptions_DatamigrationExecuteMigrationMsg + // *ProposalOptions_CashUpdateConfigurationMsg Option isProposalOptions_Option `protobuf_oneof:"option"` } @@ -2720,6 +2783,9 @@ type ProposalOptions_MsgfeeSetMsgFeeMsg struct { type ProposalOptions_DatamigrationExecuteMigrationMsg struct { DatamigrationExecuteMigrationMsg *datamigration.ExecuteMigrationMsg `protobuf:"bytes,81,opt,name=datamigration_execute_migration_msg,json=datamigrationExecuteMigrationMsg,proto3,oneof"` } +type ProposalOptions_CashUpdateConfigurationMsg struct { + CashUpdateConfigurationMsg *cash.UpdateConfigurationMsg `protobuf:"bytes,97,opt,name=cash_update_configuration_msg,json=cashUpdateConfigurationMsg,proto3,oneof"` +} func (*ProposalOptions_CashSendMsg) isProposalOptions_Option() {} func (*ProposalOptions_EscrowReleaseMsg) isProposalOptions_Option() {} @@ -2741,6 +2807,7 @@ func (*ProposalOptions_GovUpdateElectionRuleMsg) isProposalOptions_Option() func (*ProposalOptions_GovCreateTextResolutionMsg) isProposalOptions_Option() {} func (*ProposalOptions_MsgfeeSetMsgFeeMsg) isProposalOptions_Option() {} func (*ProposalOptions_DatamigrationExecuteMigrationMsg) isProposalOptions_Option() {} +func (*ProposalOptions_CashUpdateConfigurationMsg) isProposalOptions_Option() {} func (m *ProposalOptions) GetOption() isProposalOptions_Option { if m != nil { @@ -2889,6 +2956,13 @@ func (m *ProposalOptions) GetDatamigrationExecuteMigrationMsg() *datamigration.E return nil } +func (m *ProposalOptions) GetCashUpdateConfigurationMsg() *cash.UpdateConfigurationMsg { + if x, ok := m.GetOption().(*ProposalOptions_CashUpdateConfigurationMsg); ok { + return x.CashUpdateConfigurationMsg + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _ProposalOptions_OneofMarshaler, _ProposalOptions_OneofUnmarshaler, _ProposalOptions_OneofSizer, []interface{}{ @@ -2912,6 +2986,7 @@ func (*ProposalOptions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffe (*ProposalOptions_GovCreateTextResolutionMsg)(nil), (*ProposalOptions_MsgfeeSetMsgFeeMsg)(nil), (*ProposalOptions_DatamigrationExecuteMigrationMsg)(nil), + (*ProposalOptions_CashUpdateConfigurationMsg)(nil), } } @@ -3019,6 +3094,11 @@ func _ProposalOptions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { if err := b.EncodeMessage(x.DatamigrationExecuteMigrationMsg); err != nil { return err } + case *ProposalOptions_CashUpdateConfigurationMsg: + _ = b.EncodeVarint(97<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CashUpdateConfigurationMsg); err != nil { + return err + } case nil: default: return fmt.Errorf("ProposalOptions.Option has unexpected type %T", x) @@ -3189,6 +3269,14 @@ func _ProposalOptions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *prot err := b.DecodeMessage(msg) m.Option = &ProposalOptions_DatamigrationExecuteMigrationMsg{msg} return true, err + case 97: // option.cash_update_configuration_msg + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(cash.UpdateConfigurationMsg) + err := b.DecodeMessage(msg) + m.Option = &ProposalOptions_CashUpdateConfigurationMsg{msg} + return true, err default: return false, nil } @@ -3298,6 +3386,11 @@ func _ProposalOptions_OneofSizer(msg proto.Message) (n int) { n += 2 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *ProposalOptions_CashUpdateConfigurationMsg: + s := proto.Size(x.CashUpdateConfigurationMsg) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -3368,6 +3461,7 @@ type ExecuteProposalBatchMsg_Union struct { // *ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg // *ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg // *ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg + // *ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg Sum isExecuteProposalBatchMsg_Union_Sum `protobuf_oneof:"sum"` } @@ -3461,6 +3555,9 @@ type ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg struct { type ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg struct { DatamigrationExecuteMigrationMsg *datamigration.ExecuteMigrationMsg `protobuf:"bytes,81,opt,name=datamigration_execute_migration_msg,json=datamigrationExecuteMigrationMsg,proto3,oneof"` } +type ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg struct { + CashUpdateConfigurationMsg *cash.UpdateConfigurationMsg `protobuf:"bytes,97,opt,name=cash_update_configuration_msg,json=cashUpdateConfigurationMsg,proto3,oneof"` +} func (*ExecuteProposalBatchMsg_Union_SendMsg) isExecuteProposalBatchMsg_Union_Sum() {} func (*ExecuteProposalBatchMsg_Union_EscrowReleaseMsg) isExecuteProposalBatchMsg_Union_Sum() {} @@ -3483,6 +3580,8 @@ func (*ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg) isExecutePropos func (*ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg) isExecuteProposalBatchMsg_Union_Sum() {} func (*ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg) isExecuteProposalBatchMsg_Union_Sum() { } +func (*ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg) isExecuteProposalBatchMsg_Union_Sum() { +} func (m *ExecuteProposalBatchMsg_Union) GetSum() isExecuteProposalBatchMsg_Union_Sum { if m != nil { @@ -3610,6 +3709,13 @@ func (m *ExecuteProposalBatchMsg_Union) GetDatamigrationExecuteMigrationMsg() *d return nil } +func (m *ExecuteProposalBatchMsg_Union) GetCashUpdateConfigurationMsg() *cash.UpdateConfigurationMsg { + if x, ok := m.GetSum().(*ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg); ok { + return x.CashUpdateConfigurationMsg + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*ExecuteProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _ExecuteProposalBatchMsg_Union_OneofMarshaler, _ExecuteProposalBatchMsg_Union_OneofUnmarshaler, _ExecuteProposalBatchMsg_Union_OneofSizer, []interface{}{ @@ -3630,6 +3736,7 @@ func (*ExecuteProposalBatchMsg_Union) XXX_OneofFuncs() (func(msg proto.Message, (*ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg)(nil), (*ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg)(nil), (*ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg)(nil), + (*ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg)(nil), } } @@ -3722,6 +3829,11 @@ func _ExecuteProposalBatchMsg_Union_OneofMarshaler(msg proto.Message, b *proto.B if err := b.EncodeMessage(x.DatamigrationExecuteMigrationMsg); err != nil { return err } + case *ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg: + _ = b.EncodeVarint(97<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.CashUpdateConfigurationMsg); err != nil { + return err + } case nil: default: return fmt.Errorf("ExecuteProposalBatchMsg_Union.Sum has unexpected type %T", x) @@ -3868,6 +3980,14 @@ func _ExecuteProposalBatchMsg_Union_OneofUnmarshaler(msg proto.Message, tag, wir err := b.DecodeMessage(msg) m.Sum = &ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg{msg} return true, err + case 97: // sum.cash_update_configuration_msg + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(cash.UpdateConfigurationMsg) + err := b.DecodeMessage(msg) + m.Sum = &ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg{msg} + return true, err default: return false, nil } @@ -3962,6 +4082,11 @@ func _ExecuteProposalBatchMsg_Union_OneofSizer(msg proto.Message) (n int) { n += 2 // tag and wire n += proto.SizeVarint(uint64(s)) n += s + case *ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg: + s := proto.Size(x.CashUpdateConfigurationMsg) + n += 2 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) @@ -4248,117 +4373,118 @@ func init() { func init() { proto.RegisterFile("cmd/bnsd/app/codec.proto", fileDescriptor_a8efb1d2ea3c411d) } var fileDescriptor_a8efb1d2ea3c411d = []byte{ - // 1753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x5f, 0x73, 0xd3, 0xc6, - 0x16, 0x4f, 0x48, 0xe0, 0x66, 0x36, 0x09, 0x49, 0x16, 0xe2, 0x38, 0x0e, 0x71, 0x42, 0x60, 0x18, - 0xe6, 0xce, 0x5c, 0xf9, 0x0e, 0xb9, 0xff, 0x2f, 0x5c, 0x2e, 0x76, 0x92, 0x02, 0x2d, 0xff, 0x1c, - 0x87, 0xd2, 0xf2, 0x47, 0xb3, 0x91, 0xd6, 0x8a, 0x8a, 0xad, 0x75, 0xb5, 0x92, 0x63, 0xfa, 0x25, - 0xda, 0xb7, 0x7e, 0x90, 0x3e, 0xb6, 0x1f, 0x80, 0x47, 0x1e, 0xfb, 0xc4, 0x74, 0xe0, 0xb1, 0xdf, - 0xa0, 0x4f, 0x9d, 0xfd, 0x27, 0xed, 0xca, 0x32, 0xa5, 0xa5, 0x33, 0x14, 0x46, 0x6f, 0xd6, 0xf9, - 0x9d, 0xfd, 0x9d, 0xdd, 0xb3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xbe, 0x16, 0xb4, 0x49, - 0x93, 0x43, 0xf0, 0x02, 0x00, 0xd4, 0xf7, 0x02, 0x14, 0xc5, 0x21, 0xa6, 0xe5, 0x23, 0xeb, 0x13, - 0xe7, 0xa7, 0x2f, 0x40, 0x8b, 0x99, 0xb2, 0x76, 0x23, 0x77, 0x57, 0x41, 0x4d, 0x4d, 0x0b, 0x56, - 0xc0, 0x94, 0x9a, 0x63, 0x79, 0x72, 0x7d, 0xe2, 0xfc, 0x4c, 0x33, 0x79, 0x86, 0x9b, 0x60, 0x96, - 0x59, 0xb1, 0x29, 0x0e, 0x5c, 0xbb, 0x4b, 0xbd, 0xf2, 0xa6, 0x6e, 0x7b, 0x17, 0x07, 0xee, 0x0d, - 0xea, 0x5d, 0x1d, 0x6b, 0x4e, 0xb3, 0x67, 0xf9, 0x08, 0x2f, 0x83, 0x05, 0xe1, 0x33, 0xdb, 0x09, - 0x31, 0x8a, 0x30, 0x1f, 0xf8, 0x37, 0x3e, 0x70, 0xc1, 0x12, 0x88, 0xd5, 0xe0, 0x88, 0x18, 0x3c, - 0x27, 0x64, 0x89, 0x08, 0xd6, 0x01, 0x94, 0x04, 0x21, 0xee, 0x60, 0x44, 0x05, 0xc3, 0xdf, 0x39, - 0x03, 0x54, 0x0c, 0x4d, 0x01, 0x09, 0x8a, 0x79, 0x21, 0x4c, 0x65, 0xda, 0x24, 0x42, 0x1c, 0xc5, - 0x61, 0xc0, 0x29, 0xfe, 0x61, 0x4e, 0xa2, 0xc9, 0x11, 0x63, 0x12, 0x89, 0x08, 0xee, 0x81, 0x65, - 0x49, 0x10, 0xf7, 0x5c, 0xb6, 0x8a, 0x1e, 0x0a, 0x23, 0x1f, 0x53, 0x4e, 0xf4, 0x4f, 0x4e, 0x54, - 0x56, 0x44, 0x7b, 0x5c, 0xe3, 0xb6, 0x50, 0x10, 0x7c, 0x25, 0x01, 0x65, 0x11, 0xb8, 0x0d, 0x4e, - 0x28, 0xef, 0xea, 0xee, 0xf9, 0x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0x93, 0x93, 0xb4, 0x84, - 0x9e, 0xb0, 0xb3, 0xaa, 0x34, 0x72, 0x15, 0x60, 0x57, 0x33, 0x26, 0x03, 0xca, 0x21, 0x41, 0xdb, - 0xf7, 0x62, 0x91, 0x72, 0xb9, 0xb1, 0xff, 0x73, 0x63, 0xeb, 0xa9, 0x31, 0x11, 0x49, 0x0d, 0x5d, - 0x51, 0x58, 0xab, 0x2a, 0x95, 0x7c, 0x0d, 0x78, 0x07, 0x2c, 0xe9, 0x39, 0x57, 0x8f, 0x92, 0x3a, - 0x37, 0xb2, 0x64, 0xe9, 0xb8, 0x11, 0x29, 0x8b, 0x3a, 0x92, 0x46, 0xcb, 0x55, 0x30, 0x6f, 0x50, - 0x32, 0xae, 0x06, 0xe7, 0x5a, 0x31, 0xb9, 0xb6, 0xd4, 0x83, 0xca, 0x3f, 0x3a, 0xca, 0x98, 0x6e, - 0x82, 0x92, 0xc1, 0x14, 0x62, 0x8a, 0x23, 0xce, 0xb7, 0xc5, 0xf9, 0x4a, 0x26, 0x5f, 0x93, 0xc1, - 0x82, 0xea, 0xa4, 0x0e, 0x28, 0x39, 0x7c, 0x04, 0x4e, 0x25, 0xa5, 0xcb, 0x8e, 0x7b, 0x5e, 0x88, - 0x5c, 0x6c, 0x53, 0xe7, 0x00, 0x77, 0x11, 0x67, 0xdd, 0x96, 0xb3, 0x4c, 0x94, 0xac, 0x3d, 0xa1, - 0xb4, 0xcb, 0x75, 0x04, 0xf5, 0x72, 0x82, 0x66, 0x41, 0x78, 0x11, 0xcc, 0xf3, 0x0a, 0xa8, 0x7b, - 0x71, 0x87, 0x73, 0xce, 0x5b, 0x1c, 0x30, 0xdc, 0x77, 0x9c, 0x8b, 0x52, 0xbf, 0x5d, 0x06, 0x0b, - 0x62, 0xb4, 0x9e, 0x6c, 0x3f, 0x90, 0x99, 0x52, 0x0c, 0x37, 0x72, 0xed, 0x1c, 0x97, 0x69, 0xa9, - 0x36, 0x31, 0xaf, 0x65, 0xda, 0xab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xb5, 0x8a, 0xbb, 0x2a, 0x00, 0x00, + // 1775 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4b, 0x73, 0x13, 0xc7, + 0x16, 0xb6, 0xb1, 0xe1, 0xba, 0x1a, 0x3f, 0x1b, 0x6c, 0xc9, 0x32, 0x96, 0x8d, 0xa1, 0x28, 0xea, + 0x56, 0xdd, 0xd1, 0x2d, 0x7c, 0x9f, 0x09, 0x84, 0x60, 0xd9, 0x0e, 0x90, 0xf0, 0x92, 0x65, 0x42, + 0xc2, 0x63, 0xaa, 0x3d, 0xd3, 0x1a, 0x4f, 0x90, 0xa6, 0x95, 0xe9, 0x19, 0x59, 0xe4, 0x57, 0x64, + 0x95, 0x6d, 0x7e, 0x44, 0x96, 0xf9, 0x03, 0xac, 0x52, 0x2c, 0xb3, 0xa2, 0x52, 0xf0, 0x0f, 0xb2, + 0x64, 0x95, 0xea, 0xd7, 0x4c, 0xf7, 0x68, 0x44, 0x1e, 0xa4, 0xc2, 0xa3, 0x66, 0xa7, 0x39, 0xdf, + 0xe9, 0xef, 0x74, 0x9f, 0x3e, 0x7d, 0xce, 0xe9, 0x19, 0x81, 0xb2, 0xd3, 0x71, 0x6b, 0x7b, 0x01, + 0x75, 0x6b, 0xa8, 0xdb, 0xad, 0x39, 0xc4, 0xc5, 0x8e, 0xd5, 0x0d, 0x49, 0x44, 0xe0, 0x38, 0x93, + 0x56, 0xaa, 0x09, 0xde, 0xaf, 0x21, 0xc7, 0x21, 0x71, 0x10, 0xe9, 0x5a, 0x95, 0x15, 0x0d, 0x8f, + 0x29, 0x0e, 0x03, 0xd4, 0xc1, 0x86, 0xc2, 0xa2, 0x8b, 0x22, 0xd4, 0xf1, 0xbd, 0x10, 0x45, 0x3e, + 0x09, 0x0c, 0xe8, 0xb8, 0x47, 0x3c, 0xc2, 0x7f, 0xd6, 0xd8, 0x2f, 0x29, 0x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e, 0x8f, 0x34, 0x8e, 0xb2, 0x67, 0xf9, 0x08, 0x2f, 0x82, 0x39, 0xe1, 0x33, 0xdb, 0x09, + 0x31, 0x8a, 0x30, 0x1f, 0xf8, 0x2f, 0x3e, 0x70, 0xce, 0x12, 0x88, 0x55, 0xe7, 0x88, 0x18, 0x3c, + 0x23, 0x64, 0x89, 0x08, 0x6e, 0x00, 0x28, 0x09, 0x42, 0xdc, 0xc6, 0x88, 0x0a, 0x86, 0x7f, 0x73, + 0x06, 0xa8, 0x18, 0x1a, 0x02, 0x12, 0x14, 0xb3, 0x42, 0x98, 0xca, 0xb4, 0x49, 0x84, 0x38, 0x8a, + 0xc3, 0x80, 0x53, 0xfc, 0xc7, 0x9c, 0x44, 0x83, 0x23, 0xc6, 0x24, 0x12, 0x11, 0xdc, 0x05, 0x8b, + 0x92, 0x20, 0xee, 0xba, 0x6c, 0x15, 0x5d, 0x14, 0x46, 0x3e, 0xa6, 0x9c, 0xe8, 0xbf, 0x9c, 0xa8, + 0xac, 0x88, 0x76, 0xb9, 0xc6, 0x4d, 0xa1, 0x20, 0xf8, 0x16, 0x04, 0x94, 0x45, 0xe0, 0x16, 0x38, + 0xa6, 0xbc, 0xab, 0xbb, 0xe7, 0x7f, 0x9c, 0xf0, 0x98, 0xa5, 0x30, 0xc3, 0x41, 0x73, 0x4a, 0x9a, + 0xba, 0x48, 0xa7, 0x91, 0xf3, 0x63, 0x34, 0xff, 0xcf, 0xd2, 0x08, 0xfb, 0x19, 0x9a, 0x44, 0xc8, + 0x16, 0x99, 0xc6, 0x9c, 0x8d, 0xba, 0xdd, 0xf6, 0x23, 0xdb, 0xf5, 0x5b, 0x2d, 0x4e, 0xf6, 0x9e, + 0x5c, 0x64, 0xaa, 0x61, 0x5d, 0x62, 0x1a, 0x9b, 0x7e, 0xab, 0x25, 0x17, 0x99, 0x42, 0x3a, 0xc2, + 0x66, 0xa7, 0x4e, 0x9a, 0xbe, 0xc8, 0xf7, 0xe5, 0xec, 0x14, 0x66, 0x2e, 0x52, 0x49, 0xd3, 0x45, + 0xd6, 0xc1, 0x1c, 0xee, 0x63, 0x27, 0x8e, 0xb0, 0xbd, 0x87, 0x22, 0x67, 0x9f, 0x93, 0x9c, 0xe7, + 0x24, 0xf3, 0x16, 0x4b, 0x2d, 0xd6, 0x96, 0x80, 0x37, 0x18, 0xaa, 0xf6, 0xd1, 0x14, 0xc1, 0xbb, + 0x60, 0x49, 0xa5, 0x1f, 0x3b, 0xc4, 0x9e, 0x4f, 0x23, 0x1c, 0xda, 0x11, 0x79, 0x88, 0x45, 0x48, + 0x5c, 0xe0, 0x74, 0x15, 0x4b, 0xe9, 0x58, 0x0d, 0xa9, 0xd3, 0x64, 0x2a, 0x82, 0xb3, 0xac, 0xc0, + 0x2c, 0x66, 0x90, 0x47, 0x21, 0x0a, 0x68, 0xcb, 0x20, 0xff, 0x20, 0x4b, 0xde, 0x94, 0x3a, 0x79, + 0xe4, 0x59, 0x0c, 0x3e, 0x04, 0x27, 0x13, 0x72, 0x67, 0x1f, 0x05, 0x1e, 0x96, 0xd4, 0x11, 0x0a, + 0x3d, 0x1c, 0x89, 0x48, 0xbc, 0xc8, 0x4d, 0xac, 0xa4, 0x26, 0xea, 0x5c, 0x93, 0x93, 0x34, 0x85, + 0x9e, 0xb0, 0xb3, 0xac, 0x34, 0x72, 0x15, 0x60, 0x47, 0x33, 0x26, 0x03, 0xca, 0x21, 0x41, 0xcb, + 0xf7, 0x62, 0x91, 0x72, 0xb9, 0xb1, 0x0f, 0xb9, 0xb1, 0xd5, 0xd4, 0x98, 0x88, 0xa4, 0xba, 0xae, + 0x28, 0xac, 0x55, 0x95, 0x4a, 0xbe, 0x06, 0xbc, 0x05, 0x4a, 0x7a, 0xce, 0xd5, 0xa3, 0x64, 0x83, + 0x1b, 0x29, 0x59, 0x3a, 0x6e, 0x44, 0xca, 0xbc, 0x8e, 0xa4, 0xd1, 0x72, 0x19, 0xcc, 0x1a, 0x94, + 0x8c, 0xab, 0xce, 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xb3, 0xdc, 0x26, 0xca, 0xad, 0xc0, + 0x23, 0x3d, 0xf9, 0xc4, 0xd2, 0x2a, 0x1b, 0x21, 0xcf, 0x11, 0x6e, 0x63, 0x27, 0x22, 0xa1, 0xda, + 0x99, 0x6b, 0x32, 0xad, 0xb2, 0xe1, 0xe2, 0x74, 0x6c, 0x25, 0x0a, 0x32, 0xad, 0x7a, 0xa4, 0x97, + 0x83, 0xc0, 0x7b, 0xe0, 0x44, 0x96, 0x96, 0x87, 0x67, 0xdc, 0x16, 0xcc, 0xd7, 0x65, 0xba, 0xc9, + 0x30, 0xb3, 0x50, 0x8c, 0xdb, 0x92, 0xbb, 0x6c, 0x72, 0xa7, 0x18, 0xbc, 0x0a, 0x16, 0x44, 0x07, + 0x63, 0xcb, 0x68, 0xb7, 0xd9, 0x6f, 0xc6, 0x7b, 0x93, 0xf3, 0x1e, 0xb7, 0x04, 0x6c, 0xed, 0xf0, + 0xa8, 0xde, 0xc6, 0x92, 0x11, 0x0a, 0xb1, 0x2e, 0x85, 0x14, 0x9c, 0x32, 0xba, 0x3b, 0x5b, 0xe5, + 0xf1, 0x54, 0xc2, 0x88, 0x6f, 0x71, 0xe2, 0x35, 0xcb, 0xd0, 0x55, 0x49, 0xfd, 0x9a, 0x12, 0x08, + 0x33, 0xab, 0x86, 0x52, 0x8e, 0x0e, 0xfc, 0x02, 0xac, 0xca, 0x46, 0x74, 0x78, 0x06, 0x6b, 0xc8, + 0x74, 0x29, 0x15, 0x87, 0x27, 0xb0, 0x65, 0xa9, 0x31, 0x24, 0x7f, 0xdd, 0x05, 0x4b, 0xca, 0x56, + 0x52, 0x54, 0x5c, 0xd2, 0x41, 0xbe, 0x30, 0xb3, 0x23, 0x77, 0x42, 0x99, 0x51, 0x85, 0x63, 0x93, + 0xab, 0xc8, 0x9d, 0x90, 0xe0, 0x00, 0x06, 0x43, 0x70, 0x3a, 0x25, 0xef, 0xb6, 0x91, 0x83, 0x6d, + 0xf5, 0x2c, 0xb7, 0x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, 0xd1, 0x3e, 0x0e, 0x22, 0x76, 0xe7, 0x24, 0xa1, 0xa8, 0x47, 0x93, 0x1b, 0x67, 0x5e, 0x3c, + 0x5d, 0x59, 0xf3, 0xfc, 0x68, 0x3f, 0xde, 0xb3, 0x1c, 0xd2, 0xa9, 0xf9, 0xa4, 0xf7, 0x0f, 0x12, + 0xe0, 0xda, 0x01, 0x46, 0x3d, 0x6c, 0xd5, 0x49, 0xe0, 0xfa, 0x7c, 0x8b, 0x33, 0xa3, 0xdf, 0x8c, + 0x0f, 0x2d, 0xf7, 0xc1, 0x92, 0x71, 0xea, 0x92, 0x07, 0xfc, 0xdb, 0x8f, 0xf2, 0xa2, 0x8e, 0x1a, + 0xe0, 0xab, 0xff, 0x7d, 0x67, 0x1d, 0x4c, 0xb1, 0x03, 0x11, 0xa1, 0x76, 0xfb, 0x11, 0x1f, 0xfc, + 0x89, 0x2c, 0xd9, 0x2c, 0xfe, 0x9b, 0x4c, 0x2a, 0xef, 0xd5, 0x1e, 0xe9, 0xa9, 0x47, 0xb9, 0x7b, + 0x1b, 0xe5, 0xc7, 0xcf, 0xaa, 0xa3, 0x4f, 0x9e, 0x55, 0x47, 0x7f, 0x7a, 0x56, 0x1d, 0xfd, 0xfa, + 0x79, 0x75, 0xe4, 0xc9, 0xf3, 0xea, 0xc8, 0x8f, 0xcf, 0xab, 0x23, 0x7b, 0x47, 0xf8, 0x5f, 0x57, + 0xd7, 0x7f, 0x09, 0x00, 0x00, 0xff, 0xff, 0x57, 0xf4, 0x6e, 0xcd, 0x47, 0x2c, 0x00, 0x00, } func (m *Tx) Marshal() (dAtA []byte, err error) { @@ -5088,6 +5214,22 @@ func (m *Tx_AccountDeleteAccountCertificateMsg) MarshalTo(dAtA []byte) (int, err } return i, nil } +func (m *Tx_CashUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.CashUpdateConfigurationMsg != nil { + dAtA[i] = 0x8a + i++ + dAtA[i] = 0x6 + i++ + i = encodeVarintCodec(dAtA, i, uint64(m.CashUpdateConfigurationMsg.Size())) + n45, err := m.CashUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n45 + } + return i, nil +} func (m *ExecuteBatchMsg) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5134,11 +5276,11 @@ func (m *ExecuteBatchMsg_Union) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.Sum != nil { - nn45, err := m.Sum.MarshalTo(dAtA[i:]) + nn46, err := m.Sum.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn45 + i += nn46 } return i, nil } @@ -5151,11 +5293,11 @@ func (m *ExecuteBatchMsg_Union_CashSendMsg) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.CashSendMsg.Size())) - n46, err := m.CashSendMsg.MarshalTo(dAtA[i:]) + n47, err := m.CashSendMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n46 + i += n47 } return i, nil } @@ -5167,11 +5309,11 @@ func (m *ExecuteBatchMsg_Union_EscrowCreateMsg) MarshalTo(dAtA []byte) (int, err dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowCreateMsg.Size())) - n47, err := m.EscrowCreateMsg.MarshalTo(dAtA[i:]) + n48, err := m.EscrowCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n47 + i += n48 } return i, nil } @@ -5183,11 +5325,11 @@ func (m *ExecuteBatchMsg_Union_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, er dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size())) - n48, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) + n49, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n48 + i += n49 } return i, nil } @@ -5199,11 +5341,11 @@ func (m *ExecuteBatchMsg_Union_EscrowReturnMsg) MarshalTo(dAtA []byte) (int, err dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReturnMsg.Size())) - n49, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:]) + n50, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n49 + i += n50 } return i, nil } @@ -5215,11 +5357,11 @@ func (m *ExecuteBatchMsg_Union_EscrowUpdatePartiesMsg) MarshalTo(dAtA []byte) (i dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowUpdatePartiesMsg.Size())) - n50, err := m.EscrowUpdatePartiesMsg.MarshalTo(dAtA[i:]) + n51, err := m.EscrowUpdatePartiesMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n50 + i += n51 } return i, nil } @@ -5231,11 +5373,11 @@ func (m *ExecuteBatchMsg_Union_MultisigCreateMsg) MarshalTo(dAtA []byte) (int, e dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigCreateMsg.Size())) - n51, err := m.MultisigCreateMsg.MarshalTo(dAtA[i:]) + n52, err := m.MultisigCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n51 + i += n52 } return i, nil } @@ -5247,11 +5389,11 @@ func (m *ExecuteBatchMsg_Union_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, e dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size())) - n52, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) + n53, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n52 + i += n53 } return i, nil } @@ -5263,11 +5405,11 @@ func (m *ExecuteBatchMsg_Union_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (i dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size())) - n53, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) + n54, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n53 + i += n54 } return i, nil } @@ -5279,11 +5421,11 @@ func (m *ExecuteBatchMsg_Union_CurrencyCreateMsg) MarshalTo(dAtA []byte) (int, e dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.CurrencyCreateMsg.Size())) - n54, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:]) + n55, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n54 + i += n55 } return i, nil } @@ -5295,11 +5437,11 @@ func (m *ExecuteBatchMsg_Union_UsernameRegisterTokenMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size())) - n55, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) + n56, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n55 + i += n56 } return i, nil } @@ -5311,11 +5453,11 @@ func (m *ExecuteBatchMsg_Union_UsernameTransferTokenMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size())) - n56, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) + n57, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n56 + i += n57 } return i, nil } @@ -5327,11 +5469,11 @@ func (m *ExecuteBatchMsg_Union_UsernameChangeTokenTargetsMsg) MarshalTo(dAtA []b dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size())) - n57, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) + n58, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n57 + i += n58 } return i, nil } @@ -5343,11 +5485,11 @@ func (m *ExecuteBatchMsg_Union_UsernameUpdateConfigurationMsg) MarshalTo(dAtA [] dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameUpdateConfigurationMsg.Size())) - n58, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + n59, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n58 + i += n59 } return i, nil } @@ -5359,11 +5501,11 @@ func (m *ExecuteBatchMsg_Union_DistributionCreateMsg) MarshalTo(dAtA []byte) (in dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size())) - n59, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) + n60, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n59 + i += n60 } return i, nil } @@ -5375,11 +5517,11 @@ func (m *ExecuteBatchMsg_Union_DistributionMsg) MarshalTo(dAtA []byte) (int, err dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size())) - n60, err := m.DistributionMsg.MarshalTo(dAtA[i:]) + n61, err := m.DistributionMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n60 + i += n61 } return i, nil } @@ -5391,11 +5533,11 @@ func (m *ExecuteBatchMsg_Union_DistributionResetMsg) MarshalTo(dAtA []byte) (int dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size())) - n61, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) + n62, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n61 + i += n62 } return i, nil } @@ -5407,11 +5549,11 @@ func (m *ExecuteBatchMsg_Union_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte) (int, dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size())) - n62, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) + n63, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n62 + i += n63 } return i, nil } @@ -5423,11 +5565,11 @@ func (m *ExecuteBatchMsg_Union_DatamigrationExecuteMigrationMsg) MarshalTo(dAtA dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DatamigrationExecuteMigrationMsg.Size())) - n63, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) + n64, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n63 + i += n64 } return i, nil } @@ -5439,11 +5581,11 @@ func (m *ExecuteBatchMsg_Union_AccountUpdateConfigurationMsg) MarshalTo(dAtA []b dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountUpdateConfigurationMsg.Size())) - n64, err := m.AccountUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + n65, err := m.AccountUpdateConfigurationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n64 + i += n65 } return i, nil } @@ -5455,11 +5597,11 @@ func (m *ExecuteBatchMsg_Union_AccountRegisterDomainMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountRegisterDomainMsg.Size())) - n65, err := m.AccountRegisterDomainMsg.MarshalTo(dAtA[i:]) + n66, err := m.AccountRegisterDomainMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n65 + i += n66 } return i, nil } @@ -5471,11 +5613,11 @@ func (m *ExecuteBatchMsg_Union_AccountReplaceAccountMsgFeesMsg) MarshalTo(dAtA [ dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountReplaceAccountMsgFeesMsg.Size())) - n66, err := m.AccountReplaceAccountMsgFeesMsg.MarshalTo(dAtA[i:]) + n67, err := m.AccountReplaceAccountMsgFeesMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n66 + i += n67 } return i, nil } @@ -5487,11 +5629,11 @@ func (m *ExecuteBatchMsg_Union_AccountTransferDomainMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountTransferDomainMsg.Size())) - n67, err := m.AccountTransferDomainMsg.MarshalTo(dAtA[i:]) + n68, err := m.AccountTransferDomainMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n67 + i += n68 } return i, nil } @@ -5503,11 +5645,11 @@ func (m *ExecuteBatchMsg_Union_AccountRenewDomainMsg) MarshalTo(dAtA []byte) (in dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountRenewDomainMsg.Size())) - n68, err := m.AccountRenewDomainMsg.MarshalTo(dAtA[i:]) + n69, err := m.AccountRenewDomainMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n68 + i += n69 } return i, nil } @@ -5519,11 +5661,11 @@ func (m *ExecuteBatchMsg_Union_AccountDeleteDomainMsg) MarshalTo(dAtA []byte) (i dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountDeleteDomainMsg.Size())) - n69, err := m.AccountDeleteDomainMsg.MarshalTo(dAtA[i:]) + n70, err := m.AccountDeleteDomainMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n69 + i += n70 } return i, nil } @@ -5535,11 +5677,11 @@ func (m *ExecuteBatchMsg_Union_AccountRegisterAccountMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountRegisterAccountMsg.Size())) - n70, err := m.AccountRegisterAccountMsg.MarshalTo(dAtA[i:]) + n71, err := m.AccountRegisterAccountMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n70 + i += n71 } return i, nil } @@ -5551,11 +5693,11 @@ func (m *ExecuteBatchMsg_Union_AccountTransferAccountMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountTransferAccountMsg.Size())) - n71, err := m.AccountTransferAccountMsg.MarshalTo(dAtA[i:]) + n72, err := m.AccountTransferAccountMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n71 + i += n72 } return i, nil } @@ -5567,11 +5709,11 @@ func (m *ExecuteBatchMsg_Union_AccountReplaceAccountTargetsMsg) MarshalTo(dAtA [ dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountReplaceAccountTargetsMsg.Size())) - n72, err := m.AccountReplaceAccountTargetsMsg.MarshalTo(dAtA[i:]) + n73, err := m.AccountReplaceAccountTargetsMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n72 + i += n73 } return i, nil } @@ -5583,11 +5725,11 @@ func (m *ExecuteBatchMsg_Union_AccountDeleteAccountMsg) MarshalTo(dAtA []byte) ( dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountDeleteAccountMsg.Size())) - n73, err := m.AccountDeleteAccountMsg.MarshalTo(dAtA[i:]) + n74, err := m.AccountDeleteAccountMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n73 + i += n74 } return i, nil } @@ -5599,11 +5741,11 @@ func (m *ExecuteBatchMsg_Union_AccountFlushDomainMsg) MarshalTo(dAtA []byte) (in dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountFlushDomainMsg.Size())) - n74, err := m.AccountFlushDomainMsg.MarshalTo(dAtA[i:]) + n75, err := m.AccountFlushDomainMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n74 + i += n75 } return i, nil } @@ -5615,11 +5757,11 @@ func (m *ExecuteBatchMsg_Union_AccountRenewAccountMsg) MarshalTo(dAtA []byte) (i dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountRenewAccountMsg.Size())) - n75, err := m.AccountRenewAccountMsg.MarshalTo(dAtA[i:]) + n76, err := m.AccountRenewAccountMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n75 + i += n76 } return i, nil } @@ -5631,11 +5773,11 @@ func (m *ExecuteBatchMsg_Union_AccountAddAccountCertificateMsg) MarshalTo(dAtA [ dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountAddAccountCertificateMsg.Size())) - n76, err := m.AccountAddAccountCertificateMsg.MarshalTo(dAtA[i:]) + n77, err := m.AccountAddAccountCertificateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n76 + i += n77 } return i, nil } @@ -5647,11 +5789,27 @@ func (m *ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg) MarshalTo(dAt dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AccountDeleteAccountCertificateMsg.Size())) - n77, err := m.AccountDeleteAccountCertificateMsg.MarshalTo(dAtA[i:]) + n78, err := m.AccountDeleteAccountCertificateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n77 + i += n78 + } + return i, nil +} +func (m *ExecuteBatchMsg_Union_CashUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.CashUpdateConfigurationMsg != nil { + dAtA[i] = 0x8a + i++ + dAtA[i] = 0x6 + i++ + i = encodeVarintCodec(dAtA, i, uint64(m.CashUpdateConfigurationMsg.Size())) + n79, err := m.CashUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n79 } return i, nil } @@ -5671,11 +5829,11 @@ func (m *ProposalOptions) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.Option != nil { - nn78, err := m.Option.MarshalTo(dAtA[i:]) + nn80, err := m.Option.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn78 + i += nn80 } return i, nil } @@ -5688,11 +5846,11 @@ func (m *ProposalOptions_CashSendMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.CashSendMsg.Size())) - n79, err := m.CashSendMsg.MarshalTo(dAtA[i:]) + n81, err := m.CashSendMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n79 + i += n81 } return i, nil } @@ -5704,11 +5862,11 @@ func (m *ProposalOptions_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size())) - n80, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) + n82, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n80 + i += n82 } return i, nil } @@ -5720,11 +5878,11 @@ func (m *ProposalOptions_UpdateEscrowPartiesMsg) MarshalTo(dAtA []byte) (int, er dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size())) - n81, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:]) + n83, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n81 + i += n83 } return i, nil } @@ -5736,11 +5894,11 @@ func (m *ProposalOptions_MultisigUpdateMsg) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size())) - n82, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) + n84, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n82 + i += n84 } return i, nil } @@ -5752,11 +5910,11 @@ func (m *ProposalOptions_ValidatorsApplyDiffMsg) MarshalTo(dAtA []byte) (int, er dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size())) - n83, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) + n85, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n83 + i += n85 } return i, nil } @@ -5768,11 +5926,11 @@ func (m *ProposalOptions_CurrencyCreateMsg) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.CurrencyCreateMsg.Size())) - n84, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:]) + n86, err := m.CurrencyCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n84 + i += n86 } return i, nil } @@ -5784,11 +5942,11 @@ func (m *ProposalOptions_ExecuteProposalBatchMsg) MarshalTo(dAtA []byte) (int, e dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.ExecuteProposalBatchMsg.Size())) - n85, err := m.ExecuteProposalBatchMsg.MarshalTo(dAtA[i:]) + n87, err := m.ExecuteProposalBatchMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n85 + i += n87 } return i, nil } @@ -5800,11 +5958,11 @@ func (m *ProposalOptions_UsernameRegisterTokenMsg) MarshalTo(dAtA []byte) (int, dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size())) - n86, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) + n88, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n86 + i += n88 } return i, nil } @@ -5816,11 +5974,11 @@ func (m *ProposalOptions_UsernameTransferTokenMsg) MarshalTo(dAtA []byte) (int, dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size())) - n87, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) + n89, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n87 + i += n89 } return i, nil } @@ -5832,11 +5990,11 @@ func (m *ProposalOptions_UsernameChangeTokenTargetsMsg) MarshalTo(dAtA []byte) ( dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size())) - n88, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) + n90, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n88 + i += n90 } return i, nil } @@ -5848,11 +6006,11 @@ func (m *ProposalOptions_UsernameUpdateConfigurationMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameUpdateConfigurationMsg.Size())) - n89, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + n91, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n89 + i += n91 } return i, nil } @@ -5864,11 +6022,11 @@ func (m *ProposalOptions_DistributionCreateMsg) MarshalTo(dAtA []byte) (int, err dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size())) - n90, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) + n92, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n90 + i += n92 } return i, nil } @@ -5880,11 +6038,11 @@ func (m *ProposalOptions_DistributionMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size())) - n91, err := m.DistributionMsg.MarshalTo(dAtA[i:]) + n93, err := m.DistributionMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n91 + i += n93 } return i, nil } @@ -5896,11 +6054,11 @@ func (m *ProposalOptions_DistributionResetMsg) MarshalTo(dAtA []byte) (int, erro dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size())) - n92, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) + n94, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n92 + i += n94 } return i, nil } @@ -5912,11 +6070,11 @@ func (m *ProposalOptions_MigrationUpgradeSchemaMsg) MarshalTo(dAtA []byte) (int, dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MigrationUpgradeSchemaMsg.Size())) - n93, err := m.MigrationUpgradeSchemaMsg.MarshalTo(dAtA[i:]) + n95, err := m.MigrationUpgradeSchemaMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n93 + i += n95 } return i, nil } @@ -5928,11 +6086,11 @@ func (m *ProposalOptions_GovUpdateElectorateMsg) MarshalTo(dAtA []byte) (int, er dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectorateMsg.Size())) - n94, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:]) + n96, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n94 + i += n96 } return i, nil } @@ -5944,11 +6102,11 @@ func (m *ProposalOptions_GovUpdateElectionRuleMsg) MarshalTo(dAtA []byte) (int, dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectionRuleMsg.Size())) - n95, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:]) + n97, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n95 + i += n97 } return i, nil } @@ -5960,11 +6118,11 @@ func (m *ProposalOptions_GovCreateTextResolutionMsg) MarshalTo(dAtA []byte) (int dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovCreateTextResolutionMsg.Size())) - n96, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:]) + n98, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n96 + i += n98 } return i, nil } @@ -5976,11 +6134,11 @@ func (m *ProposalOptions_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size())) - n97, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) + n99, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n97 + i += n99 } return i, nil } @@ -5992,11 +6150,27 @@ func (m *ProposalOptions_DatamigrationExecuteMigrationMsg) MarshalTo(dAtA []byte dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DatamigrationExecuteMigrationMsg.Size())) - n98, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) + n100, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n98 + i += n100 + } + return i, nil +} +func (m *ProposalOptions_CashUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.CashUpdateConfigurationMsg != nil { + dAtA[i] = 0x8a + i++ + dAtA[i] = 0x6 + i++ + i = encodeVarintCodec(dAtA, i, uint64(m.CashUpdateConfigurationMsg.Size())) + n101, err := m.CashUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n101 } return i, nil } @@ -6046,11 +6220,11 @@ func (m *ExecuteProposalBatchMsg_Union) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.Sum != nil { - nn99, err := m.Sum.MarshalTo(dAtA[i:]) + nn102, err := m.Sum.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn99 + i += nn102 } return i, nil } @@ -6063,11 +6237,11 @@ func (m *ExecuteProposalBatchMsg_Union_SendMsg) MarshalTo(dAtA []byte) (int, err dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.SendMsg.Size())) - n100, err := m.SendMsg.MarshalTo(dAtA[i:]) + n103, err := m.SendMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n100 + i += n103 } return i, nil } @@ -6079,11 +6253,11 @@ func (m *ExecuteProposalBatchMsg_Union_EscrowReleaseMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size())) - n101, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) + n104, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n101 + i += n104 } return i, nil } @@ -6095,11 +6269,11 @@ func (m *ExecuteProposalBatchMsg_Union_UpdateEscrowPartiesMsg) MarshalTo(dAtA [] dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UpdateEscrowPartiesMsg.Size())) - n102, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:]) + n105, err := m.UpdateEscrowPartiesMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n102 + i += n105 } return i, nil } @@ -6111,11 +6285,11 @@ func (m *ExecuteProposalBatchMsg_Union_MultisigUpdateMsg) MarshalTo(dAtA []byte) dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MultisigUpdateMsg.Size())) - n103, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) + n106, err := m.MultisigUpdateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n103 + i += n106 } return i, nil } @@ -6127,11 +6301,11 @@ func (m *ExecuteProposalBatchMsg_Union_ValidatorsApplyDiffMsg) MarshalTo(dAtA [] dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.ValidatorsApplyDiffMsg.Size())) - n104, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) + n107, err := m.ValidatorsApplyDiffMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n104 + i += n107 } return i, nil } @@ -6143,11 +6317,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameRegisterTokenMsg) MarshalTo(dAtA dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameRegisterTokenMsg.Size())) - n105, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) + n108, err := m.UsernameRegisterTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n105 + i += n108 } return i, nil } @@ -6159,11 +6333,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameTransferTokenMsg) MarshalTo(dAtA dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameTransferTokenMsg.Size())) - n106, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) + n109, err := m.UsernameTransferTokenMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n106 + i += n109 } return i, nil } @@ -6175,11 +6349,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameChangeTokenTargetsMsg) MarshalTo( dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameChangeTokenTargetsMsg.Size())) - n107, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) + n110, err := m.UsernameChangeTokenTargetsMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n107 + i += n110 } return i, nil } @@ -6191,11 +6365,11 @@ func (m *ExecuteProposalBatchMsg_Union_UsernameUpdateConfigurationMsg) MarshalTo dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.UsernameUpdateConfigurationMsg.Size())) - n108, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + n111, err := m.UsernameUpdateConfigurationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n108 + i += n111 } return i, nil } @@ -6207,11 +6381,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionCreateMsg) MarshalTo(dAtA []b dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionCreateMsg.Size())) - n109, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) + n112, err := m.DistributionCreateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n109 + i += n112 } return i, nil } @@ -6223,11 +6397,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionMsg) MarshalTo(dAtA []byte) ( dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionMsg.Size())) - n110, err := m.DistributionMsg.MarshalTo(dAtA[i:]) + n113, err := m.DistributionMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n110 + i += n113 } return i, nil } @@ -6239,11 +6413,11 @@ func (m *ExecuteProposalBatchMsg_Union_DistributionResetMsg) MarshalTo(dAtA []by dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionResetMsg.Size())) - n111, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) + n114, err := m.DistributionResetMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n111 + i += n114 } return i, nil } @@ -6255,11 +6429,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovUpdateElectorateMsg) MarshalTo(dAtA [] dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectorateMsg.Size())) - n112, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:]) + n115, err := m.GovUpdateElectorateMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n112 + i += n115 } return i, nil } @@ -6271,11 +6445,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovUpdateElectionRuleMsg) MarshalTo(dAtA dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovUpdateElectionRuleMsg.Size())) - n113, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:]) + n116, err := m.GovUpdateElectionRuleMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n113 + i += n116 } return i, nil } @@ -6287,11 +6461,11 @@ func (m *ExecuteProposalBatchMsg_Union_GovCreateTextResolutionMsg) MarshalTo(dAt dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovCreateTextResolutionMsg.Size())) - n114, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:]) + n117, err := m.GovCreateTextResolutionMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n114 + i += n117 } return i, nil } @@ -6303,11 +6477,11 @@ func (m *ExecuteProposalBatchMsg_Union_MsgfeeSetMsgFeeMsg) MarshalTo(dAtA []byte dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.MsgfeeSetMsgFeeMsg.Size())) - n115, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) + n118, err := m.MsgfeeSetMsgFeeMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n115 + i += n118 } return i, nil } @@ -6319,11 +6493,27 @@ func (m *ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg) Marshal dAtA[i] = 0x5 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DatamigrationExecuteMigrationMsg.Size())) - n116, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) + n119, err := m.DatamigrationExecuteMigrationMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n116 + i += n119 + } + return i, nil +} +func (m *ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.CashUpdateConfigurationMsg != nil { + dAtA[i] = 0x8a + i++ + dAtA[i] = 0x6 + i++ + i = encodeVarintCodec(dAtA, i, uint64(m.CashUpdateConfigurationMsg.Size())) + n120, err := m.CashUpdateConfigurationMsg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n120 } return i, nil } @@ -6351,11 +6541,11 @@ func (m *CronTask) MarshalTo(dAtA []byte) (int, error) { } } if m.Sum != nil { - nn117, err := m.Sum.MarshalTo(dAtA[i:]) + nn121, err := m.Sum.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn117 + i += nn121 } return i, nil } @@ -6368,11 +6558,11 @@ func (m *CronTask_EscrowReleaseMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReleaseMsg.Size())) - n118, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) + n122, err := m.EscrowReleaseMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n118 + i += n122 } return i, nil } @@ -6384,11 +6574,11 @@ func (m *CronTask_EscrowReturnMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3 i++ i = encodeVarintCodec(dAtA, i, uint64(m.EscrowReturnMsg.Size())) - n119, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:]) + n123, err := m.EscrowReturnMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n119 + i += n123 } return i, nil } @@ -6400,11 +6590,11 @@ func (m *CronTask_DistributionDistributeMsg) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.DistributionDistributeMsg.Size())) - n120, err := m.DistributionDistributeMsg.MarshalTo(dAtA[i:]) + n124, err := m.DistributionDistributeMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n120 + i += n124 } return i, nil } @@ -6416,11 +6606,11 @@ func (m *CronTask_AswapReleaseMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.AswapReleaseMsg.Size())) - n121, err := m.AswapReleaseMsg.MarshalTo(dAtA[i:]) + n125, err := m.AswapReleaseMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n121 + i += n125 } return i, nil } @@ -6432,11 +6622,11 @@ func (m *CronTask_GovTallyMsg) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x4 i++ i = encodeVarintCodec(dAtA, i, uint64(m.GovTallyMsg.Size())) - n122, err := m.GovTallyMsg.MarshalTo(dAtA[i:]) + n126, err := m.GovTallyMsg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n122 + i += n126 } return i, nil } @@ -6981,6 +7171,18 @@ func (m *Tx_AccountDeleteAccountCertificateMsg) Size() (n int) { } return n } +func (m *Tx_CashUpdateConfigurationMsg) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CashUpdateConfigurationMsg != nil { + l = m.CashUpdateConfigurationMsg.Size() + n += 2 + l + sovCodec(uint64(l)) + } + return n +} func (m *ExecuteBatchMsg) Size() (n int) { if m == nil { return 0 @@ -7392,6 +7594,18 @@ func (m *ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg) Size() (n int } return n } +func (m *ExecuteBatchMsg_Union_CashUpdateConfigurationMsg) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CashUpdateConfigurationMsg != nil { + l = m.CashUpdateConfigurationMsg.Size() + n += 2 + l + sovCodec(uint64(l)) + } + return n +} func (m *ProposalOptions) Size() (n int) { if m == nil { return 0 @@ -7644,6 +7858,18 @@ func (m *ProposalOptions_DatamigrationExecuteMigrationMsg) Size() (n int) { } return n } +func (m *ProposalOptions_CashUpdateConfigurationMsg) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CashUpdateConfigurationMsg != nil { + l = m.CashUpdateConfigurationMsg.Size() + n += 2 + l + sovCodec(uint64(l)) + } + return n +} func (m *ExecuteProposalBatchMsg) Size() (n int) { if m == nil { return 0 @@ -7875,6 +8101,18 @@ func (m *ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg) Size() } return n } +func (m *ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CashUpdateConfigurationMsg != nil { + l = m.CashUpdateConfigurationMsg.Size() + n += 2 + l + sovCodec(uint64(l)) + } + return n +} func (m *CronTask) Size() (n int) { if m == nil { return 0 @@ -9568,6 +9806,41 @@ func (m *Tx) Unmarshal(dAtA []byte) error { } m.Sum = &Tx_AccountDeleteAccountCertificateMsg{v} iNdEx = postIndex + case 97: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CashUpdateConfigurationMsg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCodec + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCodec + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCodec + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &cash.UpdateConfigurationMsg{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Sum = &Tx_CashUpdateConfigurationMsg{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCodec(dAtA[iNdEx:]) @@ -10828,6 +11101,41 @@ func (m *ExecuteBatchMsg_Union) Unmarshal(dAtA []byte) error { } m.Sum = &ExecuteBatchMsg_Union_AccountDeleteAccountCertificateMsg{v} iNdEx = postIndex + case 97: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CashUpdateConfigurationMsg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCodec + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCodec + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCodec + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &cash.UpdateConfigurationMsg{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Sum = &ExecuteBatchMsg_Union_CashUpdateConfigurationMsg{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCodec(dAtA[iNdEx:]) @@ -11581,6 +11889,41 @@ func (m *ProposalOptions) Unmarshal(dAtA []byte) error { } m.Option = &ProposalOptions_DatamigrationExecuteMigrationMsg{v} iNdEx = postIndex + case 97: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CashUpdateConfigurationMsg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCodec + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCodec + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCodec + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &cash.UpdateConfigurationMsg{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Option = &ProposalOptions_CashUpdateConfigurationMsg{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCodec(dAtA[iNdEx:]) @@ -12316,6 +12659,41 @@ func (m *ExecuteProposalBatchMsg_Union) Unmarshal(dAtA []byte) error { } m.Sum = &ExecuteProposalBatchMsg_Union_DatamigrationExecuteMigrationMsg{v} iNdEx = postIndex + case 97: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CashUpdateConfigurationMsg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCodec + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCodec + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCodec + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &cash.UpdateConfigurationMsg{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Sum = &ExecuteProposalBatchMsg_Union_CashUpdateConfigurationMsg{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCodec(dAtA[iNdEx:]) diff --git a/cmd/bnsd/app/codec.proto b/cmd/bnsd/app/codec.proto index de2a2278..272414f6 100644 --- a/cmd/bnsd/app/codec.proto +++ b/cmd/bnsd/app/codec.proto @@ -83,6 +83,7 @@ message Tx { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -125,6 +126,7 @@ message ExecuteBatchMsg { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 [(gogoproto.nullable) = false]; @@ -154,8 +156,9 @@ message ProposalOptions { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -181,8 +184,9 @@ message ExecuteProposalBatchMsg { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 [(gogoproto.nullable) = false]; diff --git a/conditions.go b/conditions.go index 41a679ae..d4601d5f 100644 --- a/conditions.go +++ b/conditions.go @@ -234,7 +234,6 @@ func (a Address) String() string { return strings.ToUpper(hex.EncodeToString(a)) } - // Bech32String returns a human reacable bech32 string. func (a Address) Bech32String(prefix string) (string, error) { if len(a) == 0 { @@ -264,7 +263,7 @@ func (a Address) Validate() error { func (a *Address) Set(enc string) error { val, err := ParseAddress(enc) if err != nil { - return nil + return err } *a = val return nil diff --git a/docs/proto/index.html b/docs/proto/index.html index f45aa28c..ea90adb1 100644 --- a/docs/proto/index.html +++ b/docs/proto/index.html @@ -1256,6 +1256,13 @@

ExecuteBatchMsg.Union

+ + cash_update_configuration_msg + cash.UpdateConfigurationMsg + +

+ + @@ -1411,7 +1418,14 @@

ExecuteProposalBatchMsg.Union

datamigration_execute_migration_msg datamigration.ExecuteMigrationMsg -

82-94 are reserved for the account extension messages

+

82-95 are reserved for the account extension messages

+ + + + cash_update_configuration_msg + cash.UpdateConfigurationMsg + +

@@ -1567,7 +1581,14 @@

ProposalOptions

datamigration_execute_migration_msg datamigration.ExecuteMigrationMsg -

82-94 are reserved for the account extension messages

+

82-95 are reserved for the account extension messages

+ + + + cash_update_configuration_msg + cash.UpdateConfigurationMsg + +

@@ -1904,6 +1925,13 @@

Tx

+ + cash_update_configuration_msg + cash.UpdateConfigurationMsg + +

+ + diff --git a/spec/gogo/cmd/bnsd/app/codec.proto b/spec/gogo/cmd/bnsd/app/codec.proto index de2a2278..272414f6 100644 --- a/spec/gogo/cmd/bnsd/app/codec.proto +++ b/spec/gogo/cmd/bnsd/app/codec.proto @@ -83,6 +83,7 @@ message Tx { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -125,6 +126,7 @@ message ExecuteBatchMsg { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 [(gogoproto.nullable) = false]; @@ -154,8 +156,9 @@ message ProposalOptions { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -181,8 +184,9 @@ message ExecuteProposalBatchMsg { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 [(gogoproto.nullable) = false]; diff --git a/spec/proto/cmd/bnsd/app/codec.proto b/spec/proto/cmd/bnsd/app/codec.proto index b2d27ed9..563732ad 100644 --- a/spec/proto/cmd/bnsd/app/codec.proto +++ b/spec/proto/cmd/bnsd/app/codec.proto @@ -82,6 +82,7 @@ message Tx { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -124,6 +125,7 @@ message ExecuteBatchMsg { account.RenewAccountMsg account_renew_account_msg = 93; account.AddAccountCertificateMsg account_add_account_certificate_msg = 94; account.DeleteAccountCertificateMsg account_delete_account_certificate_msg = 95; + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 ; @@ -153,8 +155,9 @@ message ProposalOptions { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } @@ -180,8 +183,9 @@ message ExecuteProposalBatchMsg { gov.CreateTextResolutionMsg gov_create_text_resolution_msg = 79; msgfee.SetMsgFeeMsg msgfee_set_msg_fee_msg = 80; datamigration.ExecuteMigrationMsg datamigration_execute_migration_msg = 81; - // 82-94 are reserved for the account extension messages + // 82-95 are reserved for the account extension messages + cash.UpdateConfigurationMsg cash_update_configuration_msg = 97; } } repeated Union messages = 1 ; diff --git a/spec/testvectors/ADDRESS.txt b/spec/testvectors/ADDRESS.txt index e69de29b..653d9cfa 100644 --- a/spec/testvectors/ADDRESS.txt +++ b/spec/testvectors/ADDRESS.txt @@ -0,0 +1 @@ +Address: 63A49EF4B42EF6F92FA7FB5D93F1A9D46765D783 diff --git a/spec/testvectors/coin.bin b/spec/testvectors/coin.bin new file mode 100644 index 00000000..f5fe482d --- /dev/null +++ b/spec/testvectors/coin.bin @@ -0,0 +1 @@ +І`ETH \ No newline at end of file diff --git a/spec/testvectors/coin.json b/spec/testvectors/coin.json new file mode 100644 index 00000000..9fc0a3f6 --- /dev/null +++ b/spec/testvectors/coin.json @@ -0,0 +1 @@ +{"whole":50000,"fractional":12345,"ticker":"ETH"} \ No newline at end of file diff --git a/spec/testvectors/priv_key.bin b/spec/testvectors/priv_key.bin new file mode 100644 index 00000000..0cf1d82b --- /dev/null +++ b/spec/testvectors/priv_key.bin @@ -0,0 +1,2 @@ + +@4Vx4Vx4Vx4Vx4Vx4Vx4{ˢ#h!b]!҅ Ss۝ \ No newline at end of file diff --git a/spec/testvectors/priv_key.json b/spec/testvectors/priv_key.json new file mode 100644 index 00000000..860ef6f2 --- /dev/null +++ b/spec/testvectors/priv_key.json @@ -0,0 +1 @@ +{"Priv":{"Ed25519":"EjRWeJASNFZ4kBI0VniQEjRWeJASNFZ4kBI0VniQEjTJ33vLoiOL7cxoHosXuyHBYl0h0oW3DCDPU/3Uc9ud+w=="}} \ No newline at end of file diff --git a/spec/testvectors/pub_key.bin b/spec/testvectors/pub_key.bin new file mode 100644 index 00000000..bac6c9bb --- /dev/null +++ b/spec/testvectors/pub_key.bin @@ -0,0 +1,2 @@ + + {ˢ#h!b]!҅ Ss۝ \ No newline at end of file diff --git a/spec/testvectors/pub_key.json b/spec/testvectors/pub_key.json new file mode 100644 index 00000000..da9514d9 --- /dev/null +++ b/spec/testvectors/pub_key.json @@ -0,0 +1 @@ +{"Pub":{"Ed25519":"yd97y6Iji+3MaB6LF7shwWJdIdKFtwwgz1P91HPbnfs="}} \ No newline at end of file diff --git a/spec/testvectors/send_msg.bin b/spec/testvectors/send_msg.bin new file mode 100644 index 00000000..1338e67b --- /dev/null +++ b/spec/testvectors/send_msg.bin @@ -0,0 +1,2 @@ + +c./]ge׃L{˔j:r+ M"ETH* Test payment \ No newline at end of file diff --git a/spec/testvectors/send_msg.json b/spec/testvectors/send_msg.json new file mode 100644 index 00000000..fd2526ae --- /dev/null +++ b/spec/testvectors/send_msg.json @@ -0,0 +1 @@ +{"metadata":{"schema":1},"source":"63A49EF4B42EF6F92FA7FB5D93F1A9D46765D783","destination":"C64CBB7BCB946A8A3A72CD2BD6E919050BD3194D","amount":{"whole":250,"ticker":"ETH"},"memo":"Test payment"} \ No newline at end of file diff --git a/spec/testvectors/signed_tx.bin b/spec/testvectors/signed_tx.bin new file mode 100644 index 00000000..c2bfeb79 --- /dev/null +++ b/spec/testvectors/signed_tx.bin @@ -0,0 +1,5 @@ +j" + {ˢ#h!b]!҅ Ss۝"B +@~x[-0+ NqZҋ.1.=k7: AUm,^Ŏ&JojS} +H +c./]ge׃L{˔j:r+ M"ETH* Test payment \ No newline at end of file diff --git a/spec/testvectors/signed_tx.json b/spec/testvectors/signed_tx.json new file mode 100644 index 00000000..5d61c4fe --- /dev/null +++ b/spec/testvectors/signed_tx.json @@ -0,0 +1 @@ +{"signatures":[{"sequence":17,"pubkey":{"Pub":{"Ed25519":"yd97y6Iji+3MaB6LF7shwWJdIdKFtwwgz1P91HPbnfs="}},"signature":{"Sig":{"Ed25519":"fomQeLNbLTAYk7grDYQPThzrcVqG9NKLLogxLtYF/qg9azf3ztTIAjoNQfeaydVVbfcsXsWOJtfbSm+MalN9Cg=="}}}],"Sum":{"CashSendMsg":{"metadata":{"schema":1},"source":"63A49EF4B42EF6F92FA7FB5D93F1A9D46765D783","destination":"C64CBB7BCB946A8A3A72CD2BD6E919050BD3194D","amount":{"whole":250,"ticker":"ETH"},"memo":"Test payment"}}} \ No newline at end of file diff --git a/spec/testvectors/signed_tx.signbytes b/spec/testvectors/signed_tx.signbytes new file mode 100644 index 00000000..45ed7815 --- /dev/null +++ b/spec/testvectors/signed_tx.signbytes @@ -0,0 +1 @@ +~=}FMo,?7wp;^BRy_>>s%п L9/2 \ No newline at end of file diff --git a/spec/testvectors/token.bin b/spec/testvectors/token.bin new file mode 100644 index 00000000..3c61ed62 --- /dev/null +++ b/spec/testvectors/token.bin @@ -0,0 +1,2 @@ + +My special coin \ No newline at end of file diff --git a/spec/testvectors/token.json b/spec/testvectors/token.json new file mode 100644 index 00000000..e6b17cb4 --- /dev/null +++ b/spec/testvectors/token.json @@ -0,0 +1 @@ +{"metadata":{"schema":1},"name":"My special coin"} \ No newline at end of file diff --git a/spec/testvectors/unsigned_tx.bin b/spec/testvectors/unsigned_tx.bin new file mode 100644 index 00000000..1998ee49 --- /dev/null +++ b/spec/testvectors/unsigned_tx.bin @@ -0,0 +1,2 @@ +H +c./]ge׃L{˔j:r+ M"ETH* Test payment \ No newline at end of file diff --git a/spec/testvectors/unsigned_tx.json b/spec/testvectors/unsigned_tx.json new file mode 100644 index 00000000..f68c0420 --- /dev/null +++ b/spec/testvectors/unsigned_tx.json @@ -0,0 +1 @@ +{"Sum":{"CashSendMsg":{"metadata":{"schema":1},"source":"63A49EF4B42EF6F92FA7FB5D93F1A9D46765D783","destination":"C64CBB7BCB946A8A3A72CD2BD6E919050BD3194D","amount":{"whole":250,"ticker":"ETH"},"memo":"Test payment"}}} \ No newline at end of file diff --git a/spec/testvectors/unsigned_tx.signbytes b/spec/testvectors/unsigned_tx.signbytes new file mode 100644 index 00000000..45ed7815 --- /dev/null +++ b/spec/testvectors/unsigned_tx.signbytes @@ -0,0 +1 @@ +~=}FMo,?7wp;^BRy_>>s%п L9/2 \ No newline at end of file diff --git a/spec/testvectors/user.bin b/spec/testvectors/user.bin new file mode 100644 index 00000000..45d1244e --- /dev/null +++ b/spec/testvectors/user.bin @@ -0,0 +1,3 @@ + +" + {ˢ#h!b]!҅ Ss۝ \ No newline at end of file diff --git a/spec/testvectors/user.json b/spec/testvectors/user.json new file mode 100644 index 00000000..fe64af05 --- /dev/null +++ b/spec/testvectors/user.json @@ -0,0 +1 @@ +{"metadata":{"schema":1},"pubkey":{"Pub":{"Ed25519":"yd97y6Iji+3MaB6LF7shwWJdIdKFtwwgz1P91HPbnfs="}},"sequence":17} \ No newline at end of file diff --git a/spec/testvectors/username_change_token_targets_msg.bin b/spec/testvectors/username_change_token_targets_msg.bin new file mode 100644 index 00000000..61ea8d2e --- /dev/null +++ b/spec/testvectors/username_change_token_targets_msg.bin @@ -0,0 +1,3 @@ + + alice*iov +myNetmyChainAddress \ No newline at end of file diff --git a/spec/testvectors/username_change_token_targets_msg.json b/spec/testvectors/username_change_token_targets_msg.json new file mode 100644 index 00000000..08756343 --- /dev/null +++ b/spec/testvectors/username_change_token_targets_msg.json @@ -0,0 +1 @@ +{"metadata":{"schema":1},"username":"alice*iov","new_targets":[{"blockchain_id":"myNet","address":"myChainAddress"}]} \ No newline at end of file diff --git a/spec/testvectors/username_register_token_msg.bin b/spec/testvectors/username_register_token_msg.bin new file mode 100644 index 00000000..61ea8d2e --- /dev/null +++ b/spec/testvectors/username_register_token_msg.bin @@ -0,0 +1,3 @@ + + alice*iov +myNetmyChainAddress \ No newline at end of file diff --git a/spec/testvectors/username_register_token_msg.json b/spec/testvectors/username_register_token_msg.json new file mode 100644 index 00000000..22756e99 --- /dev/null +++ b/spec/testvectors/username_register_token_msg.json @@ -0,0 +1 @@ +{"metadata":{"schema":1},"username":"alice*iov","targets":[{"blockchain_id":"myNet","address":"myChainAddress"}]} \ No newline at end of file diff --git a/spec/testvectors/username_register_token_tx.bin b/spec/testvectors/username_register_token_tx.bin new file mode 100644 index 00000000..905adef9 --- /dev/null +++ b/spec/testvectors/username_register_token_tx.bin @@ -0,0 +1,3 @@ +( + alice*iov +myNetmyChainAddress \ No newline at end of file diff --git a/spec/testvectors/username_register_token_tx.json b/spec/testvectors/username_register_token_tx.json new file mode 100644 index 00000000..2e57e884 --- /dev/null +++ b/spec/testvectors/username_register_token_tx.json @@ -0,0 +1 @@ +{"Sum":{"UsernameRegisterTokenMsg":{"metadata":{"schema":1},"username":"alice*iov","targets":[{"blockchain_id":"myNet","address":"myChainAddress"}]}}} \ No newline at end of file diff --git a/spec/testvectors/username_register_token_tx.signbytes b/spec/testvectors/username_register_token_tx.signbytes new file mode 100644 index 0000000000000000000000000000000000000000..96a8910ba67e4aafe2dbe030501bc42ab29af0fb GIT binary patch literal 64 zcmV-G0Kflhl>X5F