diff --git a/common/common.pb.go b/common/common.pb.go index 76f8d4d9de..658459858a 100644 --- a/common/common.pb.go +++ b/common/common.pb.go @@ -339,7 +339,6 @@ func (m *BlockHeader) GetHeader() HeaderData { type HeaderData struct { // Types that are valid to be assigned to Data: - // // *HeaderData_EthereumHeader // *HeaderData_BitcoinHeader Data isHeaderData_Data `protobuf_oneof:"data"` @@ -425,7 +424,6 @@ func (*HeaderData) XXX_OneofWrappers() []interface{} { type Proof struct { // Types that are valid to be assigned to Proof: - // // *Proof_EthereumProof // *Proof_BitcoinProof Proof isProof_Proof `protobuf_oneof:"proof"` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain.md b/docs/cli/zetacored/zetacored_tx_crosschain.md index 5a7f0f2639..245b55e096 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain.md @@ -36,4 +36,5 @@ zetacored tx crosschain [flags] * [zetacored tx crosschain outbound-voter](zetacored_tx_crosschain_outbound-voter.md) - Broadcast message receiveConfirmation * [zetacored tx crosschain remove-from-out-tx-tracker](zetacored_tx_crosschain_remove-from-out-tx-tracker.md) - Remove a out-tx-tracker * [zetacored tx crosschain update-tss-address](zetacored_tx_crosschain_update-tss-address.md) - Create a new TSSVoter -* [zetacored tx crosschain whitelist-erc20](zetacored_tx_crosschain-whitelist-erc20.md) - Add a new ERC20 address to whitelist +* [zetacored tx crosschain whitelist-erc20](zetacored_tx_crosschain_whitelist-erc20.md) - Add a new erc20 token to whitelist + diff --git a/docs/cli/zetacored/zetacored_tx_crosschain-whitelist-erc20.md b/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md similarity index 82% rename from docs/cli/zetacored/zetacored_tx_crosschain-whitelist-erc20.md rename to docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md index 04c199d8eb..0c4da0b9e7 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain-whitelist-erc20.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md @@ -1,9 +1,9 @@ # tx crosschain whitelist-erc20 -Add a new ERC20 address to whitelist +Add a new erc20 token to whitelist ``` -zetacored tx crosschain whitelist-erc20 [erc20Address] [chainId] [name] [symbol] [decimals] [gasLimit] [flags] +zetacored tx crosschain whitelist-erc20 [erc20Address] [chainID] [name] [symbol] [decimals] [gasLimit] [flags] ``` ### Options @@ -11,7 +11,7 @@ zetacored tx crosschain whitelist-erc20 [erc20Address] [chainId] [name] [symbol] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "sync") + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -21,14 +21,14 @@ zetacored tx crosschain whitelist-erc20 [erc20Address] [chainId] [name] [symbol] --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) - -h, --help help for add-whitelist-erc20 - --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") + -h, --help help for whitelist-erc20 + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --ledger Use a connected Ledger device - --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --node string [host]:[port] to tendermint rpc interface for this chain --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) (default "json") + -o, --output string Output format (text|json) -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height @@ -40,12 +40,13 @@ zetacored tx crosschain whitelist-erc20 [erc20Address] [chainId] [name] [symbol] ``` --chain-id string The network chain ID - --home string directory for config and data - --log_format string The logging format (json|plain) (default "plain") - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) --trace print out full stack trace on errors ``` ### SEE ALSO -* [zetacored tx crosschain](zetacored_tx_crosschain.md) - crosschain transactions subcommands \ No newline at end of file +* [zetacored tx crosschain](zetacored_tx_crosschain.md) - crosschain transactions subcommands + diff --git a/x/crosschain/types/tx.pb.go b/x/crosschain/types/tx.pb.go index c784912394..acab4dd991 100644 --- a/x/crosschain/types/tx.pb.go +++ b/x/crosschain/types/tx.pb.go @@ -1088,9 +1088,9 @@ type MsgVoteOnObservedInboundTx struct { SenderChainId int64 `protobuf:"varint,3,opt,name=sender_chain_id,json=senderChainId,proto3" json:"sender_chain_id,omitempty"` Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"` ReceiverChain int64 `protobuf:"varint,5,opt,name=receiver_chain,json=receiverChain,proto3" json:"receiver_chain,omitempty"` - // string zeta_burnt = 6; + // string zeta_burnt = 6; Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,6,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` - // string mMint = 7; + // string mMint = 7; Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"` InTxHash string `protobuf:"bytes,9,opt,name=in_tx_hash,json=inTxHash,proto3" json:"in_tx_hash,omitempty"` InBlockHeight uint64 `protobuf:"varint,10,opt,name=in_block_height,json=inBlockHeight,proto3" json:"in_block_height,omitempty"`