core: remove dead code, limit test code scope (#17006)
* core: move test util var/func to test file * core: remove useless func
This commit is contained in:
committed by
Péter Szilágyi
parent
3e57c33147
commit
9b1536b26a
@ -65,12 +65,6 @@ func memoryCall(stack *Stack) *big.Int {
|
||||
return math.BigMax(x, y)
|
||||
}
|
||||
|
||||
func memoryCallCode(stack *Stack) *big.Int {
|
||||
x := calcMemSize(stack.Back(5), stack.Back(6))
|
||||
y := calcMemSize(stack.Back(3), stack.Back(4))
|
||||
|
||||
return math.BigMax(x, y)
|
||||
}
|
||||
func memoryDelegateCall(stack *Stack) *big.Int {
|
||||
x := calcMemSize(stack.Back(4), stack.Back(5))
|
||||
y := calcMemSize(stack.Back(2), stack.Back(3))
|
||||
|
Reference in New Issue
Block a user