Skip to content

Commit

Permalink
other improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Nov 8, 2024
1 parent 7552255 commit 842c562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/evm_runtime/evm_contract.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class [[eosio::contract]] evm_contract : public contract
[[eosio::action]] void updtgasparam(eosio::asset ram_price_mb, uint64_t gas_price);
[[eosio::action]] void setgasparam(uint64_t gas_txnewaccount, uint64_t gas_newaccount, uint64_t gas_txcreate, uint64_t gas_codedeposit, uint64_t gas_sset);

[[eosio::action]] void setgaslimit(std::optional<uint64_t> ingress_gas_limit);
[[eosio::action]] void setgaslimit(uint64_t ingress_gas_limit);

// Events
[[eosio::action]] void evmtx(eosio::ignore<evm_runtime::evmtx_type> event){
Expand Down
2 changes: 1 addition & 1 deletion include/evm_runtime/tables.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ struct [[eosio::table]] [[eosio::contract("evm_contract")]] config
binary_extension<consensus_parameter_type> consensus_parameter;
binary_extension<eosio::name> token_contract; // <- default(unset) means eosio.token
binary_extension<uint32_t> queue_front_block;
binary_extension<uint64_t> ingress_gas_limit = 21000;
binary_extension<uint64_t> ingress_gas_limit;

EOSLIB_SERIALIZE(config, (version)(chainid)(genesis_time)(ingress_bridge_fee)(gas_price)(miner_cut)(status)(evm_version)(consensus_parameter)(token_contract)(queue_front_block)(ingress_gas_limit));
};
Expand Down

0 comments on commit 842c562

Please sign in to comment.