forked from iotexproject/iotex-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgas.go
21 lines (15 loc) · 768 Bytes
/
gas.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2019 IoTeX Foundation
// This source code is provided 'as is' and no warranties are given as to title or non-infringement, merchantability
// or fitness for purpose and, to the extent permitted by law, all liability for your use of the code is disclaimed.
// This source code is governed by Apache License 2.0 that can be found in the LICENSE file.
package testutil
import (
"math/big"
"github.com/iotexproject/iotex-core/v2/pkg/unit"
)
// TestGasLimit represents the gas limit used for test actions
const TestGasLimit uint64 = 20000
// TestGasPriceInt64 represents the gas price for test actions in int64
const TestGasPriceInt64 = 0
// TestGasPrice represents the gas price for test actions in big int
var TestGasPrice = big.NewInt(unit.Qev)