contract: make all gas fees constant for testnet except for crypto functions
@@ -60,12 +60,14 @@ type ContractExecutor struct {
}
func (e *ContractExecutor) GetCost(key string) int64 {
- cost, ok := sys.GasTable[key]
- if !ok {
+ // FIXME(kenta): Remove for testnet.
return 1
- }
-
- return int64(cost)
+ //cost, ok := sys.GasTable[key]
+ //if !ok {
+ // return 1
+ //}
+ //
+ //return int64(cost)
}
func (e *ContractExecutor) ResolveFunc(module, field string) exec.FunctionImport {
