mirror of
https://github.com/luxfi/coreth.git
synced 2026-10-30 17:00:51 +00:00
22 lines
739 B
Go
22 lines
739 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package atomic
|
|
|
|
import "github.com/luxfi/constants"
|
|
|
|
// Canonical atomic-tx accounting constants. Under activate-all-implicitly there
|
|
// ones (no per-upgrade variants).
|
|
const (
|
|
// LuxAtomicTxFee is the LUX amount burned per atomic tx.
|
|
LuxAtomicTxFee = constants.MilliLux
|
|
|
|
// AtomicTxBaseCost is the base intrinsic gas charged per atomic tx.
|
|
AtomicTxBaseCost uint64 = 10_000
|
|
|
|
// AtomicGasLimit caps the cumulative atomic gas consumed in a block.
|
|
// A block may include any set of atomic txs whose total atomic gas is <=
|
|
// this limit (analogous to the block gas limit for EVM txs).
|
|
AtomicGasLimit uint64 = 100_000
|
|
)
|