Skip to content

Commit

Permalink
Remove unused fee constants
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Sep 7, 2022
1 parent 220c2a8 commit bbd225e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions core/silkworm/chain/protocol_param.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,13 @@

namespace silkworm {

// Gas & refund fee schedule—see Appendix G of the Yellow Paper
// Gas fee schedule—see Appendix G of the Yellow Paper
// https://ethereum.github.io/yellowpaper/paper.pdf
namespace fee {

inline constexpr uint64_t kGSLoadTangerineWhistle{200};
inline constexpr uint64_t kGSLoadIstanbul{800};
inline constexpr uint64_t kWarmStorageReadCost{100}; // EIP-2929
inline constexpr uint64_t kColdSloadCost{2'100}; // EIP-2929
inline constexpr uint64_t kAccessListStorageKeyCost{1'900}; // EIP-2930
inline constexpr uint64_t kAccessListAddressCost{2'400}; // EIP-2930

inline constexpr uint64_t kGSSet{20'000};
inline constexpr uint64_t kGSReset{5'000};

inline constexpr uint64_t kRSClear{15'000};
inline constexpr uint64_t kRSelfDestruct{24'000};

inline constexpr uint64_t kGCodeDeposit{200};

inline constexpr uint64_t kGTxCreate{32'000};
Expand Down

0 comments on commit bbd225e

Please sign in to comment.