File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ package prolog
2
2
3
3
import (
4
4
"github.com/ichiban/prolog/engine"
5
-
6
- "cosmossdk.io/store/types"
7
5
)
8
6
9
7
var (
82
80
// The module resource is the representation of the module with which the interaction is made.
83
81
// The module resource is denoted as a compound with the name of the module.
84
82
AtomResourceModule = engine .NewAtom ("resource_module" )
85
- // AtomResourceGas is the atom denoting the "gas" resource.
86
- AtomResourceGas = engine .NewAtom ("gas" )
87
83
)
88
84
89
85
// ResourceContext returns a term representing the context resource.
@@ -96,12 +92,6 @@ func ResourceModule(module string) engine.Term {
96
92
return AtomResourceModule .Apply (engine .NewAtom (module ))
97
93
}
98
94
99
- // ResourceGas returns a term representing the gas resource with the given descriptor, consumed and limit at the
100
- // given context.
101
- func ResourceGas (descriptor string , consumed types.Gas , limit types.Gas ) engine.Term {
102
- return AtomResourceGas .Apply (engine .NewAtom (descriptor ), engine .Integer (int64 (consumed )), engine .Integer (int64 (limit )))
103
- }
104
-
105
95
var (
106
96
AtomOperationInput = engine .NewAtom ("input" )
107
97
AtomOperationExecute = engine .NewAtom ("execute" )
You can’t perform that action at this time.
0 commit comments