Skip to content

Commit

Permalink
Merge pull request #92 from EscanBE/refactor/cleanup-un-used-x-evm-type
Browse files Browse the repository at this point in the history
refactor(evm+erc20): cleanup un-used `x/evm` and `x/erc20` types
  • Loading branch information
VictorTrustyDev authored Jan 14, 2024
2 parents 0fa855c + 57a7bfb commit d3cfa0d
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 2,305 deletions.
44 changes: 0 additions & 44 deletions proto/ethermint/evm/v1/events.proto

This file was deleted.

31 changes: 0 additions & 31 deletions proto/ethermint/evm/v1/evm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,6 @@ message State {
string value = 2;
}

// TransactionLogs define the logs generated from a transaction execution
// with a given hash. It it used for import/export data as transactions are not
// persisted on blockchain state after an upgrade.
message TransactionLogs {
// hash of the transaction
string hash = 1;
// logs is an array of Logs for the given transaction hash
repeated Log logs = 2;
}

// Log represents an protobuf compatible Ethereum Log that defines a contract
// log event. These events are generated by the LOG opcode and stored/indexed by
// the node.
Expand Down Expand Up @@ -178,27 +168,6 @@ message Log {
bool removed = 9;
}

// TxResult stores results of Tx execution.
message TxResult {
option (gogoproto.goproto_getters) = false;

// contract_address contains the ethereum address of the created contract (if
// any). If the state transition is an evm.Call, the contract address will be
// empty.
string contract_address = 1 [(gogoproto.moretags) = "yaml:\"contract_address\""];
// bloom represents the bloom filter bytes
bytes bloom = 2;
// tx_logs contains the transaction hash and the proto-compatible ethereum
// logs.
TransactionLogs tx_logs = 3 [(gogoproto.moretags) = "yaml:\"tx_logs\"", (gogoproto.nullable) = false];
// ret defines the bytes from the execution.
bytes ret = 4;
// reverted flag is set to true when the call has been reverted
bool reverted = 5;
// gas_used notes the amount of gas consumed while execution
uint64 gas_used = 6;
}

// AccessTuple is the element type of an access list.
message AccessTuple {
option (gogoproto.goproto_getters) = false;
Expand Down
48 changes: 0 additions & 48 deletions proto/evmos/erc20/v1/events.proto

This file was deleted.

Loading

0 comments on commit d3cfa0d

Please sign in to comment.