diff options
author | Jhih-Ming Huang <jm@byzantine-lab.io> | 2019-06-19 17:49:27 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:30 +0800 |
commit | c3c6574c9053a361bfe4f77bf4e1ae99d19f60dc (patch) | |
tree | 1a2b1db4b51bb084b5340d9875b968aaee87976c /core/vm/jump_table.go | |
parent | aa9c5b22941aadfefcde64d2570d6c6863bc2ebe (diff) | |
download | go-tangerine-c3c6574c9053a361bfe4f77bf4e1ae99d19f60dc.tar.gz go-tangerine-c3c6574c9053a361bfe4f77bf4e1ae99d19f60dc.tar.zst go-tangerine-c3c6574c9053a361bfe4f77bf4e1ae99d19f60dc.zip |
core: vm: remove opRand and use oracle contract to get random number
Diffstat (limited to 'core/vm/jump_table.go')
-rw-r--r-- | core/vm/jump_table.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index c1b57ea89..ba11b57f3 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -301,12 +301,6 @@ func newFrontierInstructionSet() [256]operation { memorySize: memorySha3, valid: true, }, - RAND: { - execute: opRand, - gasCost: constGasFunc(params.RandGas), - validateStack: makeStackFunc(0, 1), - valid: true, - }, ADDRESS: { execute: opAddress, gasCost: constGasFunc(GasQuickStep), |