mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-01-23 21:46:18 +00:00
revert third party protos
This commit is contained in:
parent
1a039a0d13
commit
db1d6463ec
@ -98,7 +98,7 @@ message Metadata {
|
||||
string description = 1;
|
||||
// denom_units represents the list of DenomUnit's for a given coin
|
||||
repeated DenomUnit denom_units = 2;
|
||||
// base represents the base denom (should be the DenomUnit with exponent = 0).
|
||||
// base represents the evm denom (should be the DenomUnit with exponent = 0).
|
||||
string base = 3;
|
||||
// display indicates the suggested denom that should be
|
||||
// displayed in clients.
|
||||
|
25
third_party/proto/cosmos/mint/v1beta1/mint.proto
vendored
25
third_party/proto/cosmos/mint/v1beta1/mint.proto
vendored
@ -56,29 +56,4 @@ message Params {
|
||||
];
|
||||
// expected blocks per year
|
||||
uint64 blocks_per_year = 6;
|
||||
string max_staked_ratio = 7 [
|
||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
string apy_at_max_staked_ratio = 8 [
|
||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
string min_staked_ratio = 9 [
|
||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
string apy_at_min_staked_ratio = 10 [
|
||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
string decay_rate = 11 [
|
||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
}
|
||||
|
6
third_party/proto/cosmos/tx/v1beta1/tx.proto
vendored
6
third_party/proto/cosmos/tx/v1beta1/tx.proto
vendored
@ -234,18 +234,18 @@ message Tip {
|
||||
string tipper = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
}
|
||||
|
||||
// AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
|
||||
// AuxSignerData is the intermediary format that an gas signer (e.g. a
|
||||
// tipper) builds and sends to the fee payer (who will build and broadcast the
|
||||
// actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
|
||||
// by the node if sent directly as-is.
|
||||
//
|
||||
// Since: cosmos-sdk 0.46
|
||||
message AuxSignerData {
|
||||
// address is the bech32-encoded address of the auxiliary signer. If using
|
||||
// address is the bech32-encoded address of the gas signer. If using
|
||||
// AuxSignerData across different chains, the bech32 prefix of the target
|
||||
// chain (where the final transaction is broadcasted) should be used.
|
||||
string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
// sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer
|
||||
// sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the gas signer
|
||||
// signs. Note: we use the same sign doc even if we're signing with
|
||||
// LEGACY_AMINO_JSON.
|
||||
SignDocDirectAux sign_doc = 2;
|
||||
|
19
third_party/proto/ethermint/evm/v1/evm.proto
vendored
19
third_party/proto/ethermint/evm/v1/evm.proto
vendored
@ -18,12 +18,17 @@ message Params {
|
||||
repeated int64 extra_eips = 4 [(gogoproto.customname) = "ExtraEIPs", (gogoproto.moretags) = "yaml:\"extra_eips\""];
|
||||
// chain_config defines the EVM chain configuration parameters
|
||||
ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false];
|
||||
// list of allowed eip712 msgs and their types
|
||||
// eip712_allowed_msgs contains list of allowed eip712 msgs and their types
|
||||
repeated EIP712AllowedMsg eip712_allowed_msgs = 6
|
||||
[(gogoproto.customname) = "EIP712AllowedMsgs", (gogoproto.nullable) = false];
|
||||
// allow_unprotected_txs defines if replay-protected (i.e non EIP155
|
||||
// signed) transactions can be executed on the state machine.
|
||||
bool allow_unprotected_txs = 7;
|
||||
// enabled_precompiles contains list of hex-encoded evm addresses of enabled precompiled contracts.
|
||||
// Precompile must be registered before it can be enabled.
|
||||
// enabled_precompiles should be sorted in ascending order and unique.
|
||||
// sorting and uniqueness are checked against bytes representation of addresses
|
||||
repeated string enabled_precompiles = 8;
|
||||
}
|
||||
|
||||
// ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values
|
||||
@ -246,20 +251,20 @@ message TraceConfig {
|
||||
|
||||
// EIP712AllowedMsg stores an allowed legacy msg and its eip712 type.
|
||||
message EIP712AllowedMsg {
|
||||
// msg's proto type name. ie "/cosmos.bank.v1beta1.MsgSend"
|
||||
// msg_type_url is a msg's proto type name. ie "/cosmos.bank.v1beta1.MsgSend"
|
||||
string msg_type_url = 1;
|
||||
|
||||
// name of the eip712 value type. ie "MsgValueSend"
|
||||
// msg_value_type_name is a name of the eip712 value type. ie "MsgValueSend"
|
||||
string msg_value_type_name = 2;
|
||||
|
||||
// types of the msg value
|
||||
// value_types is a list of msg value types
|
||||
repeated EIP712MsgAttrType value_types = 3 [(gogoproto.nullable) = false];
|
||||
|
||||
// nested types of the msg value
|
||||
// nested_types is a list of msg value nested types
|
||||
repeated EIP712NestedMsgType nested_types = 4 [(gogoproto.nullable) = false];
|
||||
}
|
||||
|
||||
// EIP712MsgType is the eip712 type of a single message.
|
||||
// EIP712NestedMsgType is the eip712 type of a single message.
|
||||
message EIP712NestedMsgType {
|
||||
// name of the nested type. ie "Fee", "Coin"
|
||||
string name = 1;
|
||||
@ -270,6 +275,8 @@ message EIP712NestedMsgType {
|
||||
|
||||
// EIP712MsgAttrType is the eip712 type of a single message attribute.
|
||||
message EIP712MsgAttrType {
|
||||
// name
|
||||
string name = 1;
|
||||
// type
|
||||
string type = 2;
|
||||
}
|
||||
|
@ -6,13 +6,13 @@ option go_package = "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types";
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
// DenomTrace contains the base denomination for ICS20 fungible tokens and the
|
||||
// DenomTrace contains the evm denomination for ICS20 fungible tokens and the
|
||||
// source tracing information path.
|
||||
message DenomTrace {
|
||||
// path defines the chain of port/channel identifiers used for tracing the
|
||||
// source of the fungible token.
|
||||
string path = 1;
|
||||
// base denomination of the relayed fungible token.
|
||||
// evm denomination of the relayed fungible token.
|
||||
string base_denom = 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user